Class UserProfileCompiler
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.UserProfileCompiler
-
@Component public class UserProfileCompiler extends Object
Compiles user interface profile for a particular user. The profile contains essential information needed to efficiently render user interface pages for specified user. This methods in this component may be quite costly to invoke. Therefore it should NOT be invoked for every request. The methods are supposed to be invoked once (or several times) during user's session. The result of this method should be cached in web session (in principal).- Author:
- Radovan semancik
-
-
Constructor Summary
Constructors Constructor Description UserProfileCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compileUserProfile(MidPointUserProfilePrincipal principal, PrismObject<SystemConfigurationType> systemConfiguration, AuthorizationTransformer authorizationTransformer, Task task, OperationResult result)
CompiledUserProfile
compileUserProfile(List<AdminGuiConfigurationType> adminGuiConfigurations, PrismObject<SystemConfigurationType> systemConfiguration, Task task, OperationResult result)
CompiledUserProfile
getGlobalCompiledUserProfile(Task task, OperationResult parentResult)
-
-
-
Method Detail
-
compileUserProfile
public void compileUserProfile(MidPointUserProfilePrincipal principal, PrismObject<SystemConfigurationType> systemConfiguration, AuthorizationTransformer authorizationTransformer, Task task, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException
-
compileUserProfile
public CompiledUserProfile compileUserProfile(@NotNull List<AdminGuiConfigurationType> adminGuiConfigurations, PrismObject<SystemConfigurationType> systemConfiguration, Task task, OperationResult result) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException
-
getGlobalCompiledUserProfile
public CompiledUserProfile getGlobalCompiledUserProfile(Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
-