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

CAS 1.0 Ticket Validator
This is the .Net port of org.jasig.cas.client.validation.Cas10TicketValidator
Inheritance: AbstractCasProtocolTicketValidator
Mostra file Open project: NIKASoftwareDevs/Orchard

Public Methods

Method Description
Cas10TicketValidator ( ICasServices casServices, IUrlUtil urlUtil ) : System.IO
Initialize ( ) : void

Performs Cas10TicketValidator initialization.

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.

Method Details

Cas10TicketValidator() public method

public Cas10TicketValidator ( ICasServices casServices, IUrlUtil urlUtil ) : System.IO
casServices ICasServices
urlUtil IUrlUtil
return System.IO

Initialize() public method

Performs Cas10TicketValidator 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