public class JiraElevatedSecurityGuard extends Object implements com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard
ElevatedSecurityGuard
interface. Its
elevated security is based on CAPTCHA.
NOTE : This class is instatiated by Seraph at servlet context initialisation time hence it cant have its dependencies injected.
Constructor and Description |
---|
JiraElevatedSecurityGuard() |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,String> params,
com.atlassian.seraph.config.SecurityConfig config) |
static boolean |
isInitialised() |
void |
onFailedLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
String userName) |
void |
onSuccessfulLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
String userName) |
boolean |
performElevatedSecurityCheck(javax.servlet.http.HttpServletRequest httpServletRequest,
String userName) |
public boolean performElevatedSecurityCheck(javax.servlet.http.HttpServletRequest httpServletRequest, String userName)
performElevatedSecurityCheck
in interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard
public void onFailedLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest, String userName)
onFailedLoginAttempt
in interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard
public void onSuccessfulLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest, String userName)
onSuccessfulLoginAttempt
in interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard
public void init(Map<String,String> params, com.atlassian.seraph.config.SecurityConfig config)
init
in interface com.atlassian.seraph.Initable
public static boolean isInitialised()
Copyright © 2002-2015 Atlassian. All Rights Reserved.