Interface MidPointPrincipalManager
- All Superinterfaces:
OwnerResolver
- All Known Subinterfaces:
GuiProfiledPrincipalManager
- All Known Implementing Classes:
GuiProfiledPrincipalManagerImpl
Service that exposes security functions for internal use inside midPoint and for other
spring-security-enabled purposes.
This is using simple
MidPointPrincipal
that is NOT GUI-enriched. Therefore it is NOT
suitable for use in GUI. See `GuiProfiledPrincipalManager` for that purpose.- Author:
- lazyman, Igor Farinic, Radovan Semancik
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetPrincipal
(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, ProfileCompilerOptions options, OperationResult result) getPrincipal
(PrismObject<? extends FocusType> focus, ProfileCompilerOptions options, OperationResult result) default MidPointPrincipal
getPrincipal
(String username, Class<? extends FocusType> clazz) getPrincipal
(String username, Class<? extends FocusType> clazz, ProfileCompilerOptions options) getPrincipalByOid
(String oid, Class<? extends FocusType> clazz, ProfileCompilerOptions options) void
updateFocus
(MidPointPrincipal principal, Collection<? extends ItemDelta<?, ?>> itemDeltas) Methods inherited from interface com.evolveum.midpoint.schema.selector.eval.OwnerResolver
resolveOwner
-
Field Details
-
DOT_CLASS
-
OPERATION_GET_PRINCIPAL
-
OPERATION_UPDATE_USER
-
-
Method Details
-
getPrincipal
default MidPointPrincipal getPrincipal(String username, Class<? extends FocusType> clazz) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException -
getPrincipal
MidPointPrincipal getPrincipal(String username, Class<? extends FocusType> clazz, ProfileCompilerOptions options) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException -
getPrincipalByOid
MidPointPrincipal getPrincipalByOid(String oid, Class<? extends FocusType> clazz, ProfileCompilerOptions options) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException -
getPrincipal
MidPointPrincipal getPrincipal(PrismObject<? extends FocusType> focus, ProfileCompilerOptions options, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException -
getPrincipal
MidPointPrincipal getPrincipal(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, ProfileCompilerOptions options, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException -
updateFocus
-