com.atlassian.jira.plugin.webwork
Class JiraSeraphSecurityService

java.lang.Object
  extended by com.atlassian.jira.plugin.webwork.JiraSeraphSecurityService
All Implemented Interfaces:
com.atlassian.seraph.Initable, com.atlassian.seraph.SecurityService, Serializable

public class JiraSeraphSecurityService
extends Object
implements com.atlassian.seraph.SecurityService

JiraSeraphSecurityService configures Seraph based on Webwork plugin module atlassian-plugin.xml This allows for the roles-required attribute to be used within plugins and for pluggable Authorisation as well.

Since:
v5.0
See Also:
Serialized Form

Constructor Summary
JiraSeraphSecurityService()
           
 
Method Summary
 void destroy()
          Seraph Initable cleanup method.
 Set<String> getRequiredRoles(javax.servlet.http.HttpServletRequest request)
          This hands off to the LoginManager, who is able to live in the pico container
 void init(Map<String,String> params, com.atlassian.seraph.config.SecurityConfig config)
          Seraph Initable initialisation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraSeraphSecurityService

public JiraSeraphSecurityService()
Method Detail

init

public void init(Map<String,String> params,
                 com.atlassian.seraph.config.SecurityConfig config)
Seraph Initable initialisation method. As we rely on plugin events to setup our required roles, we don't do anything here

Specified by:
init in interface com.atlassian.seraph.Initable

destroy

public void destroy()
Seraph Initable cleanup method.

Specified by:
destroy in interface com.atlassian.seraph.SecurityService

getRequiredRoles

public Set<String> getRequiredRoles(javax.servlet.http.HttpServletRequest request)
This hands off to the LoginManager, who is able to live in the pico container

Specified by:
getRequiredRoles in interface com.atlassian.seraph.SecurityService


Copyright © 2002-2013 Atlassian. All Rights Reserved.