Class AuthContextProvider

    • Constructor Detail

      • AuthContextProvider

        public AuthContextProvider​(String appName,
                                   LoginModuleConfig config)
        Parameters:
        appName - LoginConfig application name used for this instance
        config - optional LoginModule-configuration to use without JAAS
    • Method Detail

      • isJAAS

        public boolean isJAAS()
        Returns:
        true if a application entry is available in a JAAS- Configuration
      • isLocal

        public boolean isLocal()
        Returns:
        true if a login-module is configured.
      • getModuleConfig

        public Properties[] getModuleConfig()
        Returns:
        options configured for the LoginModules to use.