Interface AuthorizationGenerator
- All Known Implementing Classes:
DefaultRolesPermissionsAuthorizationGenerator
,FromAttributesAuthorizationGenerator
,LoadLinkedUserAuthorizationGenerator
,SpringSecurityPropertiesAuthorizationGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Generate the authorization roles and permissions for this user profile.
- Since:
- 1.5.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(WebContext context, SessionStore sessionStore, UserProfile profile) Generate the authorization information from and for the user profile.
-
Method Details
-
generate
Generate the authorization information from and for the user profile.- Parameters:
context
- the web contextsessionStore
- the session storeprofile
- the user profile for which to generate the authorization information.- Returns:
- the updated profile or a new one (optional)
-