
546
|
Chapter 29: The System.Web.Security Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
PassportAuthenticationEventArgs.Identity
Passed To
PassportAuthenticationEventArgs.PassportAuthenticationEventArgs( )
UrlAuthorizationModule
System.Web.Security (system.web.dll)
sealed class
ASP.NET uses this class automatically to determine whether access to a specified
resource (a URL requested by the client) should be allowed or denied, based on the
identity of the currently authenticated user. This class is used as needed, but is not
directly referenced in the web.config file. You can configure URL authorization by
adding a list of users or roles in the <allow> or <deny> elements of the <authorization>
section of a configuration file.
Both the FormsAuthenticationModule and PassportAuthenticationModule set the System.Web.HttpContext.
SkipAuthorization property to True when redirecting the client to a login page so they can
bypass the UrlAuthorizationModule checks.
public string GetLoginChallenge(string szRetURL, int iTimeWindow, int fForceLogin, string szCOBrandArgs, int iLangID,
string strNameSpace, int iKPP, int iUseSecureAuth, object oExtraParams);
public object GetOption(string strOpt);
public object GetProfileObject( string strProfileName);
public bool HasFlag( int iFlagMask);
public bool HasProfile(string strProfile ...