Class HttpServletServerAuthModule

  • All Implemented Interfaces:
    javax.security.auth.message.module.ServerAuthModule, javax.security.auth.message.ServerAuth

    public class HttpServletServerAuthModule
    extends DelegatingServerAuthModule
    Server Auth Module capable of handling Http Servlet Authentication
    Since:
    Jul 30, 2007
    Version:
    $Revision$
    Author:
    Anil.Saldhana@redhat.com
    • Constructor Detail

      • HttpServletServerAuthModule

        public HttpServletServerAuthModule()
      • HttpServletServerAuthModule

        public HttpServletServerAuthModule​(String lmshName)
    • Method Detail

      • validate

        protected boolean validate​(Subject clientSubject,
                                   javax.security.auth.message.MessageInfo messageInfo)
                            throws javax.security.auth.message.AuthException
        Description copied from class: AbstractServerAuthModule
        Subclasses have to implement this method to actually validate the subject
        Overrides:
        validate in class DelegatingServerAuthModule
        Returns:
        Throws:
        javax.security.auth.message.AuthException
      • secureResponse

        public javax.security.auth.message.AuthStatus secureResponse​(javax.security.auth.message.MessageInfo arg0,
                                                                     Subject arg1)
                                                              throws javax.security.auth.message.AuthException
        Specified by:
        secureResponse in interface javax.security.auth.message.ServerAuth
        Overrides:
        secureResponse in class DelegatingServerAuthModule
        Throws:
        javax.security.auth.message.AuthException