External SAML2 identity provider ID

20 views
Skip to first unread message

Filip Majernik

unread,
Oct 9, 2017, 11:28:01 AM10/9/17
to CAS Community
If I use a delegated SAML2 authentication with the cas-server-support-pac4j-webflow dependency I have the ability to use the typed User ID which is a concatenation of the provider identifier and the local user ID (i.e. FacebookProfile#1234). This is nice, however, It takes the provider ID from the class name of the particular UserProfile implementation. So for my SAML2 identity provider this would be org.pac4j.saml.profile.SAML2Profile#<user_id>. Is there any way how to specify this in the configuration, or somehow provide your own UserProfile with this method overriden? If I would have two different SAML2 providers and they would contain two same user userIDs which are for different users I cannot distinguish between them.
Reply all
Reply to author
Forward
0 new messages