public class BambooElevatedSecurityGuard extends Object implements com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard
ElevatedSecurityGuard
interface. Its
elevated security is based on CAPTCHA.
NOTE : This class is instantiated by Seraph at servlet context initialisation time hence it cant have its dependencies injected.
Constructor and Description |
---|
BambooElevatedSecurityGuard() |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,String> params,
com.atlassian.seraph.config.SecurityConfig config) |
static boolean |
isElevatedSecurityFailed(javax.servlet.ServletRequest request) |
static boolean |
isElevatedSecurityRequired(javax.servlet.ServletRequest request) |
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 isElevatedSecurityRequired(javax.servlet.ServletRequest request)
public static boolean isElevatedSecurityFailed(javax.servlet.ServletRequest request)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.