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<? extends FocusType> 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
GuiProfiledPrincipal
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
GuiProfiledPrincipalManager. updateFocus(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<? extends FocusType> 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, @NotNull MidPointPrincipal principal, ProtectedStringType protectedString, String enteredPassword)
protected String
AuthenticationEvaluatorImpl. getDecryptedValue(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, ProtectedStringType protectedString)
protected abstract boolean
AuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, C passwordType, T authCtx)
protected boolean
NonceAuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
protected boolean
PasswordAuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, PasswordType passwordType, PasswordAuthenticationContext authCtx)
protected boolean
SecurityQuestionAuthenticationEvaluatorImpl. passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, SecurityQuestionsCredentialsType passwordType, SecurityQuestionsAuthenticationContext authCtx)
void
AuthenticationEvaluatorImpl. recordAuthenticationBehavior(String username, MidPointPrincipal principal, @NotNull ConnectionEnvironment connEnv, String reason, Class<? extends FocusType> focusType, boolean isSuccess)
protected void
AuthenticationEvaluatorImpl. recordAuthenticationFailure(@NotNull MidPointPrincipal principal, ConnectionEnvironment connEnv, String reason)
protected void
AuthenticationEvaluatorImpl. recordPasswordAuthenticationFailure(@NotNull MidPointPrincipal principal, @NotNull ConnectionEnvironment connEnv, @NotNull AuthenticationBehavioralDataType passwordType, CredentialPolicyType credentialsPolicy, String reason, boolean audit)
protected void
AuthenticationEvaluatorImpl. recordPasswordAuthenticationSuccess(@NotNull MidPointPrincipal principal, @NotNull ConnectionEnvironment connEnv, @NotNull AuthenticationBehavioralDataType passwordType, boolean audit)
void
GuiProfiledPrincipalManagerImpl. updateFocus(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
protected abstract void
AuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, C credential)
protected void
NonceAuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, NonceType credential)
protected void
PasswordAuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, PasswordType credential)
protected void
SecurityQuestionAuthenticationEvaluatorImpl. validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull 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<? extends FocusType> focus)
MidPointPrincipal
MidPointPrincipalManager. getPrincipal(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, OperationResult result)
MidPointPrincipal
MidPointPrincipalManager. getPrincipal(String username, Class<? extends FocusType> clazz)
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, Class<? extends FocusType> clazz)
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. updateFocus(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 <F extends FocusType>
MidPointPrincipalSecurityEnforcer. createDonorPrincipal(MidPointPrincipal attorneyPrincipal, String attorneyAuthorizationAction, PrismObject<F> 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)
<F extends FocusType>
MidPointPrincipalSecurityEnforcer. createDonorPrincipal(MidPointPrincipal attorneyPrincipal, String attorneyAuthorizationAction, PrismObject<F> donor, Task task, OperationResult result)
<O extends ObjectType,T extends ObjectType>
AccessDecisionSecurityEnforcer. decideAccess(MidPointPrincipal principal, List<String> requiredActions, AuthorizationParameters<O,T> params, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.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)
-