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.apache.struts2.interceptor.Interceptor,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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
com.opensymphony.xwork2.interceptor.Interceptor.LegacyAdapter -
Field Summary
Fields inherited from class org.acegisecurity.intercept.AbstractSecurityInterceptor
logger, messages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit()intercept(com.opensymphony.xwork2.ActionInvocation invocation) org.acegisecurity.intercept.ObjectDefinitionSourcevoidsetObjectDefinitionSource(ActionInvocationDefinitionSource objectDefinitionSource) voidsetOverrideAuthorities(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, setValidateConfigAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.opensymphony.xwork2.interceptor.Interceptor
intercept
-
Constructor Details
-
WebworkSecurityInterceptor
public WebworkSecurityInterceptor()
-
-
Method Details
-
getSecureObjectClass
- Specified by:
getSecureObjectClassin classorg.acegisecurity.intercept.AbstractSecurityInterceptor
-
obtainObjectDefinitionSource
public org.acegisecurity.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()- Specified by:
obtainObjectDefinitionSourcein classorg.acegisecurity.intercept.AbstractSecurityInterceptor
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.struts2.interceptor.Interceptor
-
init
public void init()- Specified by:
initin interfaceorg.apache.struts2.interceptor.Interceptor
-
intercept
- Specified by:
interceptin interfacecom.opensymphony.xwork2.interceptor.Interceptor- Throws:
Exception
-
setObjectDefinitionSource
-
setOverrideAuthorities
public void setOverrideAuthorities(org.acegisecurity.GrantedAuthority[] overrideAuthorities)
-