프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CASServices | ICasServices | ||
UrlUtil | IUrlUtil |
메소드 | 설명 | |
---|---|---|
Initialize ( ) : void |
Perform any initialization required for the UrlTicketValidator implementation.
|
|
Validate ( string ticket ) : ICasPrincipal |
Attempts to validate a ticket for the provided service.
|
메소드 | 설명 | |
---|---|---|
AbstractUrlTicketValidator ( ICasServices casServices, IUrlUtil urlUtil ) : System | ||
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 |
Default implementation that performs an HTTP GET request to the validation URL supplied with the supplied ticket and returns the response body as a string.
|
protected AbstractUrlTicketValidator ( ICasServices casServices, IUrlUtil urlUtil ) : System | ||
casServices | ICasServices | |
urlUtil | IUrlUtil | |
리턴 | System |
protected abstract 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 |
리턴 | ICasPrincipal |
protected RetrieveResponseFromServer ( string validationUrl, string ticket ) : string | ||
validationUrl | string | The validation URL to request |
ticket | string | The ticket parameter to pass to the URL |
리턴 | string |
public Validate ( string ticket ) : ICasPrincipal | ||
ticket | string | the ticket to validate |
리턴 | ICasPrincipal |