Hi,
Hope u are doing good.
current in our application
we have a configured a X509 Jaas Authentication.
so our current authentication workflow happen as mention below
1. Client -> 2. Undertow (custom auth) -> 3. legacy security sub system custom login modules 4. authenitciated.
details:
1. client
client present its certificate through browser
2. Undertow we have a written a custom authentication mechanism. io.undrtow.security.spi.AuthenticationMechanism
this is responsible for account verification by taking out the client certificates and marking the exchange as authenticated. and set principal for further workflow as part of undetow account .
3. uising legacy security ahving a loginmodule which which
<security-domain name="ABSecurityDomain" cache-type="default">
<jsse client-auth="true" protocols="${ab.web.server.tls.protocols:TLSv1.2}" cipher-suites="${ab.web.server.tls.ciphers:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256}" keystore-url="${jboss.server.config.dir}/t.keystore" keystore-password="KS_PASSWORD" truststore-url="${jboss.server.config.dir}/t.truststore" truststore-password="TS_PASSWORD" keystore-type="pkcs12" truststore-type="pkcs12"/>
<authentication>
<login-module code="com.abc.X509LoginModule" module="com.abc.common" flag="requisite">
<module-option name="password-stacking" value="useFirstPass"/>
<module-option name="securityDomain" value="ABSecurityDomain"/>
</login-module>
</authentication>
</security-domain>
can u please give guidence on above steps to migrate the above configuraiton for wildlfy 26 probably using a custom realm based configuration. for above mention steps on how what we can do for each steps.
Thanks for anitcipation,
Akash Gupta