public class JEEAuthenticationService extends AbstractAuthenticationService implements AuthenticationService
Modifier and Type | Field and Description |
---|---|
protected static ADFLogger |
_adfSecLogger |
protected Environment |
adfEnv |
protected static java.lang.String |
PARAM_KEY_LOGOUT |
JAZN_CONFIG, JAZN_LOGIN_PROVIDER, LOGIN_CONFIG, LOGIN_CONFIG_PROVIDER
Constructor and Description |
---|
JEEAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
protected void |
ensureRedirectUrl(javax.servlet.http.HttpServletRequest request,
java.lang.String key,
java.lang.String value)
Deprecated.
since 12.1.3.0.0
|
protected javax.servlet.http.HttpServletRequest |
getRequest(java.util.Map<java.lang.String,?> props)
Deprecated.
since 12.1.3.0.0
|
protected javax.servlet.http.HttpServletResponse |
getResponse(java.util.Map<java.lang.String,?> props)
Deprecated.
since 12.1.3.0.0
|
protected javax.servlet.http.HttpServletRequest |
internalGetRequest(java.util.Map<java.lang.String,java.lang.Object> props)
Deprecated.
since 12.1.3.0.0
|
protected javax.servlet.http.HttpServletResponse |
internalGetResponse(java.util.Map<java.lang.String,java.lang.Object> props)
Deprecated.
since 12.1.3.0.0
|
void |
internalLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.util.Map<java.lang.String,?> props) |
void |
login(java.lang.String successUrl,
java.lang.String cancelUrl,
java.util.Map<java.lang.String,?> props)
This method can be used for both SSO and non-SSO login.
|
void |
logout()
JSE only.
|
void |
logout(java.lang.String targetUrl,
java.util.Map<java.lang.String,?> props)
This method is used Web applications, SSO or non-SSO, to
logout current user.
|
static void |
logRequestHeaders(javax.servlet.http.HttpServletRequest request)
Deprecated.
since 12.1.2.0.0
|
protected void |
responseComplete() |
getSubject, hasSsoSupport, login, login, setLoginConfig, setLoginConfigProvider
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubject, login, login, setLoginConfigProvider
protected static final ADFLogger _adfSecLogger
protected Environment adfEnv
protected static final java.lang.String PARAM_KEY_LOGOUT
public void login(java.lang.String successUrl, java.lang.String cancelUrl, java.util.Map<java.lang.String,?> props)
AuthenticationService
login
in interface AuthenticationService
login
in class AbstractAuthenticationService
successUrl
- representing the URL that the user agent must be sent to after successful authentication.cancelUrl
- representing the URL that the user agent must be taken to if the user chooses to cancel the
login from the login form.props
- used to convey any information relevant to the login process. It is mainly for extensibilitypublic void logout(java.lang.String targetUrl, java.util.Map<java.lang.String,?> props)
AuthenticationService
logout
in interface AuthenticationService
logout
in class AbstractAuthenticationService
targetUrl
- representing the URL that the user agent must be redirected to upon successful logout.
It is expected that any application context will be encoded in this URLprops
- used to convey any information relevant to the logout process. It is mainly for extensibilitypublic void logout()
AuthenticationService
logout
in interface AuthenticationService
logout
in class AbstractAuthenticationService
@Concealed public void internalLogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map<java.lang.String,?> props)
internalLogout
in class AbstractAuthenticationService
@Concealed protected javax.servlet.http.HttpServletResponse getResponse(java.util.Map<java.lang.String,?> props)
@Concealed protected javax.servlet.http.HttpServletRequest getRequest(java.util.Map<java.lang.String,?> props)
protected void responseComplete()
@Concealed public static final void logRequestHeaders(javax.servlet.http.HttpServletRequest request)
@Concealed protected javax.servlet.http.HttpServletResponse internalGetResponse(java.util.Map<java.lang.String,java.lang.Object> props)
@Concealed protected javax.servlet.http.HttpServletRequest internalGetRequest(java.util.Map<java.lang.String,java.lang.Object> props)
@Concealed protected void ensureRedirectUrl(javax.servlet.http.HttpServletRequest request, java.lang.String key, java.lang.String value)