U
- the profilepublic class DefaultCasAuthorizationGenerator<U extends CommonProfile> extends Object implements AuthorizationGenerator<U>
AuthorizationGenerator
implementation for a CasClient
which is able
to retrieve the isRemembered status from the CAS response and put it in the profile.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_REMEMBER_ME_ATTRIBUTE_NAME |
Constructor and Description |
---|
DefaultCasAuthorizationGenerator() |
DefaultCasAuthorizationGenerator(String rememberMeAttributeName) |
Modifier and Type | Method and Description |
---|---|
void |
generate(U profile)
Generate the authorization information from and for the user profile.
|
public static final String DEFAULT_REMEMBER_ME_ATTRIBUTE_NAME
public DefaultCasAuthorizationGenerator()
public DefaultCasAuthorizationGenerator(String rememberMeAttributeName)
public void generate(U profile)
AuthorizationGenerator
generate
in interface AuthorizationGenerator<U extends CommonProfile>
profile
- the user profile for which to generate the authorization information.Copyright © 2016. All rights reserved.