<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[LDAP精华]LDAP研究过滤器的字符串表达]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Thu, 16 Aug 2007 09:26:52 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	这备忘录的状况<br/> &nbsp; &nbsp;这备忘录提供信息为了这个互连网社会。这备忘录不指定任何一种性质的互连网的标<br/>准。这备忘录的发行是无限期的。<br/>摘要<br/>这LDAP（1）定义了一个研究过滤器的网络表示法来传送给一个LDAP服务器。一些<br/>应用软件可以发现它的用处来拥有描绘这个研究过滤器的一个普通的方法以一个人类能读<br/>的形式。这个文档定义了一个人类能读的字符串格式为了LDAP研究过滤器。<br/>目录<br/>1。LDAP研究过滤器的定义&nbsp;&nbsp;2<br/>2。 字符串研究过滤器定义&nbsp;&nbsp;2<br/>3。 例子&nbsp;&nbsp;3<br/>4。 安全考虑&nbsp;&nbsp;3<br/>5。 参考&nbsp;&nbsp;3<br/>6。 作者地址&nbsp;&nbsp;4<br/><br/>1。LDAP研究过滤器的定义<br/> &nbsp; &nbsp;一个LDAP研究过滤器是被定义为如下（1）：<br/> &nbsp; &nbsp;Filter ::=CHOICE (<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (0) SET OF Filter,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;or &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(1) SET OF Filter,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;not &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (2) Filter,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;equalityMatch &nbsp; &nbsp; &nbsp; (3) AttributeValueAssertion,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;substrings &nbsp; &nbsp; &nbsp; &nbsp; [4] SubstringFilter,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;greaterOrEqual &nbsp; &nbsp; [5] AttributeValueAssertion,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lessOrEqual &nbsp; &nbsp; &nbsp; &nbsp;[6] AttributeValueAssertion,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;present &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[7] AttributeType,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;approxMatch &nbsp; &nbsp; &nbsp; &nbsp;[8] AttributeValueAssertion<br/> &nbsp; &nbsp; &#125;<br/><br/> &nbsp; &nbsp; SubstringFilter ::= SEQUENCE &#123;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type &nbsp; &nbsp;AttributeType,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEQUENCE OF CHOICE &#123;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; initial &nbsp; &nbsp; &nbsp; &nbsp;[0] LDAPString,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; any &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[1] LDAPString,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; final &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[2] LDAPString<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#125;<br/> &nbsp; &nbsp; &#125;<br/><br/> &nbsp; &nbsp; AttributeValueAssertion ::= SEQUENCE<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; attributeType &nbsp; AttributeType,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; attributeValue &nbsp;AttributeValue<br/> &nbsp; &nbsp; &#125;<br/><br/> &nbsp; &nbsp; AttributeType ::= LDAPString<br/><br/> &nbsp; &nbsp; AttributeValue ::= OCTET STRING<br/><br/> &nbsp; &nbsp; LDAPString ::= OCTET STRING<br/> &nbsp; &nbsp;这LDAPString上面的地方是有限在这IA5字符集里。这AttributeType是属性对象标识<br/>符的一个字符串的表示法在这个星罗棋布的OID格式(e.g.,"2.5.4.10"),或者这个属性的更短<br/>的字符串(e.g.,"organizationName",or"o").这AttributeValue<br/>OCTET STRING有形式定义在（2）。这过滤器是为了传送使用基本编码规则定义的网络而<br/>被编码在（3），以及简化描述在（1）。<br/>2。 字符串研究过滤器定义<br/> &nbsp; &nbsp;一个LDAP研究过滤器的字符串表示法是通过下列的BNF而被定义的。它使用一个前<br/>缀格式。<br/><br/> &nbsp; &nbsp; <filter> ::= '(' <filtercomp> ')'<br/> &nbsp; &nbsp; <filtercomp> ::= <and> &#124; <or> &#124; <not> &#124; <item><br/> &nbsp; &nbsp; <and> ::= '&' <filterlist><br/> &nbsp; &nbsp; <or> ::= '&#124;' <filterlist><br/> &nbsp; &nbsp; <not> ::= '!' <filter><br/> &nbsp; &nbsp; <filterlist> ::= <filter> &#124; <filter> <filterlist><br/> &nbsp; &nbsp; <item> ::= <simple> &#124; <present> &#124; <substring><br/> &nbsp; &nbsp; <simple> ::= <attr> <filtertype> <value><br/> &nbsp; &nbsp; <filtertype> ::= <equal> &#124; <approx> &#124; <greater> &#124; <less><br/> &nbsp; &nbsp; <equal> ::= '='<br/> &nbsp; &nbsp; <approx> ::= '~='<br/> &nbsp; &nbsp; <greater> ::= '>='<br/> &nbsp; &nbsp; <less> ::= '<='<br/> &nbsp; &nbsp; <present> ::= <attr> '=*'<br/> &nbsp; &nbsp; <substring> ::= <attr> '=' <initial> <any> <final><br/> &nbsp; &nbsp; <initial> ::= NULL &#124; <value><br/> &nbsp; &nbsp; <any> ::= '*' <starval><br/> &nbsp; &nbsp; <starval> ::= NULL &#124; <value> '*' <starval><br/> &nbsp; &nbsp; <final> ::= NULL &#124; <value><br/> &nbsp; &nbsp;<attr>是一个字符串象征一个AttributeType,和有一个格式定义在（1）。<value>是一个字<br/>符串象征AttributeValue, <br/>或者一部分，和有这个格式定义在（2）。假如一个<value>必须包含字符‘*’或者‘（‘or’）’<br/>的一个，这些字符应该被避免包含这反斜线符号‘&#92;’字符。<br/>3。 例子<br/> &nbsp; &nbsp;这一段给予了一些使用这个标志的研究过滤器的一些例子。<br/> &nbsp; &nbsp; (cn=Babs Jensen)<br/> &nbsp; &nbsp; (!(cn=Tim Howes))<br/> &nbsp; &nbsp; (&(objectClass=Person)(&#124;(sn=Jensen)(cn=Babs J*)))<br/> &nbsp; &nbsp; (o=univ*of*mich*) <br/>4。 安全考虑<br/> &nbsp; &nbsp;安全问题没在这个备忘录中讨论。<br/>5。 参考<br/> &nbsp; &nbsp; [1] Yeong, W., Howes, T., and S. Kille, "Lightweight Directory Access<br/> &nbsp; &nbsp; &nbsp; Protocol", RFC 1487, Performance Systems International,<br/> &nbsp; &nbsp; &nbsp; University of Michigan, ISODE Consortium, July 1993.<br/><br/> &nbsp; &nbsp; [2] Howes, T., Kille, S., Yeong, W., and C. Robbins, "The String<br/> &nbsp; &nbsp; &nbsp; Representation of Standard Attribute Syntaxes", RFC 1488,<br/> &nbsp; &nbsp; &nbsp; University of Michigan, ISODE Consortium, Performance Systems<br/> &nbsp; &nbsp; &nbsp; International, NeXor Ltd., July 1993.<br/><br/> &nbsp; &nbsp; [3] "Specification of Basic Encoding Rules for Abstract Syntax<br/> &nbsp; &nbsp; &nbsp; Notation One (ASN.1)", CCITT Recommendation X.209, 1988.<br/>6。 作者地址<br/> &nbsp; &nbsp; &nbsp; Tim Howes<br/> &nbsp; &nbsp; &nbsp; University of Michigan<br/> &nbsp; &nbsp; &nbsp; ITD Research Systems<br/> &nbsp; &nbsp; &nbsp; 535 W William St.<br/> &nbsp; &nbsp; &nbsp; Ann Arbor, MI 48103-4943<br/> &nbsp; &nbsp; &nbsp; USA<br/><br/> &nbsp; &nbsp; &nbsp; Phone: +1 313 747-4454<br/> &nbsp; &nbsp; &nbsp; EMail: tim@umich.edu<br/><br/><br/>RFC1558——A String Representation of LDAP Search Filters &nbsp; &nbsp; LDAP研究过滤器的字符串表达<br/>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [LDAP精华]LDAP研究过滤器的字符串表达]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>