Package org.forgerock.openam.sts.token
Enum SAML2SubjectConfirmation
- java.lang.Object
-
- java.lang.Enum<SAML2SubjectConfirmation>
-
- org.forgerock.openam.sts.token.SAML2SubjectConfirmation
-
- All Implemented Interfaces:
Serializable
,Comparable<SAML2SubjectConfirmation>
@SupportedAll public enum SAML2SubjectConfirmation extends Enum<SAML2SubjectConfirmation>
Enum defining the SAML2 SubjectConfirmation values used in the REST-STS and the TokenGenerationService.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEARER
HOLDER_OF_KEY
SENDER_VOUCHES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SAML2SubjectConfirmation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SAML2SubjectConfirmation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEARER
public static final SAML2SubjectConfirmation BEARER
-
SENDER_VOUCHES
public static final SAML2SubjectConfirmation SENDER_VOUCHES
-
HOLDER_OF_KEY
public static final SAML2SubjectConfirmation HOLDER_OF_KEY
-
-
Method Detail
-
values
public static SAML2SubjectConfirmation[] 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 (SAML2SubjectConfirmation c : SAML2SubjectConfirmation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SAML2SubjectConfirmation 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
-
-