public class Cas30JsonProxyTicketValidator extends Cas30ProxyTicketValidator
Cas30JsonProxyTicketValidator that attempts to parse the CAS validation response
as JSON. Very similar to Cas30JsonServiceTicketValidator, it also honors proxies as the name suggests.PGT_ATTRIBUTElogger| Constructor and Description |
|---|
Cas30JsonProxyTicketValidator(String casServerUrlPrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
parseProxiesFromResponse(String response) |
protected Assertion |
parseResponseFromServer(String response)
Parses the response from the server into a CAS Assertion.
|
getUrlSuffixcustomParseResponse, getAllowedProxyChains, isAcceptAnyProxy, isAllowEmptyProxyChain, setAcceptAnyProxy, setAllowedProxyChains, setAllowEmptyProxyChainextractCustomAttributes, getPrivateKey, getProxyCallbackUrl, getProxyGrantingTicketStorage, getProxyRetriever, parseAuthenticationFailureFromResponse, parsePrincipalFromResponse, populateUrlAttributeMap, retrieveProxyGrantingTicket, retrieveProxyGrantingTicketFromStorage, retrieveProxyGrantingTicketViaEncryption, setPrivateKey, setProxyCallbackUrl, setProxyGrantingTicketStorage, setProxyRetrieverretrieveResponseFromServerconstructValidationUrl, encodeUrl, getCasServerUrlPrefix, getCustomParameters, getEncoding, getURLConnectionFactory, isRenew, setCustomParameters, setEncoding, setRenew, setURLConnectionFactory, validatepublic Cas30JsonProxyTicketValidator(String casServerUrlPrefix)
protected Assertion parseResponseFromServer(String response) throws TicketValidationException
AbstractUrlBasedTicketValidatorparseResponseFromServer in class Cas20ServiceTicketValidatorresponse - the response from the server, in any format.TicketValidationException - if an Assertion could not be created.protected List<String> parseProxiesFromResponse(String response)
parseProxiesFromResponse in class Cas20ProxyTicketValidatorCopyright © 2006–2021 Apereo. All rights reserved.