Interface MidPointPrincipalManager
-
- All Superinterfaces:
OwnerResolver
- All Known Subinterfaces:
UserProfileService
- All Known Implementing Classes:
UserProfileServiceImpl
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 UserProfileService 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<UserType> user)
MidPointPrincipal
getPrincipal(PrismObject<UserType> user, AuthorizationTransformer authorizationTransformer, OperationResult result)
MidPointPrincipal
getPrincipal(String username)
MidPointPrincipal
getPrincipalByOid(String oid)
void
updateUser(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
-
Methods inherited from interface com.evolveum.midpoint.security.api.OwnerResolver
resolveOwner
-
-
-
-
Method Detail
-
getPrincipal
MidPointPrincipal getPrincipal(String username) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
getPrincipalByOid
MidPointPrincipal getPrincipalByOid(String oid) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
getPrincipal
MidPointPrincipal getPrincipal(PrismObject<UserType> user) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
getPrincipal
MidPointPrincipal getPrincipal(PrismObject<UserType> user, AuthorizationTransformer authorizationTransformer, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
updateUser
void updateUser(MidPointPrincipal principal, Collection<? extends ItemDelta<?,?>> itemDeltas)
-
-