Class JAASAuthContextHelper

    • Constructor Detail

      • JAASAuthContextHelper

        public JAASAuthContextHelper​(String loggerName,
                                     boolean returnNullContexts,
                                     ExtendedConfigFile jaasConfig,
                                     Map<String,​?> properties,
                                     String appContext)
                              throws jakarta.security.auth.message.AuthException
        Throws:
        jakarta.security.auth.message.AuthException
    • Method Detail

      • hasModules

        public <M> boolean hasModules​(M[] template,
                                      String authContextID)
                               throws jakarta.security.auth.message.AuthException
        This implementation does not depend on authContextID
        Specified by:
        hasModules in class BaseAuthContextImpl
        Type Parameters:
        M -
        Parameters:
        template -
        authContextID - (ignored by this context system)
        Returns:
        Throws:
        jakarta.security.auth.message.AuthException
      • getModules

        public <M> M[] getModules​(M[] template,
                                  String authContextID)
                           throws jakarta.security.auth.message.AuthException
        this implementation does not depend on authContextID
        Specified by:
        getModules in class BaseAuthContextImpl
        Type Parameters:
        M -
        Parameters:
        template -
        authContextID - (ignored by this context system)
        Returns:
        Throws:
        jakarta.security.auth.message.AuthException
      • exitContext

        public boolean exitContext​(jakarta.security.auth.message.AuthStatus[] successValue,
                                   int i,
                                   jakarta.security.auth.message.AuthStatus moduleStatus)
        Specified by:
        exitContext in class BaseAuthContextImpl
        Returns:
      • getReturnStatus

        public jakarta.security.auth.message.AuthStatus getReturnStatus​(jakarta.security.auth.message.AuthStatus[] successValue,
                                                                        jakarta.security.auth.message.AuthStatus defaultFailStatus,
                                                                        jakarta.security.auth.message.AuthStatus[] status,
                                                                        int position)
        Specified by:
        getReturnStatus in class BaseAuthContextImpl
        Returns: