|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.sal.core.auth.SeraphAuthenticationListener
public class SeraphAuthenticationListener
| Constructor Summary | |
|---|---|
SeraphAuthenticationListener()
|
|
| Method Summary | |
|---|---|
void |
authenticationError(Authenticator.Result result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called when there is a failure in trying to process the request, such as an IO failure. |
void |
authenticationFailure(Authenticator.Result result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called when the signature cannot be validated or the user cannot be resolved or does not have permission to access the resource. |
void |
authenticationNotAttempted(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called if it was determined that authentication should not be attempted, usually because the AuthenticationController.shouldAttemptAuthentication(HttpServletRequest) returned false. |
void |
authenticationSuccess(Authenticator.Result result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called when the signature is validated and the user is resolved and permissions are verified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeraphAuthenticationListener()
| Method Detail |
|---|
public void authenticationSuccess(Authenticator.Result result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AuthenticationListener
authenticationSuccess in interface AuthenticationListenerresult - Authentication result containing the userrequest - Current HTTP request being processedresponse - HTTP response for the current request, provided so the application can set any headers it might
need set
public void authenticationError(Authenticator.Result result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AuthenticationListener
authenticationError in interface AuthenticationListenerresult - Authentication result containing the details of the errorrequest - Current HTTP request being processedresponse - HTTP response for the current request, provided so the application can set any headers it might
need set
public void authenticationFailure(Authenticator.Result result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AuthenticationListener
authenticationFailure in interface AuthenticationListenerresult - Authentication result containing the details of the failurerequest - Current HTTP request being processedresponse - HTTP response for the current request, provided so the application can set any headers it might
need set
public void authenticationNotAttempted(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AuthenticationListenerAuthenticationController.shouldAttemptAuthentication(HttpServletRequest) returned false.
authenticationNotAttempted in interface AuthenticationListenerrequest - Current HTTP request being processedresponse - HTTP response for the current request, provided so the application can set any headers it might
need set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||