Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-610

Provide a quickstart about how to add new users on EAP using jboss-cli

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 7.12.0.GA
    • None
    • RHDM, RHPAM
    • None

    Description

      With the migration from the legacy security subsystem to elytron, we are now using the Elytron FileSystem provider, which allow users to be added using JBoss CLI:

       

      /subsystem=elytron/filesystem-realm=KieFsRealm:add-identity(identity=user1)
      /subsystem=elytron/filesystem-realm=KieFsRealm:set-password(identity=user1, clear={password="pass123*"})
      /subsystem=elytron/filesystem-realm=KieFsRealm:add-identity-attribute(identity=user1, name=role, value=["kie-server","rest-all","admin","kiemgmt","Administrators","user"]) 

      On Container images it can be added using the Post Configure feature to execute a jboss cli script.

       

      Attachments

        Activity

          People

            rhn-support-fspolti Filippe Spolti
            rhn-support-fspolti Filippe Spolti
            Jakub Schwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: