Class AllSuccessServerAuthModule

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

    public class AllSuccessServerAuthModule
    extends AbstractServerAuthModule
    ServerAuthModule that returns AuthStatus.SUCCESS
    Author:
    Anil.Saldhana@redhat.com
    • Constructor Detail

      • AllSuccessServerAuthModule

        public AllSuccessServerAuthModule()
    • Method Detail

      • getSupportedMessageTypes

        public Class[] getSupportedMessageTypes()
        Specified by:
        getSupportedMessageTypes in interface javax.security.auth.message.module.ServerAuthModule
        Overrides:
        getSupportedMessageTypes in class AbstractServerAuthModule
        See Also:
        ServerAuthModule.getSupportedMessageTypes()
      • 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
        Specified by:
        validate in class AbstractServerAuthModule
        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
        Throws:
        javax.security.auth.message.AuthException