Hi everybody,
I'm trying to migrate an old Wildfly configuration over to Elytron and got the following config where I don't know how to migrate them correctly:
<security-domain cache-type="default" name="XmlDb">
<authentication>
<login-module code="SecureIdentity" flag="required">
<module-option name="username" value="someUser" />
<module-option name="password" value="24421387eee4a616df8592078de921bc />
</login-module>
</authentication>
<authorization>
<policy-module code="Delegating" flag="required" />
</authorization>
</security-domain>
Also there is an other domain using an existing JAAS Login Module that is using an configured datasource like so:
<security-domain name="jmx-console">
<authentication>
<login-module code="somedomain.CustomLoginModule" flag="required" module="somedomain.jaas">
<module-option name="jndiDataSource" value="java:/someDataSource" />
</login-module>
<login-module code="org.jboss.security.auth.spi.RoleMappingLoginModule" flag="required">
<module-option name="rolesProperties" value="file:${jboss.server.config.dir}/jmxrolemapping.properties" />
<module-option name="replaceRole" value="false" />
</login-module>
</authentication>
</security-domain>
In both cases I do not see what the correct way would be to define those in Elytron or may implement them in some way. I would appreciate any hint on how to migrate those or where to look for more information...
Best regards
Patrick