锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲毛片在线免费,97中文在线,九一在线视频http://www.aygfsteel.com/yuanqixun/category/51531.html鍏蟲敞Seam銆丅PMzh-cnWed, 25 Apr 2012 15:17:31 GMTWed, 25 Apr 2012 15:17:31 GMT60鍏充簬cas-server-webapp for ldap鐨刾rincipal鍏朵粬灞炴ц繑鍥炵殑闂http://www.aygfsteel.com/yuanqixun/archive/2012/04/25/376638.html璐濊礉鐖哥埜璐濊礉鐖哥埜Wed, 25 Apr 2012 15:12:00 GMThttp://www.aygfsteel.com/yuanqixun/archive/2012/04/25/376638.htmlhttp://www.aygfsteel.com/yuanqixun/comments/376638.htmlhttp://www.aygfsteel.com/yuanqixun/archive/2012/04/25/376638.html#Feedback0http://www.aygfsteel.com/yuanqixun/comments/commentRss/376638.htmlhttp://www.aygfsteel.com/yuanqixun/services/trackbacks/376638.html <bean id="serviceRegistryDao" class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl">
瀵艱嚧鏃犳硶榪斿洖principal鐨勫叾浠栧睘鎬у埌瀹㈡埛绔紝鍏跺疄璞¤繖鏍烽厤緗嵆鍙細<bean id="attributeRepository"
  class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
  <property name="contextSource" ref="contextSource" />
  <property name="baseDN" value="ou=users,${ldap.basePath}" />
  <property name="requireAllQueryAttributes" value="true" />
  <!--
  Attribute mapping beetween principal (key) and LDAP (value) names
  used to perform the LDAP search.  By default, multiple search criteria
  are ANDed together.  Set the queryType property to change to OR.
  
-->
  <property name="queryAttributeMapping">
    <map>
      <entry key="username" value="uid" />
    </map>
  </property>
 
  <property name="resultAttributeMapping">
    <map>
    <!-- Mapping beetween LDAP entry attributes (key) and Principal's (value) -->
    <entry key="name" value="userName"/>
    <entry key="uid" value="userId"/>
    </map>
  </property>
</bean>

    <bean id="serviceRegistryDao" class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl">
        <property name="registeredServices">
            <list>
                <bean class="org.jasig.cas.services.RegisteredServiceImpl">
                    <property name="id" value="0" />
                    <property name="name" value="HTTP" />
                    <property name="description" value="Only Allows HTTP Urls" />
                    <property name="serviceId" value="http://**" />
                    <property name="evaluationOrder" value="10000001" />
                    <property name="ignoreAttributes" value="true" />
                </bean>
                                ………………
                        </list>
                </property>
        </bean>
濡備笂鎵紺猴紝鍏朵腑娉ㄥ唽鐨勬湇鍔?span style="color: #0000ff; font-size: 13px; background-color: #eeeeee; ">registeredServices
榛樿鏄笉鍏佽榪斿洖鍏朵粬灞炴у埌瀹㈡埛绔殑錛侊紒錛侊紒錛侊紝鐪熺殑鏄緢鍧戠埞鍟婏紝涓嶈繃錛岄厤緗竴涓媔gnoreAttributes鍗沖彲錛屼篃鍙互鎸囧畾allowedAttributes
濡備笅錛?br />
<property name="allowedAttributes">
    <list>
            <value><!-- your attribute key --></value>
    </list>
</property>


璐濊礉鐖哥埜 2012-04-25 23:12 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 彭阳县| 德令哈市| 海淀区| 米脂县| 滦平县| 襄汾县| 安溪县| 济宁市| 荥阳市| 定远县| 凌海市| 和政县| 桐柏县| 濉溪县| 酉阳| 安乡县| 宁都县| 泸定县| 东阳市| 石渠县| 阿拉善右旗| 运城市| 宁都县| 芒康县| 阜平县| 余干县| 咸宁市| 麻栗坡县| 库尔勒市| 沾化县| 汕尾市| 潞西市| 西和县| 舟曲县| 绥阳县| 乌恰县| 丹寨县| 平南县| 富阳市| 白河县| 隆回县|