Uses of Class
com.sun.identity.delegation.DelegationException
-
Packages that use DelegationException Package Description com.sun.identity.delegation Provides classes for delegation service.com.sun.identity.delegation.interfaces This package provides interface for delegation plugins that would register with delegation framework to manage and evaluate delegation access control privileges and permissions.com.sun.identity.delegation.plugins org.forgerock.openam.rest.router This package contains classes for the routing of REST requests for OpenAM.org.forgerock.openam.session -
-
Uses of DelegationException in com.sun.identity.delegation
Methods in com.sun.identity.delegation that throw DelegationException Modifier and Type Method Description voidDelegationManager. addPrivilege(DelegationPrivilege privilege)Adds a delegation privilege to a specific realm.static voidDelegationUtils. copyRealmPrivilegesFromParent(SSOToken token, OrganizationConfigManager parent, OrganizationConfigManager child)Creates default privileges for a newly created realm This method should be called in realm mode only.static voidDelegationUtils. createRealmPrivileges(SSOToken token, String realmName)Creates default privileges for a newly created realm This method should be called in legacy mode only.static voidDelegationUtils. deleteRealmPrivileges(SSOToken token, String realmName)Deletes all the delegation privileges of a specific realmSetDelegationManager. getConfiguredPrivilegeNames()Returns all the names of the delegation privileges that are configured with the realm.SetDelegationManager. getManageableOrganizationNames(Set organizationNames)Returns a set of realm names, based on the input parameterorganizationNames, in which the "user" has some delegation permissions.SetDelegationEvaluatorImpl. getPermissions(SSOToken token, String orgName)Returns a set of permissions that a user has.SetDelegationManager. getPrivileges()Returns all the delegation privileges associated with the realm.SetDelegationManager. getPrivileges(String universalId)Returns all the delegation privileges associated with the realm and applicable to a subject.SetDelegationManager. getSubjects(String pattern)Returns a set of selected subjects matching the pattern in the given realm.booleanDelegationEvaluator. isAllowed(SSOToken token, DelegationPermission permission, Map<String,Set<String>> envParameters)Returns a boolean value indicating if a user has the specified permission.booleanDelegationEvaluator. isAllowed(SSOToken token, DelegationPermission permission, Map<String,Set<String>> envParameters, boolean subTreeMode)Returns a boolean value indicating if a user has the specified permission.booleanDelegationEvaluatorImpl. isAllowed(SSOToken token, DelegationPermission permission, Map envParameters)Returns a boolean value indicating if a user has the specified permission.booleanDelegationEvaluatorImpl. isAllowed(SSOToken token, DelegationPermission permission, Map envParameters, boolean subTreeMode)DelegationPermissionDelegationPermissionFactory. newInstance(String orgName, String serviceName, String version, String configType, String subConfigName, Set<String> actions, Map<String,String> extensions)Creates a newDelegationPermissioninstance.voidDelegationManager. removePrivilege(String privilegeName)Removes a delegation privilege to the realm.voidDelegationPermission. setActions(Set actions)Sets the action names in the permissionvoidDelegationPermission. setConfigType(String configType)Sets the config type in the permissionvoidDelegationPermission. setExtensions(Map extensions)Sets the extensions in the permissionvoidDelegationPrivilege. setName(String name)Sets the privilege name in the privilegevoidDelegationPermission. setOrganizationName(String name)Sets the realm name in the permissionvoidDelegationPrivilege. setPermissions(Set permissions)Sets theDelegationPermissions in the privilegevoidDelegationPermission. setServiceName(String name)Sets the service name in the permissionvoidDelegationPermission. setSubConfigName(String name)Sets the subconfig name in the permissionvoidDelegationPrivilege. setSubjects(Set names)Sets the subject names in the privilegevoidDelegationPermission. setVersion(String version)Sets the service version in the permissionConstructors in com.sun.identity.delegation that throw DelegationException Constructor Description DelegationManager(SSOToken token, String orgName)Constructor ofDelegationManagerfor the specified realm.DelegationPermission(String orgName, String serviceName, String version, String configType, String subConfigName, Set actions, Map extensions)Constructor forDelegationPermission.DelegationPermission(String orgName, String serviceName, String version, String configType, String subConfigName, Set actions, Map extensions, org.forgerock.util.Function<String,String,org.forgerock.util.promise.NeverThrowsException> orgNameToDNFunc)Constructor forDelegationPermission.DelegationPrivilege(String name, Set subjects, String orgName)Constructor forDelegationPrivilege.DelegationPrivilege(String name, Set permissions, Set subjects)Constructor forDelegationPrivilege. -
Uses of DelegationException in com.sun.identity.delegation.interfaces
Methods in com.sun.identity.delegation.interfaces that throw DelegationException Modifier and Type Method Description voidDelegationInterface. addPrivilege(SSOToken token, String orgName, DelegationPrivilege privilege)Adds a delegation privilege to a specific realm.SetDelegationInterface. getManageableOrganizationNames(SSOToken token, Set organizationNames)Returns a set of realm names, based on the input parameterorganizationNames, in which the "user" has some delegation permissions.SetDelegationInterface. getPermissions(SSOToken token, String orgName)Returns a set of permissions that a user has.SetDelegationInterface. getPrivileges(SSOToken token, String orgName)Returns all the delegation privileges associated with a realm.SetDelegationInterface. getSubjects(SSOToken token, String orgName, Set types, String pattern)Returns a set of selected subjects of specified types matching the pattern in the given realm.voidDelegationInterface. initialize(SSOToken appToken, Map configParams)Initialize (or configure) theDelegationInterfaceobject.booleanDelegationInterface. isAllowed(SSOToken token, DelegationPermission permission, Map envParams)Returns a boolean value indicating if a user has the the specified permission.voidDelegationInterface. removePrivilege(SSOToken token, String orgName, String privilegeName)Removes a delegation privilege from a specific realm. -
Uses of DelegationException in com.sun.identity.delegation.plugins
Methods in com.sun.identity.delegation.plugins that throw DelegationException Modifier and Type Method Description voidDelegationPolicyImpl. addPrivilege(SSOToken token, String orgName, DelegationPrivilege privilege)Adds a delegation privilege to a specific realm.SetDelegationPolicyImpl. getManageableOrganizationNames(SSOToken token, Set organizationNames)Returns a set of realm names, based on the input parameterorganizationNames, in which the "user" has some delegation permissions.SetDelegationPolicyImpl. getPermissions(SSOToken token, String orgName)Returns a set of permissions that a user has.SetDelegationPolicyImpl. getPrivileges(SSOToken token, String orgName)Returns all the delegation privileges associated with a realm.SetDelegationPolicyImpl. getSubjects(SSOToken token, String orgName, Set types, String pattern)Returns a set of selected subjects of specified types matching the pattern in the given realm.voidDelegationPolicyImpl. initialize(SSOToken token, Map configParams)Initialize (or configure) theDelegationInterfaceobject.booleanDelegationPolicyImpl. isAllowed(SSOToken token, DelegationPermission permission, Map envParams)Returns a boolean value; if a user has the specified permission returns true, false otherwise.voidDelegationPolicyImpl. removePrivilege(SSOToken token, String orgName, String privilegeName)Removes a delegation privilege from a specific realm. -
Uses of DelegationException in org.forgerock.openam.rest.router
Methods in org.forgerock.openam.rest.router that throw DelegationException Modifier and Type Method Description booleanDelegationEvaluatorProxy. isAllowed(SSOToken token, DelegationPermission permission, Map<String,Set<String>> envParameters)booleanDelegationEvaluatorProxy. isAllowed(SSOToken token, DelegationPermission permission, Map<String,Set<String>> envParameters, boolean subTreeMode) -
Uses of DelegationException in org.forgerock.openam.session
Methods in org.forgerock.openam.session that throw DelegationException Modifier and Type Method Description booleanSessionPropertyWhitelist. isPropertyListed(SSOToken caller, String realm, Collection<String> propertyNames)Whether or not the property is listed in the whitelist.booleanSessionPropertyWhitelist. userHasReadAdminPrivs(SSOToken token, String realm)Returns true if the user is an administrator, or if it has delegated permissions to perform this request.
-