public class ConfluenceElevatedSecurityGuard extends Object implements com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard
ElevatedSecurityGuard.
NOTE : This class is instantiated by Seraph at servlet context initialisation time hence it cannot have its dependencies injected.
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEVATED_SECURITY_FAILURE |
| Constructor and Description |
|---|
ConfluenceElevatedSecurityGuard()
Seraph needs the default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,String> params,
com.atlassian.seraph.config.SecurityConfig config) |
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)
This will be called to perform an elevated security check for a given user name.
|
public static final String ELEVATED_SECURITY_FAILURE
public ConfluenceElevatedSecurityGuard()
public boolean performElevatedSecurityCheck(javax.servlet.http.HttpServletRequest httpServletRequest,
String userName)
performElevatedSecurityCheck in interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuardhttpServletRequest - the HTTP request in playuserName - the name of the user to get login information aboutpublic void onFailedLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
String userName)
onFailedLoginAttempt in interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuardpublic void onSuccessfulLoginAttempt(javax.servlet.http.HttpServletRequest httpServletRequest,
String userName)
onSuccessfulLoginAttempt in interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuardCopyright © 2003–2016 Atlassian. All rights reserved.