Package net.shibboleth.idp.cas.protocol
Class TicketValidationResponse
java.lang.Object
net.shibboleth.idp.cas.protocol.AbstractProtocolResponse
net.shibboleth.idp.cas.protocol.TicketValidationResponse
Service ticket validation response protocol message.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(Attribute attribute) Add an attribute to the attribute collection.void
Adds a proxy to the list of proxies traversed.Get the immutable collection of user attributes.Get the proxy granting ticket IOU.Get the immutable list of proxies traversed in order of most recent to last recent.Get the non-null subject principal on ticket validation success.void
Set the proxy granting ticket IOU.void
setUserName
(String user) Set the non-null subject principal on ticket validation success.Methods inherited from class net.shibboleth.idp.cas.protocol.AbstractProtocolResponse
getErrorCode, getErrorDetail, setErrorCode, setErrorDetail
-
Field Details
-
userName
Subject principal on ticket validation success. -
attributes
User attributes. -
pgtIou
Proxy granting ticket IOU. -
proxies
Proxies traversed.
-
-
Constructor Details
-
TicketValidationResponse
public TicketValidationResponse()Constructor.
-
-
Method Details
-
getUserName
Get the non-null subject principal on ticket validation success.- Returns:
- non-null subject principal on ticket validation success
-
setUserName
Set the non-null subject principal on ticket validation success.- Parameters:
user
- non-null subject principal on ticket validation success
-
getAttributes
Get the immutable collection of user attributes.- Returns:
- immutable collection of user attributes
-
addAttribute
Add an attribute to the attribute collection.- Parameters:
attribute
- the attribute
-
getPgtIou
Get the proxy granting ticket IOU.- Returns:
- proxy granting ticket IOU
-
setPgtIou
Set the proxy granting ticket IOU.- Parameters:
iou
- proxy granting ticket IOU
-
getProxies
Get the immutable list of proxies traversed in order of most recent to last recent.- Returns:
- immutable list of proxies traversed in order of most recent to last recent
-
addProxy
Adds a proxy to the list of proxies traversed.- Parameters:
proxy
- Name of a proxying service, typically a URI.
-