Uses of Class
com.evolveum.midpoint.security.api.MidPointPrincipal
-
-
Uses of MidPointPrincipal in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api that return MidPointPrincipal Modifier and Type Method Description MidPointPrincipal
ModelInteractionService. assumePowerOfAttorney(PrismObject<UserType> donor, Task task, OperationResult result)
MidPointPrincipal
ModelInteractionService. dropPowerOfAttorney(Task task, OperationResult result)
-
Uses of MidPointPrincipal in com.evolveum.midpoint.model.api.authentication
Subclasses of MidPointPrincipal in com.evolveum.midpoint.model.api.authentication Modifier and Type Class Description class
MidPointUserProfilePrincipal
Principal that extends simple MidPointPrincipal with user interface concepts (user profile).Methods in com.evolveum.midpoint.model.api.authentication with parameters of type MidPointPrincipal Modifier and Type Method Description void
UserProfileService. updateUser(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
-
Uses of MidPointPrincipal in com.evolveum.midpoint.model.api.expr
Methods in com.evolveum.midpoint.model.api.expr that return MidPointPrincipal Modifier and Type Method Description MidPointPrincipal
MidpointFunctions. getPrincipal()
Returns principal representing the user whose identity is used to execute the expression. -
Uses of MidPointPrincipal in com.evolveum.midpoint.model.impl.controller
Methods in com.evolveum.midpoint.model.impl.controller that return MidPointPrincipal Modifier and Type Method Description MidPointPrincipal
ModelInteractionServiceImpl. assumePowerOfAttorney(PrismObject<UserType> donor, Task task, OperationResult result)
MidPointPrincipal
ModelInteractionServiceImpl. dropPowerOfAttorney(Task task, OperationResult result)
-
Uses of MidPointPrincipal in com.evolveum.midpoint.model.impl.expr
Methods in com.evolveum.midpoint.model.impl.expr that return MidPointPrincipal Modifier and Type Method Description MidPointPrincipal
MidpointFunctionsImpl. getPrincipal()
-
Uses of MidPointPrincipal in com.evolveum.midpoint.model.impl.security
Methods in com.evolveum.midpoint.model.impl.security with parameters of type MidPointPrincipal Modifier and Type Method Description protected boolean
AuthenticationEvaluatorImpl. decryptAndMatch(ConnectionEnvironment connEnv, MidPointPrincipal principal, ProtectedStringType protectedString, String enteredPassword)
protected String
AuthenticationEvaluatorImpl. getDecryptedValue(ConnectionEnvironment connEnv, MidPointPrincipal principal, ProtectedStringType protectedString)
protected abstract boolean
AuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, MidPointPrincipal principal, C passwordType, T authCtx)
protected boolean
NonceAuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
protected boolean
PasswordAuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, MidPointPrincipal principal, PasswordType passwordType, PasswordAuthenticationContext authCtx)
protected boolean
SecurityQuestionAuthneticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, MidPointPrincipal principal, SecurityQuestionsCredentialsType passwordType, SecurityQuestionsAuthenticationContext authCtx)
protected void
AuthenticationEvaluatorImpl. recordAuthenticationFailure(MidPointPrincipal principal, ConnectionEnvironment connEnv, String reason)
void
AuthenticationEvaluatorImpl. recordPasswordAuthenticationFailure(MidPointPrincipal principal, ConnectionEnvironment connEnv, C passwordType, CredentialPolicyType credentialsPolicy, String reason)
void
AuthenticationEvaluatorImpl. recordPasswordAuthenticationSuccess(MidPointPrincipal principal, ConnectionEnvironment connEnv, C passwordType)
void
UserProfileServiceImpl. updateUser(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
protected abstract void
AuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, MidPointPrincipal principal, C credential)
protected void
NonceAuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, MidPointPrincipal principal, NonceType credential)
protected void
PasswordAuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, MidPointPrincipal principal, PasswordType credential)
protected void
SecurityQuestionAuthneticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, MidPointPrincipal principal, SecurityQuestionsCredentialsType credential)
-
Uses of MidPointPrincipal in com.evolveum.midpoint.security.api
Methods in com.evolveum.midpoint.security.api that return MidPointPrincipal Modifier and Type Method Description MidPointPrincipal
MidPointPrincipal. clone()
Semi-shallow clone.MidPointPrincipal
MidPointPrincipal. getPreviousPrincipal()
Principal that was used before this principal was active.MidPointPrincipal
MidPointPrincipalManager. getPrincipal(PrismObject<UserType> user)
MidPointPrincipal
MidPointPrincipalManager. getPrincipal(PrismObject<UserType> user, AuthorizationTransformer authorizationTransformer, OperationResult result)
MidPointPrincipal
MidPointPrincipalManager. getPrincipal(String username)
MidPointPrincipal
SecurityContextManager. getPrincipal()
Returns principal representing the currently logged-in user.static MidPointPrincipal
SecurityUtil. getPrincipal()
Returns principal representing currently logged-in user.MidPointPrincipal
MidPointPrincipalManager. getPrincipalByOid(String oid)
Methods in com.evolveum.midpoint.security.api with parameters of type MidPointPrincipal Modifier and Type Method Description protected void
MidPointPrincipal. copyValues(MidPointPrincipal clone)
static void
SecurityUtil. logSecurityDeny(MidPointPrincipal midPointPrincipal, Object object, String message)
void
MidPointPrincipal. setPreviousPrincipal(MidPointPrincipal previousPrincipal)
void
SecurityContextManager. setupPreAuthenticatedSecurityContext(MidPointPrincipal principal)
void
MidPointPrincipalManager. updateUser(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
-
Uses of MidPointPrincipal in com.evolveum.midpoint.security.enforcer.api
Methods in com.evolveum.midpoint.security.enforcer.api that return MidPointPrincipal Modifier and Type Method Description MidPointPrincipal
SecurityEnforcer. createDonorPrincipal(MidPointPrincipal attorneyPrincipal, String attorneyAuthorizationAction, PrismObject<UserType> donor, Task task, OperationResult result)
MidPointPrincipal
SecurityEnforcer. getMidPointPrincipal()
Methods in com.evolveum.midpoint.security.enforcer.api with parameters of type MidPointPrincipal Modifier and Type Method Description <T extends ObjectType,O extends ObjectType,F>
FSecurityEnforcer. computeSecurityFilter(MidPointPrincipal principal, String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, ObjectFilter origFilter, String limitAuthorizationAction, List<OrderConstraintsType> paramOrderConstraints, FilterGizmo<F> gizmo, Task task, OperationResult result)
MidPointPrincipal
SecurityEnforcer. createDonorPrincipal(MidPointPrincipal attorneyPrincipal, String attorneyAuthorizationAction, PrismObject<UserType> donor, Task task, OperationResult result)
AccessDecision
SecurityEnforcer. decideAccess(MidPointPrincipal principal, List<String> requiredActions, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsSecurityEnforcer. getAllowedRequestAssignmentItems(MidPointPrincipal midPointPrincipal, String operationUrl, PrismObject<O> object, PrismObject<R> target, OwnerResolver ownerResolver, Task task, OperationResult result)
Returns decisions for individual items for "assign" authorization. -
Uses of MidPointPrincipal in com.evolveum.midpoint.wf.util
Methods in com.evolveum.midpoint.wf.util with parameters of type MidPointPrincipal Modifier and Type Method Description static S_AtomicFilterExit
QueryUtils. filterForAssignees(S_FilterEntryOrEmpty q, MidPointPrincipal principal, QName limitationItemName, RelationRegistry relationRegistry)
Augments work item query by including filter to see only work items assigned to the current user or any of his delegators, providing that the limitation(s) allow it.static S_AtomicFilterExit
QueryUtils. filterForNotClosedStateAndAssignees(S_FilterEntryOrEmpty q, MidPointPrincipal principal, QName limitationItemName, RelationRegistry relationRegistry)
-