Encoding for Elytron properties realm
Issue
-
Migrating legacy
UsersRolesto new Elytron subsystem:<login-module code="UsersRoles" flag="required"> <module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"></module-option> <module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"></module-option> <module-option name="unauthenticatedIdentity" value="guest"></module-option> <module-option name="hashAlgorithm" value="MD5"/> <module-option name="hashEncoding" value="base64"/> </login-module>
Under Elytron it should be migrated as
<properties-realm groups-attribute="Roles" name="somerole">
<users-properties digest-realm-name="Application Security" path="users.properties" plain-text="false" relative-to="jboss.server.config.dir"></users-properties>
<groups-properties path="roles.properties" relative-to="jboss.server.config.dir"></groups-properties>
</properties-realm>
But we are unable to add the encoding
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss EAP)
- 7.4.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.