Class AuthPac4jModule

  • All Implemented Interfaces:
    Module, org.apache.shiro.util.Destroyable

    public class AuthPac4jModule
    extends org.apache.shiro.guice.web.ShiroWebModule
    • Constructor Detail

      • AuthPac4jModule

        public AuthPac4jModule​(javax.servlet.ServletContext servletContext)
    • Method Detail

      • configureShiroWeb

        protected void configureShiroWeb()
        Specified by:
        configureShiroWeb in class org.apache.shiro.guice.web.ShiroWebModule
      • bindWebSecurityManager

        protected void bindWebSecurityManager​(AnnotatedBindingBuilder<? super org.apache.shiro.web.mgt.WebSecurityManager> bind)
        Overrides:
        bindWebSecurityManager in class org.apache.shiro.guice.web.ShiroWebModule
      • webSecurityManager

        @Provides
        public org.apache.shiro.web.mgt.DefaultWebSecurityManager webSecurityManager​(Collection<org.apache.shiro.realm.Realm> realms,
                                                                                     Set<org.apache.shiro.authc.AuthenticationListener> authenticationListeners,
                                                                                     org.apache.shiro.authc.pam.ModularRealmAuthenticator authenticator,
                                                                                     AxelorSessionManager sessionManager,
                                                                                     AxelorRememberMeManager rememberMeManager)
      • callbackClientFinder

        @Provides
        public org.pac4j.core.client.finder.DefaultCallbackClientFinder callbackClientFinder​(ClientListService clientListService)
      • globalFilters

        public List<org.apache.shiro.guice.web.ShiroWebModule.FilterConfig<? extends javax.servlet.Filter>> globalFilters()
        Disable global filters due to impact on some web services (ex: ws/files/data-export ). See issue #1193.
        Overrides:
        globalFilters in class org.apache.shiro.guice.web.ShiroWebModule
        Returns:
        empty list