Enum SAMLTokenField
- java.lang.Object
-
- java.lang.Enum<SAMLTokenField>
-
- org.forgerock.openam.cts.api.fields.SAMLTokenField
-
- All Implemented Interfaces:
Serializable,Comparable<SAMLTokenField>
public enum SAMLTokenField extends Enum<SAMLTokenField>
SAMLTokenField defines a mapping between additional fields needed to service the requirements of the SAML token. These fields are mapped to existing CoreTokenField fields.- Author:
- robert.wapshott@forgerock.com
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OBJECT_CLASSSECONDARY_KEY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreTokenFieldgetField()StringtoString()static SAMLTokenFieldvalueOf(String name)Returns the enum constant of this type with the specified name.static SAMLTokenField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT_CLASS
public static final SAMLTokenField OBJECT_CLASS
-
SECONDARY_KEY
public static final SAMLTokenField SECONDARY_KEY
-
-
Method Detail
-
values
public static SAMLTokenField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SAMLTokenField c : SAMLTokenField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SAMLTokenField valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getField
public CoreTokenField getField()
- Returns:
- The mapped CoreTokenField.
-
toString
public String toString()
- Overrides:
toStringin classEnum<SAMLTokenField>- Returns:
- The name of the LDAP attribute.
-
-