Class WebworkSecurityInterceptor
- java.lang.Object
-
- org.acegisecurity.intercept.AbstractSecurityInterceptor
-
- com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor
-
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor
,Serializable
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.MessageSourceAware
public class WebworkSecurityInterceptor extends org.acegisecurity.intercept.AbstractSecurityInterceptor implements com.opensymphony.xwork2.interceptor.Interceptor
WebWork interceptor that delegates to Acegi security manager to check authority- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebworkSecurityInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Class
getSecureObjectClass()
void
init()
String
intercept(com.opensymphony.xwork2.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
-
-
-
-
Method Detail
-
getSecureObjectClass
public Class getSecureObjectClass()
- Specified by:
getSecureObjectClass
in classorg.acegisecurity.intercept.AbstractSecurityInterceptor
-
obtainObjectDefinitionSource
public org.acegisecurity.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
- Specified by:
obtainObjectDefinitionSource
in classorg.acegisecurity.intercept.AbstractSecurityInterceptor
-
destroy
public void destroy()
- Specified by:
destroy
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
init
public void init()
- Specified by:
init
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
- Specified by:
intercept
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
- Throws:
Exception
-
setObjectDefinitionSource
public void setObjectDefinitionSource(ActionInvocationDefinitionSource objectDefinitionSource)
-
setOverrideAuthorities
public void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)
-
-