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(java.lang.String parameterName,
Authenticator tokenAuthenticator) |
ParameterClient(java.lang.String parameterName,
Authenticator tokenAuthenticator,
ProfileCreator profileCreator) |
Modifier and Type | Method and Description |
---|---|
protected void |
clientInit() |
java.lang.String |
getParameterName() |
boolean |
isSupportGetRequest() |
boolean |
isSupportPostRequest() |
void |
setParameterName(java.lang.String parameterName) |
void |
setSupportGetRequest(boolean supportGetRequest) |
void |
setSupportPostRequest(boolean supportPostRequest) |
java.lang.String |
toString() |
getCredentials, getLogoutAction, internalInit, redirect
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator
init
public ParameterClient()
public ParameterClient(java.lang.String parameterName, Authenticator tokenAuthenticator)
public ParameterClient(java.lang.String parameterName, Authenticator tokenAuthenticator, ProfileCreator profileCreator)
protected void clientInit()
clientInit
in class DirectClient<TokenCredentials,CommonProfile>
public java.lang.String getParameterName()
public void setParameterName(java.lang.String parameterName)
public boolean isSupportGetRequest()
public void setSupportGetRequest(boolean supportGetRequest)
public boolean isSupportPostRequest()
public void setSupportPostRequest(boolean supportPostRequest)
public java.lang.String toString()
toString
in class BaseClient<TokenCredentials,CommonProfile>
Copyright © 2018. All Rights Reserved.