⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 documentation.resx

📁 一种Portal的实现源码
💻 RESX
字号:
<?xml version="1.0" encoding="UTF-8"?>
<?xmlspysps http://www.altova.com/sps/template/dita/dita.sps?>
<dita xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<topic id="AddModule" xml:lang="en">
		<title>SignInLdap - An Introduction</title>
		<prolog>
			<metadata>
				<keywords>
					<keyword>LDAP</keyword>
				</keywords>
			</metadata>
		</prolog>
		<body>
			<p></p>
			<p>The SignInLDAP module has followed the implementation of the SignIn module. A LDAP signin is done with the help of the LDAPHelper class which stores the user information into a cookie by using FormsAuthentication.SetAuthCookie().</p>
			<p><codeblock>LDAPHelper.cs line # 151    </codeblock><codeblock>Rainbow.Security.User usr = LDAPHelper.Login(dn, password);  </codeblock><codeblock>if (usr != null)  {  ...  FormsAuthentication.SetAuthCookie(usr.ToString(), persistent);   ...  </codeblock> When the application authentication is requested, a RinbowPrincipal and a User are created and reassigned to the Context.User with indicating as a 鈥淟DAP鈥

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -