documentation.resx
来自「一种Portal的实现源码」· RESX 代码 · 共 16 行
RESX
16 行
<?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 + =
减小字号Ctrl + -
显示快捷键?