Package org.opensaml.saml.saml2.core
Enum AuthnContextComparisonTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<AuthnContextComparisonTypeEnumeration>
-
- org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<AuthnContextComparisonTypeEnumeration>
public enum AuthnContextComparisonTypeEnumeration extends Enum<AuthnContextComparisonTypeEnumeration>
Enumeration ofRequestedAuthnContextcomparison types.
-
-
Field Summary
Fields Modifier and Type Field Description private StringcomparisonTypeThe comparison type string.
-
Constructor Summary
Constructors Modifier Constructor Description privateAuthnContextComparisonTypeEnumeration(String newComparisonType)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static AuthnContextComparisonTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthnContextComparisonTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXACT
public static final AuthnContextComparisonTypeEnumeration EXACT
"exact" comparison type.
-
MINIMUM
public static final AuthnContextComparisonTypeEnumeration MINIMUM
"minimum" comparison type.
-
MAXIMUM
public static final AuthnContextComparisonTypeEnumeration MAXIMUM
"maximum" comparison type.
-
BETTER
public static final AuthnContextComparisonTypeEnumeration BETTER
"better" comparison type.
-
-
Method Detail
-
values
public static AuthnContextComparisonTypeEnumeration[] 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 (AuthnContextComparisonTypeEnumeration c : AuthnContextComparisonTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthnContextComparisonTypeEnumeration 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<AuthnContextComparisonTypeEnumeration>
-
-