public class ParameterClient extends DirectClientV2<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 |
|---|---|
String |
getParameterName() |
protected void |
internalInit(WebContext context) |
boolean |
isSupportGetRequest() |
boolean |
isSupportPostRequest() |
void |
setParameterName(String parameterName) |
void |
setSupportGetRequest(boolean supportGetRequest) |
void |
setSupportPostRequest(boolean supportPostRequest) |
String |
toString() |
getAuthenticator, getCredentialsExtractor, getProfileCreator, retrieveCredentials, retrieveUserProfile, setAuthenticator, setCredentialsExtractor, setProfileCreatorgetCredentials, redirectaddAuthorizationGenerator, addAuthorizationGenerators, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setNameinit, reinitpublic ParameterClient()
public ParameterClient(String parameterName, Authenticator tokenAuthenticator)
public ParameterClient(String parameterName, Authenticator tokenAuthenticator, ProfileCreator profileCreator)
protected void internalInit(WebContext context)
internalInit in class InitializableWebObjectpublic 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 DirectClientV2<TokenCredentials,CommonProfile>Copyright © 2017. All Rights Reserved.