锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲第一成年免费网站,9色在线观看,超碰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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 建阳市| 广饶县| 峨眉山市| 广宁县| 东安县| 长宁区| 崇州市| 彰化县| 盱眙县| 铅山县| 昭觉县| 河北区| 上饶市| 红安县| 江北区| 科技| 泰兴市| 卓资县| 怀远县| 石家庄市| 本溪市| 黑河市| 岫岩| 云南省| 枣阳市| 阿尔山市| 竹溪县| 尚义县| 米脂县| 寻乌县| 那曲县| 镇江市| 南充市| 于都县| 汉阴县| 乌拉特后旗| 贵定县| 高碑店市| 江孜县| 吉木乃县| 巴林右旗|