public class OidcProfileCreator<U extends OidcProfile> extends ProfileDefinitionAware<U> implements ProfileCreator<OidcCredentials,U>
Modifier and Type | Field and Description |
---|---|
protected OidcConfiguration |
configuration |
protected TokenValidator |
tokenValidator |
Constructor and Description |
---|
OidcProfileCreator(OidcConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
U |
create(OidcCredentials credentials,
WebContext context)
Create a profile from a credentials.
|
protected void |
internalInit()
Internal initialization of the object.
|
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
init
protected OidcConfiguration configuration
protected TokenValidator tokenValidator
public OidcProfileCreator(OidcConfiguration configuration)
protected void internalInit()
InitializableObject
internalInit
in class InitializableObject
public U create(OidcCredentials credentials, WebContext context)
ProfileCreator
create
in interface ProfileCreator<OidcCredentials,U extends OidcProfile>
credentials
- the given credentialscontext
- the web contextCopyright © 2019. All rights reserved.