public class JpsAuthenticationService extends JEEAuthenticationService
_adfSecLogger, adfEnv, PARAM_KEY_LOGOUT
JAZN_CONFIG, JAZN_LOGIN_PROVIDER, LOGIN_CONFIG, LOGIN_CONFIG_PROVIDER
Constructor and Description |
---|
JpsAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasSsoSupport() |
void |
internalLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.util.Map<java.lang.String,?> props)
Deprecated.
Deprecated since 11.1.1.4.0
Internal: Applications should not use this class.
This is method is strictly internal use only.
|
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(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.
|
ensureRedirectUrl, getRequest, getResponse, internalGetRequest, internalGetResponse, logout, logRequestHeaders, responseComplete
getSubject, login, login, setLoginConfig, setLoginConfigProvider
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubject, login, login, setLoginConfigProvider
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 JEEAuthenticationService
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 JEEAuthenticationService
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 internalLogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map<java.lang.String,?> props)
internalLogout
in class JEEAuthenticationService
public boolean hasSsoSupport()
hasSsoSupport
in class AbstractAuthenticationService