com.atlassian.bamboo.security.acegi.intercept.web
Class WebworkSecurityInterceptor

java.lang.Object
  extended by org.acegisecurity.intercept.AbstractSecurityInterceptor
      extended by com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor, java.io.Serializable, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.MessageSourceAware

public class WebworkSecurityInterceptor
extends org.acegisecurity.intercept.AbstractSecurityInterceptor
implements com.opensymphony.xwork.interceptor.Interceptor

WebWork interceptor that delegates to Acegi security manager to check authority

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.acegisecurity.intercept.AbstractSecurityInterceptor
logger, messages
 
Constructor Summary
WebworkSecurityInterceptor()
           
 
Method Summary
 void destroy()
           
 java.lang.Class getSecureObjectClass()
           
 void init()
           
 java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
           
 org.acegisecurity.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
           
 void setObjectDefinitionSource(ActionInvocationDefinitionSource objectDefinitionSource)
           
 void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)
           
 
Methods inherited from class org.acegisecurity.intercept.AbstractSecurityInterceptor
afterInvocation, afterPropertiesSet, beforeInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebworkSecurityInterceptor

public WebworkSecurityInterceptor()
Method Detail

getSecureObjectClass

public java.lang.Class getSecureObjectClass()
Specified by:
getSecureObjectClass in class org.acegisecurity.intercept.AbstractSecurityInterceptor

obtainObjectDefinitionSource

public org.acegisecurity.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
Specified by:
obtainObjectDefinitionSource in class org.acegisecurity.intercept.AbstractSecurityInterceptor

destroy

public void destroy()
Specified by:
destroy in interface com.opensymphony.xwork.interceptor.Interceptor

init

public void init()
Specified by:
init in interface com.opensymphony.xwork.interceptor.Interceptor

intercept

public java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
                           throws java.lang.Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Throws:
java.lang.Exception

setObjectDefinitionSource

public void setObjectDefinitionSource(ActionInvocationDefinitionSource objectDefinitionSource)

setOverrideAuthorities

public void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)


Copyright © 2012 Atlassian. All Rights Reserved.