Class AuthModuleEntry
- java.lang.Object
-
- org.jboss.security.auth.container.config.AuthModuleEntry
-
public class AuthModuleEntry extends Object
Represents a configuration for a single auth module along the lines of AppConfigurationEntry for a JAAS LoginModule- Since:
- Dec 20, 2005
- Author:
-
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOption(ModuleOption option)StringgetAuthModuleName()Get the name of the configured AuthModuleControlFlaggetControlFlag()LoginModuleStackHoldergetLoginModuleStackHolder()A ServerAuthModule may delegate its decision making to a stack of LoginModulesStringgetLoginModuleStackHolderName()Map<String,Object>getOptions()Get the options configured for this AuthModule.voidsetControlFlag(ControlFlag flag)voidsetLoginModuleStackHolder(LoginModuleStackHolder loginModuleStackHolder)A ServerAuthModule may delegate its decision making to a stack of LoginModulesvoidsetLoginModuleStackHolderName(String loginModuleStackHolderName)voidsetOptions(Map<String,Object> options)StringtoString()
-
-
-
-
Constructor Detail
-
AuthModuleEntry
public AuthModuleEntry(String authModuleName, Map<String,Object> options, String loginModuleStackHolderName)
Create a new AuthModuleEntry.- Parameters:
authModuleName- Name of the AuthModuleoptions- 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)
-
getControlFlag
public ControlFlag getControlFlag()
-
setControlFlag
public void setControlFlag(ControlFlag flag)
-
-