<?xml version="1.0"?>
<doc>
<assembly>
<name>DotNetCasClient</name>
</assembly>
<members>
<member name="T:DotNetCasClient.Validation.TicketValidationException">
<summary>
Generic exception to be thrown when ticket validation fails.
</summary>
<remarks>
This is the .Net port of org.jasig.cas.client.validation.TicketValidationException
</remarks>
<author>Scott Battaglia</author>
<author>William G. Thompson, Jr. (.Net)</author>
<author>Scott Holodak (.Net)</author>
</member>
<member name="M:DotNetCasClient.Validation.TicketValidationException.#ctor(System.String)">
<summary>
Constructs an exception with the supplied message.
</summary>
<param name="message">the message</param>
</member>
<member name="M:DotNetCasClient.Validation.TicketValidationException.#ctor(System.String,System.Exception)">
<summary>
Constructs an exception with the supplied message and chained exception
</summary>
<param name="message">the message</param>
<param name="exception">the original exception</param>
</member>
<member name="M:DotNetCasClient.Validation.TicketValidationException.#ctor(System.String,System.String)">
<summary>
Constructs an exception with the supplied message.
</summary>
<param name="message">the message</param>
<param name="code">the CAS service response error code</param>
</member>
<member name="M:DotNetCasClient.Validation.TicketValidationException.#ctor(System.String,System.String,System.Exception)">
<summary>
Constructs an exception with the supplied message and chained exception
</summary>
<param name="message">the message</param>
<param name="code">the CAS service response error code</param>
<param name="exception">the original exception</param>
</member>
<member name="P:DotNetCasClient.Validation.TicketValidationException.Code">
<summary>
The error code contained in the CAS service response.
</summary>
</member>
<member name="T:DotNetCasClient.CasAuthenticationModule">
<summary>
HttpModule implementation to intercept requests and perform authentication via CAS.
</summary>
<author>Marvin S. Addison</author>
<author>Scott Holodak</author>
<author>William G. Thompson, Jr.</author>
<author>Catherine D. Winfrey</author>
</member>
<member name="M:DotNetCasClient.CasAuthenticationModule.Init(System.Web.HttpApplication)">
<summary>
Performs initializations / startup functionality when an instance of this HttpModule
is being created.
</summary>
<param name="context">the current HttpApplication</param>
</member>
<member name="M:DotNetCasClient.CasAuthenticationModule.Dispose">
<summary>
Performs cleanup when an instance of this HttpModule is being destroyed.
</summary>
</member>
<member name="M:DotNetCasClient.CasAuthenticationModule.OnBeginRequest(System.Object,System.EventArgs)">
<summary>
Intercepts the beginning of the request pipeline. This will detect SingleSignOut
requests. SingleSignOut requests are posted back to the serviceName URL that
was passed when the CAS session was established. Since the behavior of the script
at that URL is unknown, a POST back by the CAS server could have unexpected
consequences. We want to prevent this request from authenticating and from
executing the HttpHandler typically associated with that URL. So we are handling
this by sending back an HTTP 200 (OK) message with a blank body and short
circuiting all event processing and firing EndRequest directly
(via CompleteRequest()).
</summary>
<param name="sender">The HttpApplication that sent the request</param>
<param name="e">Not used</param>
</member>
<member name="M:DotNetCasClient.CasAuthenticationModule.OnAuthenticateRequest(System.Object,System.EventArgs)">
<summary>
Handles the authentication of the request.
If the request contains a ticket, this will validate the ticket and create a
FormsAuthenticationTicket and encrypted cookie container for it. It will redirect
to remove the ticket from the URL. With Forms-based authentication, this is
required to prevent the client from automatically/silently re-authenticating on a
refresh or after logout.
If the request does not contain a ticket, it checks for a FormsAuthentication
cookie, decrypts it, extracts the FormsAuthenticationTicket, verifies that it
exists in the StateProvider/ServiceTicketManager, and assigns a Principal to the
thread and context.User properties. All events after this request become
authenticated.
</summary>
<param name="sender">The HttpApplication that sent the request</param>
<param name="e">Not used</param>
</member>
<member name="M:DotNetCasClient.CasAuthenticationModule.OnEndRequest(System.Object,System.EventArgs)">
<summary>
EndRequest is used to trigger the appropriate redirection. There are
currently three scenarios that require special redirections.
<list>
<item>
Request is unauthenticated and is being routed to the FormsLoginUrl
(typically caused by UrlAuthorizationModule). This request needs to
be intercepted to change the 'ReturnUrl' parameter to 'serviceName'
</item>
<item>
Request contains a CAS ticket in the URL. This request needs to be
redirected back to itself without the 'ticket' parameter in order to
avoid potential infinite automatic ticket validation loops for when
a the ticket in the URL has expired or was revoked and the Renew
configuration parameter is set.
</item>
<item>
Request is authenticated, but is not authorized to access the
requested resource (by UrlAuthorizationModule). If the CAS is
configured with a NotAuthorizedUrl, the request is redirected to
that page. Otherwise, it is redirected to the CAS login page with
a forced 'Renew' property (to prevent infinite redirect loops).
</item>
</list>
</summary>
<param name="sender">The HttpApplication that sent the request</param>
<param name="e">Not used</param>
</member>
<member name="T:DotNetCasClient.Security.CasPrincipal">
<summary>
Implementation of ICasPrincipal.
</summary>
<remarks>
ICasPrincipal is the .Net port of
org.jasig.cas.client.authentication.AttributePrincipalImpl
</remarks>
<author>Scott Battaglia</author>
<author>William G. Thompson, Jr. (.Net)</author>
<author>Scott Holodak (.Net)</author>
</member>
<member name="T:DotNetC
评论22
最新资源