Class 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 Detail

      • WebworkSecurityInterceptor

        public WebworkSecurityInterceptor()
    • Method Detail

      • getSecureObjectClass

        public 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.xwork2.interceptor.Interceptor
      • init

        public void init()
        Specified by:
        init in interface com.opensymphony.xwork2.interceptor.Interceptor
      • intercept

        public String intercept​(com.opensymphony.xwork2.ActionInvocation invocation)
                         throws Exception
        Specified by:
        intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
        Throws:
        Exception
      • setOverrideAuthorities

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