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)
Internal initialization of the object.
|
boolean |
isSupportGetRequest() |
boolean |
isSupportPostRequest() |
void |
setParameterName(String parameterName) |
void |
setSupportGetRequest(boolean supportGetRequest) |
void |
setSupportPostRequest(boolean supportPostRequest) |
String |
toString() |
assertAuthenticatorTypes, getAuthenticator, getCredentials, getCredentialsExtractor, getProfileCreator, retrieveUserProfile, setAuthenticator, setCredentialsExtractor, setProfileCreatorredirectaddAuthorizationGenerator, 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)
InitializableWebObjectinternalInit in class DirectClientV2<TokenCredentials,CommonProfile>context - the web contextpublic 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 © 2016. All rights reserved.