"Welcome Unrecognized User"

Why do I see the message "Welcome unrecognized user" in the header of my portal?

This incorrect message is most likely caused by improper configuration of the LDAP within the .../uportal-war/src/main/resources/properties/contexts/personDirectoryContext.xml file. The portal uses a set of key/value pairs called 'attributes' to map LDAP information to uPortal. For example, the displayName is a value in LDAP. The attribute tag allows this piece of information to be mapped to uPortal, where it is expected to be called 'displayName'.

Please make sure that the key/value pairs in personDirectoryContext.xml match those offered by your local LDAP server. Below is an example of attribute mappings in personDirectoryContext.xml: In particular, displayName populates what is seen after "Welcome: <displayName>" so check that you have this mapped correctly with LDAP.

Also, verify that the LDAP server information is correct in both .../uportal-war/src/main/resources/properties/contexts/personDirectoryContext.xml and .../uportal-war/src/main/resources/properties/contexts/ldapContext.xml and that the server has access to the LDAP services.

 <property name="resultAttributeMapping">
  <map>
   <entry key="eduPersonPrimaryAffiliation">
    <value>eduPersonPrimaryAffiliation</value>
   </entry>
   <entry key="eduPersonAffiliation">
    <value>eduPersonAffiliation</value>
   </entry>
   <entry key="eduPersonNickname">
    <set>
      <value>eduPersonNickname</value>
      <value>user.name.nickName</value>
    </set>
   </entry>
   <entry key="eduPersonOrgDN">
    <set>
     <value>eduPersonOrgDN</value>
     <value>user.employer</value>
    </set>
   </entry>
   <entry key="eduPersonOrgUnitDN">
    <set>
     <value>eduPersonOrgUnitDN</value>
     <value>user.department</value>
    </set>
   </entry>
   <entry key="eduPersonPrimaryAffiliation">
     <value>eduPersonPrimaryAffiliation</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="givenName">
    <set>
     <value>givenName</value>
     <value>user.name.given</value>
    </set>
   </entry>
   <entry key="mail">
    <set>
      <value>mail</value>
      <value>user.home-info.online.email</value>  
    </set>
  </entry>
  <entry key="ou">
    <value>ou</value>
  </entry>
  <entry key="sn">
   <set>
     <value>sn</value>
     <value>user.name.family</value>
   </set>
  </entry>
  <entry key="uid">
    <value>uid</value>
  </entry>
 </map>
</property>

Additional References

 

Having problems with these instructions?

Please send us feedback at uportal-user@lists.ja-sig.org

Add Feedback content box here.....