Pages enfant
  • 04 - Attributs utilisateur (PersonDirs)

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Rechercher le bean uPortalLdapAttributeSource :

Bloc de code
       <!-- LDAP Person Attribute Source, uses the default ILdapServer via the LdapServices.getDefaultLdapServer method call -->
       @bg.use.ldap.persondirs@ <bean id="uPortalLdapAttributeSource" class="org.jasig.portal.services.persondir.support.LdapPersonAttributeDaoImpl">
               <property name="ldapServer">
                       <ref bean="defaultLdapServer"/>
               </property>
               <property name="queryAttributes">
            <list>
                           <list>
                <value>username</value>
                       </list>
               </property>
               <property name="query">
                       <value>(uid={0})</value>
               </property>
               <property name="ldapAttributesToPortalAttributes">
            <map>
                           <map>
                <entry key="eduPersonPrimaryAffiliation">
                    <set>
                        <value>uPortalTemplateUserName</value>
                        <value>eduPersonPrimaryAffiliation</value>
                    </set>
                </entry>
                                       <set>
                        <value>uPortalTemplateUserName</value>
                        <value>eduPersonPrimaryAffiliation</value>
                    </set>
                </entry>
                <entry key="supannCodeINE">
                    		<value>supannCodeINE</value></entry>
                               <entry key="supannEtuId">
                      		<value>supannEtuId</value></entry>
                               <entry key="supannEmpId">
                      		<value>supannEmpId</value></entry>
                               <entry key="@esup.ldap.groups.etu.formation@">
           <value>esupEtuFormation</value></entry>
                               <entry key="eduPersonAffiliation">
                    	<value>eduPersonAffiliation</value></entry>
                               <entry key="eduPersonNickname">
                    	<value>eduPersonNickname</value></entry>
                               <entry key="eduPersonPrincipalName">
                	<value>eduPersonPrincipalName</value></entry>
                               <entry key="cn">
                                                        	<value>cn</value></entry>
                               <entry key="description">
                                      	<value>description</value></entry>
                               <entry key="displayName">
                                      	<value>displayName</value></entry>
                               <entry key="facsimileTelephoneNumber">
            	<value>facsimileTelephoneNumber</value></entry>
                               <entry key="givenName">
                                          	<value>givenName</value></entry>
                               <entry key="mail">
                                                    	<value>mail</value></entry>
                               <entry key="sn">
                                                        	<value>sn</value></entry>
                               <entry key="telephoneNumber">
                              	<value>telephoneNumber</value></entry>
                               <entry key="uid">
                                                      	<value>uid</value></entry>
                       </map>
               </property>
       </bean>
               <bean id="defaultLdapServer" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
               <property name="staticMethod">
                       <value>org.jasig.portal.ldap.LdapServices.getDefaultLdapServer</value>
               </property>
       </bean> @end.use.ldap.persondirs@     persondirs@