public class

JiraElevatedSecurityGuard

extends Object
implements ElevatedSecurityGuard
java.lang.Object
   ↳ com.atlassian.jira.security.login.JiraElevatedSecurityGuard

Class Overview

The JIRA implementation of the com.atlassian.seraph.elevatedsecurity.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.

Summary

Public Constructors
JiraElevatedSecurityGuard()
Public Methods
void init(Map<StringString> params, SecurityConfig config)
static boolean isInitialised()
void onFailedLoginAttempt(HttpServletRequest httpServletRequest, String userName)
void onSuccessfulLoginAttempt(HttpServletRequest httpServletRequest, String userName)
boolean performElevatedSecurityCheck(HttpServletRequest httpServletRequest, String userName)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.seraph.Initable
From interface com.atlassian.seraph.elevatedsecurity.ElevatedSecurityGuard

Public Constructors

public JiraElevatedSecurityGuard ()

Public Methods

public void init (Map<StringString> params, SecurityConfig config)

public static boolean isInitialised ()

Returns
  • will return TRUE if the JiraElevatedSecurityGuard is initialised and therefore in action

public void onFailedLoginAttempt (HttpServletRequest httpServletRequest, String userName)

public void onSuccessfulLoginAttempt (HttpServletRequest httpServletRequest, String userName)

public boolean performElevatedSecurityCheck (HttpServletRequest httpServletRequest, String userName)