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​(List<org.pac4j.core.client.Client> clients)