This content has been marked as final.
Show 1 reply
-
1. Re: Override JdbcRealmIdentity to pass custom principal name
aabdelsa Oct 16, 2019 5:16 PM (in response to jeevanraj61)You can use a principal-transformer to modify the principal. More specifically, you can use a pre-realm-principal-transformer to transform the principal before using it to load the identity from the realm. This blog post makes use of a custom pre-realm-principal-transformer: Implementing a custom Elytron principal transformer and this blog post explains the purpose and use of different principal-transformers: Darran's WildFly Blog: WildFly Elytron - Principal Transformers, Realm Mappings, and Principal Decoders