Package net.shibboleth.idp.cas.protocol
Enum ProtocolParam
- java.lang.Object
-
- java.lang.Enum<ProtocolParam>
-
- net.shibboleth.idp.cas.protocol.ProtocolParam
-
- All Implemented Interfaces:
Serializable,Comparable<ProtocolParam>
public enum ProtocolParam extends Enum<ProtocolParam>
Protocol parameter name enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GatewayGateway authentication flag.MethodMethod parameter.PgtProxy-granting ticket.PgtIdProxy-granting ticket identifier sent to proxy callback URL.PgtIouProxy-granting ticket IOU identifier.PgtUrlProxy-granting ticket callback URL.RenewForced authentication flag.ServiceService identifier, which is typically a URL.TargetServiceTarget service for proxy-granting ticket.TicketService ticket.
-
Constructor Summary
Constructors Modifier Constructor Description privateProtocolParam()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Converts enumeration name to lower-case name as used by CAS protocol document.static ProtocolParamvalueOf(String name)Returns the enum constant of this type with the specified name.static ProtocolParam[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Service
public static final ProtocolParam Service
Service identifier, which is typically a URL.
-
Ticket
public static final ProtocolParam Ticket
Service ticket.
-
Renew
public static final ProtocolParam Renew
Forced authentication flag.
-
Gateway
public static final ProtocolParam Gateway
Gateway authentication flag.
-
Method
public static final ProtocolParam Method
Method parameter.- Since:
- CAS Protocol 3.0
-
Pgt
public static final ProtocolParam Pgt
Proxy-granting ticket.
-
PgtId
public static final ProtocolParam PgtId
Proxy-granting ticket identifier sent to proxy callback URL.
-
PgtIou
public static final ProtocolParam PgtIou
Proxy-granting ticket IOU identifier.
-
PgtUrl
public static final ProtocolParam PgtUrl
Proxy-granting ticket callback URL.
-
TargetService
public static final ProtocolParam TargetService
Target service for proxy-granting ticket.
-
-
Method Detail
-
values
public static ProtocolParam[] 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 (ProtocolParam c : ProtocolParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtocolParam 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
-
id
public String id()
Converts enumeration name to lower-case name as used by CAS protocol document.- Returns:
- Enumeration name with first letter lower-cased.
-
-