Hello,
I have a custom security realm class DatawaveSecurityRealm that implements CacheableSecurityRealm (Wildfly 26). I want to capture the configuration properties that I set for the security realm below (certVerifier, oscpLevel, etc) and ensure they are passed to the security realm instance during an authentication attempt.
# Create a custom realm that handles preparing the DatawavePrincipal for authentication.
/subsystem=elytron/custom-realm=datawaveRealm:add( \
class-name=datawave.security.realm.DatawaveSecurityRealm, \
module="datawave.security.elytron", \
configuration={ \
certVerifier="datawave.security.cert.DatawaveCertVerifier", \
ocspLevel="off", \
trustedHeadersEnabled="${dw.trusted.header.authentication:false}" \
})
How can I capture these properties during runtime?
Thanks,
Laura