|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElevatedSecurityGuard
An ElevatedSecurityGaurd is responsible for checking whether a user has failed authentication too many times and hence needs to pass an "elevated" security check before they can authenticate again.
| Method Summary | |
|---|---|
void |
onFailedLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String userName)
This is called when a user fails a login check, either because they failed the elevated security check or they failed the more basic username and password check. |
void |
onSuccessfulLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String userName)
This is called when a user passes a login check. |
boolean |
performElevatedSecurityCheck(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String userName)
This will be called to perform an elevated security check for a given user name. |
| Methods inherited from interface com.atlassian.seraph.Initable |
|---|
init |
| Method Detail |
|---|
boolean performElevatedSecurityCheck(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String userName)
httpServletRequest - the HTTP request in playuserName - the name of the user to get login information about
void onFailedLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String userName)
httpServletRequest - the HTTP request in playuserName - the name of the user to get login information about
void onSuccessfulLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
java.lang.String userName)
httpServletRequest - the HTTP request in playuserName - the name of the user to get login information about
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||