Hi,

I think I might have hit this too in 6.5.0-RC2. After some debugging it 
looks like the original principal and the new one are hitting 
the ChainingPrincipalElectionStrategy::nominate method and the one we want 
(that honours principal-attribute) is losing to the "original". I need to 
do more debugging if I can see how to change this behaviour.

Did you get anywhere?

Cheers

Sam

On Wednesday, 19 January 2022 at 10:18:51 UTC Lars Feistner wrote:

> Hi everybody,
>
>
> we recently switched from version 5.x to 6.4.4.2. In version 5 we used the 
> setting 
> cas.personDirectory.principalAttribute=id 
> to switch the id of the UserProfil to be the id and not the login.
>
> Now in version 6.4.4.2 I used the same setting 
> cas.person-directory.principal-attribute=id but after login in the web view I 
> see the login instead of the id.
>
>
>
>
> Is this a bug in 6.4.42 or did I use the wrong setting to do this or what do 
> I have to do to switch the principal id from login to id?
>
> Thank you,
> Lars
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a54f1925-37a4-4cf2-a46b-4a6aba3a4c1en%40apereo.org.

Reply via email to