Enum DelegationRequest
- java.lang.Object
-
- java.lang.Enum<DelegationRequest>
-
- net.shibboleth.idp.saml.saml2.profile.delegation.DelegationRequest
-
- All Implemented Interfaces:
Serializable,Comparable<DelegationRequest>
public enum DelegationRequest extends Enum<DelegationRequest>
Enum which represents the state of the relying party's indication of whether a delegated assertion token is requested.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_REQUESTEDDelegation was not requested.REQUESTED_OPTIONALDelegation was requested, as optional.REQUESTED_REQUIREDDelegation was requested, as required.
-
Constructor Summary
Constructors Modifier Constructor Description privateDelegationRequest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DelegationRequestvalueOf(String name)Returns the enum constant of this type with the specified name.static DelegationRequest[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REQUESTED
public static final DelegationRequest NOT_REQUESTED
Delegation was not requested.
-
REQUESTED_OPTIONAL
public static final DelegationRequest REQUESTED_OPTIONAL
Delegation was requested, as optional.
-
REQUESTED_REQUIRED
public static final DelegationRequest REQUESTED_REQUIRED
Delegation was requested, as required.
-
-
Method Detail
-
values
public static DelegationRequest[] 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 (DelegationRequest c : DelegationRequest.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DelegationRequest 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
-
-