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_REQUESTED
Delegation was not requested.REQUESTED_OPTIONAL
Delegation was requested, as optional.REQUESTED_REQUIRED
Delegation was requested, as required. -
Constructor Summary
Constructors Modifier Constructor Description private
DelegationRequest()
-
Method Summary
Modifier and Type Method Description static DelegationRequest
valueOf(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 Details
-
NOT_REQUESTED
Delegation was not requested. -
REQUESTED_OPTIONAL
Delegation was requested, as optional. -
REQUESTED_REQUIRED
Delegation was requested, as required.
-
-
Constructor Details
-
DelegationRequest
private DelegationRequest()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-