AbstractTicketValidator

abstract class AbstractTicketValidator extends TicketValidator with Logging

Abstarct Ticket Validator

trait Logging
class Object
trait Matchable
class Any

Value members

Abstract methods

protected def parseResponse(ticket: String, response: String): String

Parses the response from the server into a CAS Assertion.

Parses the response from the server into a CAS Assertion.

Throws
TicketValidationException

valid ticket

Concrete methods

final protected def constructValidationUrl(ticket: String, serviceUrl: String): String

Constructs the URL to send the validation request to.

Constructs the URL to send the validation request to.

protected def encodeUrl(url: String): String

Encodes a URL using the URLEncoder format.

Encodes a URL using the URLEncoder format.

protected def populateUrlAttributeMap(urlParameters: Map[String, String]): Unit

Template method for ticket validators that need to provide additional parameters to the validation url.

Template method for ticket validators that need to provide additional parameters to the validation url.

protected def retrieveResponse(url: URL, ticket: String): String

Contacts the CAS Server to retrieve the response for the ticket validation.

Contacts the CAS Server to retrieve the response for the ticket validation.

def validate(ticket: String, service: String): String

Concrete fields

var customParameters: Map[String, String]

A map containing custom parameters to pass to the validation url.

A map containing custom parameters to pass to the validation url.

var encoding: Charset

Inherited fields

protected val logger: Logger
Inherited from
Logging