Class AnonymousAuthenticator

    • Field Detail

      • initialized

        protected boolean initialized
      • anonymousLogin

        protected String anonymousLogin
    • Constructor Detail

      • AnonymousAuthenticator

        public AnonymousAuthenticator()
    • Method Detail

      • isAnonymousRequest

        public static boolean isAnonymousRequest​(javax.servlet.http.HttpServletRequest httpRequest)
      • isAnonymousLoginBlocked

        protected boolean isAnonymousLoginBlocked​(javax.servlet.http.HttpServletRequest httpRequest)
      • handleLoginPrompt

        public Boolean handleLoginPrompt​(javax.servlet.http.HttpServletRequest httpRequest,
                                         javax.servlet.http.HttpServletResponse httpResponse,
                                         String baseURL)
        Description copied from interface: NuxeoAuthenticationPlugin
        Handles the Login Prompt.
        Specified by:
        handleLoginPrompt in interface NuxeoAuthenticationPlugin
        Parameters:
        httpRequest - the request
        httpResponse - the response
        Returns:
        true if AuthFilter must stop execution (ie: login prompt generated a redirect), false otherwise
      • handleLogout

        public Boolean handleLogout​(javax.servlet.http.HttpServletRequest httpRequest,
                                    javax.servlet.http.HttpServletResponse httpResponse)
        Description copied from interface: NuxeoAuthenticationPluginLogoutExtension
        Handles logout operation.

        Generic logout (killing session and Seam objects) is done by LogoutActionBean This interface must be implemented by auth plugin when the target auth system needs a specific logout procedure.

        Specified by:
        handleLogout in interface NuxeoAuthenticationPluginLogoutExtension
        Returns:
        true if caller must stop execution (ie: logout generated a redirect), false otherwise