public class LoadLinkedUserAuthorizationGenerator<U extends CommonProfile> extends InitializableObject implements AuthorizationGenerator<U>
Constructor and Description |
---|
LoadLinkedUserAuthorizationGenerator() |
LoadLinkedUserAuthorizationGenerator(ProfileService<U> profileService) |
Modifier and Type | Method and Description |
---|---|
U |
generate(WebContext context,
U profile)
Generate the authorization information from and for the user profile.
|
ProfileService<U> |
getProfileService() |
protected void |
internalInit()
Internal initialization of the object.
|
boolean |
isFailIfLinkedUserNotFound() |
void |
setFailIfLinkedUserNotFound(boolean failIfLinkedUserNotFound) |
void |
setProfileService(ProfileService<U> profileService) |
String |
toString() |
init, reinit
public LoadLinkedUserAuthorizationGenerator()
public LoadLinkedUserAuthorizationGenerator(ProfileService<U> profileService)
protected void internalInit()
InitializableObject
internalInit
in class InitializableObject
public U generate(WebContext context, U profile)
AuthorizationGenerator
generate
in interface AuthorizationGenerator<U extends CommonProfile>
context
- the web contextprofile
- the user profile for which to generate the authorization information.public ProfileService<U> getProfileService()
public void setProfileService(ProfileService<U> profileService)
public boolean isFailIfLinkedUserNotFound()
public void setFailIfLinkedUserNotFound(boolean failIfLinkedUserNotFound)
Copyright © 2017. All rights reserved.