|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.seraph.filter.LoginFilterRequest
public final class LoginFilterRequest
Helper class to provide safe access to HTTP Request attributes set by the BaseLoginFilter.
| Constructor Summary | |
|---|---|
LoginFilterRequest()
|
|
| Method Summary | |
|---|---|
static AuthenticationErrorType |
getAuthenticationErrorType(javax.servlet.http.HttpServletRequest request)
Returns the authentication error type set by the LoginFilter as a request Attribute. |
static java.lang.String |
getAuthenticationStatus(javax.servlet.http.HttpServletRequest request)
Returns the authentication status code set by the LoginFilter as a request Attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoginFilterRequest()
| Method Detail |
|---|
public static java.lang.String getAuthenticationStatus(javax.servlet.http.HttpServletRequest request)
request - the HttpServletRequest to retrieve the attribute from.
BaseLoginFilter.login(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public static AuthenticationErrorType getAuthenticationErrorType(javax.servlet.http.HttpServletRequest request)
BaseLoginFilter.LOGIN_ERROR),
and is not even then guaranteed to be set by all implementations of BaseLoginFilter.
The original purpose of this was to indicate when a communication error occurs with a remote authentication server.
request - the HttpServletRequest to retrieve the attribute from.
AuthenticatorException.getErrorType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||