Enum ProtocolParam

    • 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.
    • Constructor Detail

      • ProtocolParam

        private ProtocolParam()
    • 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 name
        NullPointerException - 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.