org.beangle.security.realm.cas

Cas20ServiceTicketValidator

Related Doc: package cas

class Cas20ServiceTicketValidator extends AbstractTicketValidator

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Cas20ServiceTicketValidator
  2. AbstractTicketValidator
  3. Logging
  4. TicketValidator
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cas20ServiceTicketValidator()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var config: CasConfig

    Definition Classes
    AbstractTicketValidator
  7. final 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
    Definition Classes
    AbstractTicketValidator
  8. 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.

    Definition Classes
    AbstractTicketValidator
  9. def encodeUrl(url: String): String

    Encodes a URL using the URLEncoder format.

    Encodes a URL using the URLEncoder format.

    Attributes
    protected
    Definition Classes
    AbstractTicketValidator
  10. var encoding: String

    Definition Classes
    AbstractTicketValidator
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def extractCustomAttributes(xml: String): Map[String, Any]

    Default attribute parsing of attributes that look like the following: &ltcas:attributes&gt &ltcas:attribute1&gtvalue&lt/cas:attribute1&gt &ltcas:attribute2&gtvalue&lt/cas:attribute2&gt &lt/cas:attributes&gt

    Default attribute parsing of attributes that look like the following: &ltcas:attributes&gt &ltcas:attribute1&gtvalue&lt/cas:attribute1&gt &ltcas:attribute2&gtvalue&lt/cas:attribute2&gt &lt/cas:attributes&gt

    This code is here merely for sample/demonstration purposes for those wishing to modify the CAS2 protocol. You'll probably want a more robust implementation or to use SAML 1.1

    Attributes
    protected
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getTextForElement(xmlAsString: String, element: String): String

    Retrieve the text for a specific element (when we know there is only one).

    Retrieve the text for a specific element (when we know there is only one).

    Definition Classes
    AbstractTicketValidator
  17. def getTextForElements(xmlAsString: String, element: String): List[String]

    Retrieve the text for a group of elements.

    Retrieve the text for a group of elements. Each text element is an entry in a list.

    This method is currently optimized for the use case of two elements in a list.

    Definition Classes
    AbstractTicketValidator
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. var hostnameVerifier: HostnameVerifier

    Hostname verifier used when making an SSL request to the CAS server.

    Hostname verifier used when making an SSL request to the CAS server.

    Definition Classes
    AbstractTicketValidator
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def parseResponse(ticket: String, response: String): Assertion

    Parses the response from the server into a CAS Assertion.

    Parses the response from the server into a CAS Assertion.

    Attributes
    protected
    Definition Classes
    Cas20ServiceTicketValidatorAbstractTicketValidator
    Exceptions thrown

    TicketValidationException

  26. 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
    Definition Classes
    AbstractTicketValidator
  27. 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
    protected
    Definition Classes
    AbstractTicketValidator
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def validate(ticket: String, service: String): Assertion

  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def xmlReader: XMLReader

    Get an instance of an XML reader from the XMLReaderFactory.

    Get an instance of an XML reader from the XMLReaderFactory.

    Definition Classes
    AbstractTicketValidator

Inherited from AbstractTicketValidator

Inherited from Logging

Inherited from TicketValidator

Inherited from AnyRef

Inherited from Any

Ungrouped