2 Replies Latest reply on Sep 21, 2017 4:24 AM by Mylos Kathos

    wildfly-config.xml example for EJB client

    Mylos Kathos Master

      Hi all,

      I'm looking for an example Elytron wildfly-config.xml file which can be used as replacement for my older jboss-ejb-client.properties.

      So far I've found one example configuration:

        <authentication-client xmlns="urn:elytron:1.0">
              <authentication-rules>
                  <rule use-configuration="default"/>
              </authentication-rules>
              <authentication-configurations>
                  <configuration name="default">
                      <sasl-mechanism-selector selector="DIGEST-MD5"/>
                      <set-user-name name="joe"/>
                      <credentials>
                          <clear-password password="joeIsAwesome2013!"/>
                      </credentials>
                  </configuration>
              </authentication-configurations>
      </authentication-client>
      

      The problem with this is that I don't want to use a cleartext password, but the secret generated with add-user.sh or, as an alternative, just specify that the user needs to belong to a group. Is there any example configuration for it?

       

      Thanks

       

      Mylos