AbstractTicketValidator

org.beangle.security.realm.cas.AbstractTicketValidator
abstract class AbstractTicketValidator extends TicketValidator with Logging

Abstarct Ticket Validator

Attributes

Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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.

Attributes

Throws:

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.

Attributes

protected def encodeUrl(url: String): String

Encodes a URL using the URLEncoder format.

Encodes a URL using the URLEncoder format.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

var encoding: Charset

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
Logging