Nope, all that does is cause the attributes to have empty values in them:

2014-09-02 16:03:28,104 DEBUG
[org.jasig.cas.authentication.LdapAuthenticationHandler] - <Found
principal attribute: [uid[rat9]]>
2014-09-02 16:03:28,104 DEBUG
[org.jasig.cas.authentication.LdapAuthenticationHandler] - <Found
principal attribute: [mail[[email protected]]]>
2014-09-02 16:03:28,104 DEBUG
[org.jasig.cas.authentication.LdapAuthenticationHandler] - <Found
principal attribute: [cn[Register Test]]>
2014-09-02 16:03:28,104 DEBUG
[org.jasig.cas.authentication.LdapAuthenticationHandler] - <Found
principal attribute: [eduPersonPrincipalName[[email protected]]]>
2014-09-02 16:03:28,105 INFO
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] -
<LdapAuthenticationHandler successfully authenticated rat9+password>
2014-09-02 16:03:28,105 DEBUG
[org.jasig.cas.authentication.principal.PersonDirectoryPrincipalResolver] -
<Attempting to resolve a principal...>
2014-09-02 16:03:28,105 DEBUG
[org.jasig.cas.authentication.principal.PersonDirectoryPrincipalResolver] -
<Creating SimplePrincipal for [rat9]>
2014-09-02 16:03:28,105 DEBUG
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] -
<org.jasig.cas.authentication.principal.PersonDirectoryPrincipalResolver@a6937a
resolved rat9 from rat9+password>
2014-09-02 16:03:28,106 INFO
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] -
<Authenticated rat9 with credentials [rat9+password].>
2014-09-02 16:03:28,106 DEBUG
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] -
<Attribute map for rat9: {uid=, mail=, eduPersonPrincipalName=, cn=}>

On 9/2/14 3:03 PM, Marvin Addison wrote:
>> I tried dropping back to just a stub attributeRepository bean:
>>
>>     <bean id="attributeRepository"
>> class="org.jasig.services.persondir.support.StubPersonAttributeDao"
>>             p:backingMap-ref="attrRepoBackingMap" />
>>
>>     <util:map id="attrRepoBackingMap">
>>
>>         <entry key="uid" value="user" />
>>         <entry key="mail" value="email" />
>>         <entry key="cn" value="displayName" />
>>         <entry key="eduPersonPrincipalName" value="eduPersonPrincipalName"
>> />
>>     </util:map>
> Try empty values and see what happens, e.g.:
>
> <entry key="uid" value="" />
>
> Let me know whether or not that changes the behavior.
>
> M
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to