Interface MidPointPrincipalManager
-
- All Superinterfaces:
OwnerResolver
- All Known Subinterfaces:
GuiProfiledPrincipalManager
- All Known Implementing Classes:
GuiProfiledPrincipalManagerImpl
public interface MidPointPrincipalManager extends OwnerResolver
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 Modifier and Type Field Description static String
DOT_CLASS
static String
OPERATION_GET_PRINCIPAL
static String
OPERATION_UPDATE_USER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MidPointPrincipal
getPrincipal(PrismObject<? extends FocusType> focus)
MidPointPrincipal
getPrincipal(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, OperationResult result)
MidPointPrincipal
getPrincipal(String username, Class<? extends FocusType> clazz)
MidPointPrincipal
getPrincipalByOid(String oid, Class<? extends FocusType> clazz)
void
updateFocus(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
-
Methods inherited from interface com.evolveum.midpoint.security.api.OwnerResolver
resolveOwner
-
-
-
-
Method Detail
-
getPrincipal
MidPointPrincipal getPrincipal(String username, Class<? extends FocusType> clazz) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
getPrincipalByOid
MidPointPrincipal getPrincipalByOid(String oid, Class<? extends FocusType> clazz) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
getPrincipal
MidPointPrincipal getPrincipal(PrismObject<? extends FocusType> focus) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
getPrincipal
MidPointPrincipal getPrincipal(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
updateFocus
void updateFocus(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
-
-