C# Class NGM.CasClient.Client.Validation.TicketValidator.Saml11TicketValidator

SAML 1.1 Ticket Validator
This is the .Net port of org.jasig.cas.client.validation.Saml11TicketValidator
Inheritance: AbstractUrlTicketValidator
Mostra file Open project: NIKASoftwareDevs/Orchard

Public Methods

Method Description
Initialize ( ) : void

Performs Saml11TicketValidator initialization.

Saml11TicketValidator ( ICasServices casServices, IUrlUtil urlUtil ) : System

Protected Methods

Method Description
ParseResponseFromServer ( string response, string ticket ) : ICasPrincipal

Parses the response from the server into a CAS Assertion and includes this in a CASPrincipal.

RetrieveResponseFromServer ( string validationUrl, string ticket ) : string

Requests CAS ticket validation by the configured CAS server.

Method Details

Initialize() public method

Performs Saml11TicketValidator initialization.
public Initialize ( ) : void
return void

ParseResponseFromServer() protected method

Parses the response from the server into a CAS Assertion and includes this in a CASPrincipal.
/// Thrown if creation of the Assertion fails. ///
protected ParseResponseFromServer ( string response, string ticket ) : ICasPrincipal
response string /// the response from the server, in any format. ///
ticket string The ticket used to generate the validation response
return ICasPrincipal

RetrieveResponseFromServer() protected method

Requests CAS ticket validation by the configured CAS server.
protected RetrieveResponseFromServer ( string validationUrl, string ticket ) : string
validationUrl string the URL to use for ticket validation
ticket string /// the ticket returned by the CAS server from a successful authentication ///
return string

Saml11TicketValidator() public method

public Saml11TicketValidator ( ICasServices casServices, IUrlUtil urlUtil ) : System
casServices ICasServices
urlUtil IUrlUtil
return System