Class AuthConfigurationEntry
- java.lang.Object
-
- com.sun.identity.authentication.config.AuthConfigurationEntry
-
- All Implemented Interfaces:
Serializable
public class AuthConfigurationEntry extends Object implements Serializable
Represents one Authentication Configuration Entry- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description AuthConfigurationEntry(String module, String flag, String options)Constructor.protectedAuthConfigurationEntry(Node node)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetControlFlag()Returns control flag .StringgetLoginModuleName()Returns login module nameStringgetOptions()Returns options.voidsetControlFlag(String flag)Sets control flag.voidsetLoginModuleName(String moduleName)Sets login module namevoidsetOptions(String options)Sets options.StringtoString()Returns string representation of this object.
-
-
-
Constructor Detail
-
AuthConfigurationEntry
public AuthConfigurationEntry(String module, String flag, String options) throws AMConfigurationException
Constructor.- Parameters:
module- Login Module class name examplecom.sun.identity.authentication.modules.ldap.LDAPflag- Control flag, one ofREQUIRED, OPTIONAL, REQUISITE, SUFFICIENToptions- Options as space separated string.- Throws:
AMConfigurationException- if module or flag is null or flag is invalid.
-
AuthConfigurationEntry
protected AuthConfigurationEntry(Node node) throws AMConfigurationException
Constructor.- Throws:
AMConfigurationException
-
-
Method Detail
-
toString
public String toString()
Returns string representation of this object.
-
getLoginModuleName
public String getLoginModuleName()
Returns login module name- Returns:
- login module name
-
setLoginModuleName
public void setLoginModuleName(String moduleName) throws AMConfigurationException
Sets login module name- Parameters:
moduleName- module name.- Throws:
AMConfigurationException- if module is null.
-
getControlFlag
public String getControlFlag()
Returns control flag .- Returns:
- control flag .
-
setControlFlag
public void setControlFlag(String flag) throws AMConfigurationException
Sets control flag.- Parameters:
flag- control flag- Throws:
AMConfigurationException- if flag is null or invalid.
-
getOptions
public String getOptions()
Returns options.- Returns:
- options.
-
setOptions
public void setOptions(String options)
Sets options.- Parameters:
options-
-
-