Uses of Class
com.evolveum.midpoint.security.enforcer.api.AuthorizationParameters
-
Packages that use AuthorizationParameters Package Description com.evolveum.midpoint.security.enforcer.api -
-
Uses of AuthorizationParameters in com.evolveum.midpoint.security.enforcer.api
Fields in com.evolveum.midpoint.security.enforcer.api declared as AuthorizationParameters Modifier and Type Field Description static AuthorizationParameters<ObjectType,ObjectType>
AuthorizationParameters. EMPTY
Methods in com.evolveum.midpoint.security.enforcer.api that return AuthorizationParameters Modifier and Type Method Description AuthorizationParameters<O,T>
AuthorizationParameters.Builder. build()
static <O extends ObjectType>
AuthorizationParameters<O,ObjectType>AuthorizationParameters.Builder. buildObject(PrismObject<O> object)
static <O extends ObjectType>
AuthorizationParameters<O,ObjectType>AuthorizationParameters.Builder. buildObject(PrismObject<O> object, boolean fullInformationAvailable)
static <O extends ObjectType>
AuthorizationParameters<O,ObjectType>AuthorizationParameters.Builder. buildObjectAdd(PrismObject<O> object)
Assumes full information.static <O extends ObjectType>
AuthorizationParameters<O,ObjectType>AuthorizationParameters.Builder. buildObjectDelete(PrismObject<O> object)
Assumes full information.static <O extends ObjectType>
AuthorizationParameters<O,ObjectType>AuthorizationParameters.Builder. buildObjectDelta(PrismObject<O> object, ObjectDelta<O> delta, boolean fullInformationAvailable)
Methods in com.evolveum.midpoint.security.enforcer.api with parameters of type AuthorizationParameters Modifier and Type Method Description <O extends ObjectType,T extends ObjectType>
voidSecurityEnforcer. authorize(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OwnerResolver ownerResolver, Task task, OperationResult result)
Evaluates authorization: simply returns if the currently logged it user is authorized for a specified action.<O extends ObjectType,T extends ObjectType>
AccessDecisionSecurityEnforcer. decideAccess(MidPointPrincipal principal, Collection<String> requiredActions, AuthorizationParameters<O,T> params, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.<O extends ObjectType,T extends ObjectType>
voidSecurityEnforcer. failAuthorization(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OperationResult result)
Produces authorization error with proper message and logs it using proper logger.<O extends ObjectType,T extends ObjectType>
booleanSecurityEnforcer. isAuthorized(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OwnerResolver ownerResolver, Task task, OperationResult result)
Returns true if the currently logged-in user is authorized for specified action, returns false otherwise.
-