Encoding for Elytron properties realm

Solution Verified - Updated -

Issue

  • Migrating legacy UsersRoles to 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content