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 void
addOption(ModuleOption option)
String
getAuthModuleName()
Get the name of the configured AuthModuleControlFlag
getControlFlag()
LoginModuleStackHolder
getLoginModuleStackHolder()
A ServerAuthModule may delegate its decision making to a stack of LoginModulesString
getLoginModuleStackHolderName()
Map<String,Object>
getOptions()
Get the options configured for this AuthModule.void
setControlFlag(ControlFlag flag)
void
setLoginModuleStackHolder(LoginModuleStackHolder loginModuleStackHolder)
A ServerAuthModule may delegate its decision making to a stack of LoginModulesvoid
setLoginModuleStackHolderName(String loginModuleStackHolderName)
void
setOptions(Map<String,Object> options)
String
toString()
-
-
-
-
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)
-
-