public class DirectBearerAuthClient extends DirectClient<TokenCredentials,CommonProfile>
This class is the client to authenticate users directly through RFC 6750 HTTP bearer authentication.
logger| Constructor and Description |
|---|
DirectBearerAuthClient() |
DirectBearerAuthClient(Authenticator tokenAuthenticator) |
DirectBearerAuthClient(Authenticator tokenAuthenticator,
ProfileCreator profileCreator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientInit() |
java.lang.String |
getRealmName() |
protected TokenCredentials |
retrieveCredentials(WebContext context) |
void |
setRealmName(java.lang.String realmName) |
java.lang.String |
toString() |
getCredentials, getLogoutAction, internalInit, redirectaddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreatorinitpublic DirectBearerAuthClient()
public DirectBearerAuthClient(Authenticator tokenAuthenticator)
public DirectBearerAuthClient(Authenticator tokenAuthenticator, ProfileCreator profileCreator)
protected void clientInit()
clientInit in class DirectClient<TokenCredentials,CommonProfile>protected TokenCredentials retrieveCredentials(WebContext context)
retrieveCredentials in class BaseClient<TokenCredentials,CommonProfile>public java.lang.String getRealmName()
public void setRealmName(java.lang.String realmName)
public java.lang.String toString()
toString in class BaseClient<TokenCredentials,CommonProfile>Copyright © 2019. All Rights Reserved.