Package net.shibboleth.idp.cas.protocol
Enum ProtocolError
- All Implemented Interfaces:
Serializable
,Comparable<ProtocolError>
CAS protocol errors.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOne or more proxy-granting tickets in proxy chain have expired.Illegal state error.Ticket parameter provided but has invalid format.A valid ticket of an unsupported type was provided.Generic protocol violation error.Proxy callback authentication failed.Unauthorized attempt to request proxy-granting ticket.Unsupported condition where a proxy ticket validation occurs with the renew flag set.Validating service does not match service to which ticket was issued.Service parameter required but not specified.IdP session that issued ticket has expired which invalidates ticket.Error retrieving IdP session.Error creating ticket.Ticket not found or expired.Validation specifies renew protocol flag but ticket was not issued from a forced authentication.Ticket parameter required but not specified.Error removing ticket.Error retrieving ticket. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a Spring webflow event whose ID is given byEnum.name()
} and contains the following attributes: code detailCode The values of attributes correspond to fields of the same names.getCode()
Get the error code.Get the error detail code.static ProtocolError
Returns the enum constant of this type with the specified name.static ProtocolError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BrokenProxyChain
One or more proxy-granting tickets in proxy chain have expired. -
IllegalState
Illegal state error. -
InvalidTicketFormat
Ticket parameter provided but has invalid format. -
InvalidTicketType
A valid ticket of an unsupported type was provided. -
ProtocolViolation
Generic protocol violation error. -
ProxyCallbackAuthenticationFailure
Proxy callback authentication failed. -
ProxyNotAuthorized
Unauthorized attempt to request proxy-granting ticket. -
RenewIncompatibleWithProxy
Unsupported condition where a proxy ticket validation occurs with the renew flag set. -
ServiceNotSpecified
Service parameter required but not specified. -
ServiceMismatch
Validating service does not match service to which ticket was issued. -
SessionExpired
IdP session that issued ticket has expired which invalidates ticket. -
SessionRetrievalError
Error retrieving IdP session. -
TicketNotSpecified
Ticket parameter required but not specified. -
TicketExpired
Ticket not found or expired. -
TicketNotFromRenew
Validation specifies renew protocol flag but ticket was not issued from a forced authentication. -
TicketCreationError
Error creating ticket. -
TicketRetrievalError
Error retrieving ticket. -
TicketRemovalError
Error removing ticket.
-
-
Field Details
-
errorCode
Error code. -
errorDetailCode
Error detail code.
-
-
Constructor Details
-
ProtocolError
Constructor.- Parameters:
code
- error codedetailCode
- error detail code
-
-
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
-
getCode
Get the error code.- Returns:
- error code
-
getDetailCode
Get the error detail code.- Returns:
- detail error code
-
event
Creates a Spring webflow event whose ID is given byEnum.name()
} and contains the following attributes:- code
- detailCode
- Parameters:
source
- Event source.- Returns:
- Spring webflow event.
-