Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7270

Configuring more password types should be allowed for Elytron filesystem-realm identity in CLI

    XMLWordPrintable

Details

    • Hide

      Start server with standalone-elytron.xml and run following CLI commands:

      /subsystem=elytron/filesystem-realm=fsrealm:add(path=/tmp/fsrealm)
      /subsystem=elytron/filesystem-realm=fsrealm/identity=admin:add()
      /subsystem=elytron/filesystem-realm=fsrealm/identity=admin:set-password(digest={algorithm=digest-md5,password=password1,realm=realm},clear={password=password2})
      

      Check /tmp/fsrealm/a/d/admin.xml file that only bcrypt password is used.

      Show
      Start server with standalone-elytron.xml and run following CLI commands: /subsystem=elytron/filesystem-realm=fsrealm:add(path=/tmp/fsrealm) /subsystem=elytron/filesystem-realm=fsrealm/identity=admin:add() /subsystem=elytron/filesystem-realm=fsrealm/identity=admin:set-password(digest={algorithm=digest-md5,password=password1,realm=realm},clear={password=password2}) Check /tmp/fsrealm/a/d/admin.xml file that only bcrypt password is used.

    Description

      In case when two password are part of set-password operation for identity of Elytron filesystem-realm then only first of them is used and others are discarded. Configuring multiple credentials for one idenetity should be supported [1].

      [1] https://issues.jboss.org/browse/WFLY-7584?focusedCommentId=13322919&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13322919

      Attachments

        Issue Links

          Activity

            People

              psilva@redhat.com Pedro Igor Craveiro
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: