public class AuthenticatorProfileCreator<C extends Credentials,P extends CommonProfile> extends AbstractProfileCreator<C,P>
Credentials.
Using the AbstractProfileCreator.setProfileFactory(java.util.function.Supplier) method, a new type of profile can be returned.| Modifier and Type | Field and Description |
|---|---|
static AuthenticatorProfileCreator |
INSTANCE |
| Constructor and Description |
|---|
AuthenticatorProfileCreator() |
| Modifier and Type | Method and Description |
|---|---|
P |
create(C credentials,
WebContext context)
Create a profile from a credentials.
|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
getProfileFactory, setProfileFactoryinit, reinitpublic static final AuthenticatorProfileCreator INSTANCE
protected void internalInit(WebContext context)
InitializableWebObjectinternalInit in class InitializableWebObjectcontext - the web contextpublic P create(C credentials, WebContext context) throws HttpAction
ProfileCreatorcredentials - the given credentialscontext - the web contextHttpAction - whether an additional HTTP action is requiredCopyright © 2017. All Rights Reserved.