Hi all,
We moved over to Elytron and tried to implement a custom-realm-mapper which provides a Principal and Evidence to pass authentication requests to our custom SecurityRealms depending on the principal AND the evidence. However, the Evidence is always null in the realm mapper but is available in the security realm itself. What could cause this?
To give a quick overview:
Realm Mapper -> Security Realm
Realm Mapper: Principal = 'username', Evidence = null
Security Realm: Principal = 'username', Evidence = <Some Evidence>
Is there something I may be missing here in the configuration? This is what our structure looks like:
SecurityDomain (default realm mapper = SomeRealmMapper)
SecurityRealmA
SecurityRealmB
I couldn't find any blog posts or examples of a custom realm mapper which actually uses the evidence, so I was wondering if it could be a bug that it's always null for us?