public class PreviousSessionLoginHandler extends AbstractLoginHandler
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private boolean |
reportPreviousSessionAuthnMethod
Whether to report the authentication method as PreviousSession.
|
private String |
servletPath
The path of the servlet to which the user agent may be redirected.
|
AUTHENTICATION_ERROR_KEY, AUTHENTICATION_EXCEPTION_KEY, AUTHENTICATION_INSTANT_KEY, AUTHENTICATION_METHOD_KEY, PRINCIPAL_KEY, PRINCIPAL_NAME_KEY, SUBJECT_KEY| Constructor and Description |
|---|
PreviousSessionLoginHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServletPath()
Deprecated.
|
void |
login(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Authenticate the user making the request.
|
boolean |
reportPreviousSessionAuthnMethod()
Gets whether to use PreviousSession as the users authentication method.
|
void |
setReportPreviousSessionAuthnMethod(boolean report)
Sets whether to use PreviousSession as the users authentication method.
|
void |
setServletPath(String path)
Deprecated.
|
boolean |
supportsPassive()
Gets whether this handler supports passive authentication.
|
getAuthenticationDuration, getSupportedAuthenticationMethods, setAuthenticationDuration, setAuthenticationDurection, setSupportsForceAuthentication, setSupportsPassive, supportsForceAuthenticationprivate final org.slf4j.Logger log
private String servletPath
private boolean reportPreviousSessionAuthnMethod
public String getServletPath()
public void setServletPath(String path)
path - path of the servlet to which the user agent may be redirectedpublic boolean reportPreviousSessionAuthnMethod()
public void setReportPreviousSessionAuthnMethod(boolean report)
report - whether to use PreviousSession as the users authentication methodpublic boolean supportsPassive()
supportsPassive in interface LoginHandlersupportsPassive in class AbstractLoginHandlerpublic void login(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
httpRequest - user requesthttpResponse - response to userCopyright © 1999-2014. All Rights Reserved.