public class DirectBasicAuthClient extends DirectHttpClient<UsernamePasswordCredentials>
This class is the client to authenticate users directly through HTTP basic auth.
It returns a HttpProfile.
HttpProfileextractorlogger| Constructor and Description |
|---|
DirectBasicAuthClient() |
DirectBasicAuthClient(UsernamePasswordAuthenticator usernamePasswordAuthenticator) |
DirectBasicAuthClient(UsernamePasswordAuthenticator usernamePasswordAuthenticator,
ProfileCreator profileCreator) |
| Modifier and Type | Method and Description |
|---|---|
ClientType |
getClientType()
Return the client type.
|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
protected DirectBasicAuthClient |
newClient()
Create a new instance of the client.
|
clone, getAuthenticator, getCredentials, getProfileCreator, retrieveUserProfile, setAuthenticator, setProfileCreator, toStringredirectaddAuthorizationGenerator, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setNameinit, reinitpublic DirectBasicAuthClient()
public DirectBasicAuthClient(UsernamePasswordAuthenticator usernamePasswordAuthenticator)
public DirectBasicAuthClient(UsernamePasswordAuthenticator usernamePasswordAuthenticator, ProfileCreator profileCreator)
protected void internalInit(WebContext context)
InitializableWebObjectinternalInit in class DirectHttpClient<UsernamePasswordCredentials>context - the web contextprotected DirectBasicAuthClient newClient()
BaseClientnewClient in class BaseClient<UsernamePasswordCredentials,CommonProfile>public ClientType getClientType()
BaseClientgetClientType in class BaseClient<UsernamePasswordCredentials,CommonProfile>Copyright © 2016. All rights reserved.