public final class Saml11TicketValidator extends AbstractUrlBasedTicketValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTH_METHOD_ATTRIBUTE
Authentication attribute containing SAML AuthenticationMethod attribute value.
|
logger| Constructor and Description |
|---|
Saml11TicketValidator(String casServerUrlPrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getUrlSuffix()
The endpoint of the validation URL.
|
protected Assertion |
parseResponseFromServer(String response)
Parses the response from the server into a CAS Assertion.
|
protected void |
populateUrlAttributeMap(Map<String,String> urlParameters)
Template method for ticket validators that need to provide additional parameters to the validation url.
|
protected String |
retrieveResponseFromServer(URL validationUrl,
String ticket)
Contacts the CAS Server to retrieve the response for the ticket validation.
|
void |
setTolerance(long tolerance) |
constructValidationUrl, encodeUrl, getCasServerUrlPrefix, getCustomParameters, getEncoding, getURLConnectionFactory, isRenew, setCustomParameters, setEncoding, setRenew, setURLConnectionFactory, validatepublic static final String AUTH_METHOD_ATTRIBUTE
public Saml11TicketValidator(String casServerUrlPrefix)
protected String getUrlSuffix()
AbstractUrlBasedTicketValidatorgetUrlSuffix in class AbstractUrlBasedTicketValidatorprotected void populateUrlAttributeMap(Map<String,String> urlParameters)
AbstractUrlBasedTicketValidatorpopulateUrlAttributeMap in class AbstractUrlBasedTicketValidatorurlParameters - the map containing the parameters.protected Assertion parseResponseFromServer(String response) throws TicketValidationException
AbstractUrlBasedTicketValidatorparseResponseFromServer in class AbstractUrlBasedTicketValidatorresponse - the response from the server, in any format.TicketValidationException - if an Assertion could not be created.protected String retrieveResponseFromServer(URL validationUrl, String ticket)
AbstractUrlBasedTicketValidatorretrieveResponseFromServer in class AbstractUrlBasedTicketValidatorvalidationUrl - the url to send the validation request to.ticket - the ticket to validate.public void setTolerance(long tolerance)
Copyright © 2006–2021 Jasig. All rights reserved.