public class ParameterClient extends DirectClient<TokenCredentials,CommonProfile>
This class is the client to authenticate users directly based on a provided parameter (in a GET and/or POST request).
logger| Constructor and Description |
|---|
ParameterClient() |
ParameterClient(String parameterName,
Authenticator tokenAuthenticator) |
ParameterClient(String parameterName,
Authenticator tokenAuthenticator,
ProfileCreator profileCreator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clientInit(WebContext context) |
String |
getParameterName() |
boolean |
isSupportGetRequest() |
boolean |
isSupportPostRequest() |
void |
setParameterName(String parameterName) |
void |
setSupportGetRequest(boolean supportGetRequest) |
void |
setSupportPostRequest(boolean supportPostRequest) |
String |
toString() |
getCredentials, getLogoutAction, internalInit, redirectaddAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setName, setProfileCreatorinit, reinitpublic ParameterClient()
public ParameterClient(String parameterName, Authenticator tokenAuthenticator)
public ParameterClient(String parameterName, Authenticator tokenAuthenticator, ProfileCreator profileCreator)
protected void clientInit(WebContext context)
clientInit in class DirectClient<TokenCredentials,CommonProfile>public String getParameterName()
public void setParameterName(String parameterName)
public boolean isSupportGetRequest()
public void setSupportGetRequest(boolean supportGetRequest)
public boolean isSupportPostRequest()
public void setSupportPostRequest(boolean supportPostRequest)
public String toString()
toString in class BaseClient<TokenCredentials,CommonProfile>Copyright © 2017. All Rights Reserved.