public abstract class ApplicationPrivilegeBase extends AuthenticatedCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_ACTION_ALL |
static String |
PARAM_ACTION_DELEGATE |
static String |
PARAM_ACTION_MODIFY |
static String |
PARAM_ACTION_READ |
static String |
PARAM_ACTIONS |
static String |
PARAM_ADD |
static String |
PARAM_APPL_NAME |
static String |
PARAM_DESCRIPTION |
static String |
PARAM_NAME |
static String |
PARAM_RESOURCES |
static String |
PARAM_SUBJECT_GROUP |
static String |
PARAM_SUBJECT_TYPE |
static String |
PARAM_SUBJECT_USER |
static String |
PARAM_SUBJECTS |
ssoToken| Constructor and Description |
|---|
ApplicationPrivilegeBase(ResourceTypeService resourceTypeService,
ApplicationServiceFactory applicationServiceFactory)
Create an instance of
ApplicationPrivilegeBase. |
| Modifier and Type | Method and Description |
|---|---|
protected ApplicationPrivilege.PossibleAction |
getActions() |
protected Map<String,Set<String>> |
getApplicationResourcesMap(RequestContext rc,
String realm) |
protected Map<String,Set<String>> |
getApplicationToResources(ApplicationPrivilege appPrivilege) |
protected String |
getDisplayAction(ApplicationPrivilege appPrivilege) |
protected Map<String,Set<String>> |
getSubjects(ApplicationPrivilege appPrivilege) |
protected Set<SubjectImplementation> |
getSubjects(RequestContext rc) |
void |
handleRequest(RequestContext rc)
Services a Commandline Request.
|
protected Map<String,Set<String>> |
mergeMap(Map<String,Set<String>> map1,
Map<String,Set<String>> map2) |
protected void |
removeFromMap(Map<String,Set<String>> map1,
Map<String,Set<String>> map2) |
getAdminID, getAdminPassword, getAdminSSOToken, ldapLogin, processFileAttributes, writeLogdebugError, debugError, debugMessage, debugWarning, getCommandManager, getOutputWriter, getResourceString, getStringOptionValue, getStringOptionValue, isOptionSet, isVerbose, tokenizepublic static final String PARAM_NAME
public static final String PARAM_DESCRIPTION
public static final String PARAM_ADD
public static final String PARAM_ACTIONS
public static final String PARAM_SUBJECT_TYPE
public static final String PARAM_SUBJECTS
public static final String PARAM_APPL_NAME
public static final String PARAM_RESOURCES
public static final String PARAM_ACTION_READ
public static final String PARAM_ACTION_MODIFY
public static final String PARAM_ACTION_DELEGATE
public static final String PARAM_ACTION_ALL
public static final String PARAM_SUBJECT_USER
public static final String PARAM_SUBJECT_GROUP
public ApplicationPrivilegeBase(ResourceTypeService resourceTypeService, ApplicationServiceFactory applicationServiceFactory)
ApplicationPrivilegeBase.resourceTypeService - Instance of ResourceTypeService.applicationServiceFactory - Instance of ApplicationServiceFactory.public void handleRequest(RequestContext rc) throws CLIException
handleRequest in interface CLICommandhandleRequest in class AuthenticatedCommandrc - Request Context.CLIException - if the request cannot serviced.protected ApplicationPrivilege.PossibleAction getActions() throws CLIException
CLIExceptionprotected Set<SubjectImplementation> getSubjects(RequestContext rc) throws CLIException
CLIExceptionprotected Map<String,Set<String>> getApplicationResourcesMap(RequestContext rc, String realm) throws CLIException, EntitlementException
CLIExceptionEntitlementExceptionprotected String getDisplayAction(ApplicationPrivilege appPrivilege)
protected Map<String,Set<String>> getApplicationToResources(ApplicationPrivilege appPrivilege)
protected Map<String,Set<String>> getSubjects(ApplicationPrivilege appPrivilege)
protected void removeFromMap(Map<String,Set<String>> map1, Map<String,Set<String>> map2)
Copyright © 2010–2024 Open Identity Platform Community. All rights reserved.