Skip to content

Commit

Permalink
Enable user attribute mapping
Browse files Browse the repository at this point in the history
Users in keycloak have their user details which are a fixed number of
fields, and they also have attributes, which can be added to in a
key-value format. The former (user details) could be added in the WSFED
client mappers to be transmitted in the SAML tokens, but the latter
could not.

The class which would allow these attributes to be added already
existed (SAMLUserAttributeStatementMapper), but was not accessible from
the webfront. This correction enables the class to be accessed by
recording it as a ProtocolMapper. This is simply done by adding the full
classpath of the class in the appropriate file (the file modified with
this commit).
  • Loading branch information
Alistair Doswald committed Dec 21, 2017
1 parent 5e10335 commit 4e1a174
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ com.quest.keycloak.protocol.wsfed.mappers.OIDCAddressMapper
com.quest.keycloak.protocol.wsfed.mappers.OIDCFullNameMapper
com.quest.keycloak.protocol.wsfed.mappers.OIDCUserPropertyMapper
com.quest.keycloak.protocol.wsfed.mappers.SAMLRoleListMapper
com.quest.keycloak.protocol.wsfed.mappers.SAMLUserPropertyAttributeStatementMapper
com.quest.keycloak.protocol.wsfed.mappers.SAMLUserPropertyAttributeStatementMapper
com.quest.keycloak.protocol.wsfed.mappers.SAMLUserAttributeStatementMapper

0 comments on commit 4e1a174

Please sign in to comment.