Class AuthModuleEntry

    • Constructor Detail

      • AuthModuleEntry

        public AuthModuleEntry​(String authModuleName,
                               Map<String,​Object> options,
                               String loginModuleStackHolderName)
        Create a new AuthModuleEntry.
        Parameters:
        authModuleName - Name of the AuthModule
        options - the options configured for this AuthModule.
        loginModuleStackHolderName - Name of the LoginModuleStack (Can be Null
    • Method Detail

      • getAuthModuleName

        public String getAuthModuleName()
        Get the name of the configured AuthModule
        Returns:
        the class name of the configured AuthModule as a String.
      • addOption

        public void addOption​(ModuleOption option)
      • getOptions

        public Map<String,​Object> getOptions()
        Get the options configured for this AuthModule.
        Returns:
        the options configured for this AuthModule as an unmodifiable Map
      • getLoginModuleStackHolder

        public LoginModuleStackHolder getLoginModuleStackHolder()
        A ServerAuthModule may delegate its decision making to a stack of LoginModules
        Returns:
        a stack of LoginModules
      • setLoginModuleStackHolder

        public void setLoginModuleStackHolder​(LoginModuleStackHolder loginModuleStackHolder)
        A ServerAuthModule may delegate its decision making to a stack of LoginModules
        Parameters:
        loginModuleStackHolder - a stack of LoginModules
      • getLoginModuleStackHolderName

        public String getLoginModuleStackHolderName()
      • setLoginModuleStackHolderName

        public void setLoginModuleStackHolderName​(String loginModuleStackHolderName)
      • setControlFlag

        public void setControlFlag​(ControlFlag flag)