Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2480

Unable to execute the domain cli script due bug in AS 7

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 8.4
    • 8.4
    • Build/Kits
    • None
    • Workaround Exists
    • Hide

      Split the step for adding authentication into 2 steps:
      /profile=ha/subsystem=security/security-domain=teiid-security/authentication=classic:add
      /profile=ha/subsystem=security/security-domain=teiid-security/authentication=classic/login-module=UsersRolesLoginModule:add(code=org.jboss.security.auth.spi.UsersRolesLoginModule, flag=required, module-options=[("usersProperties"=>"$

      {jboss.domain.config.dir}

      /teiid-security-users.properties"), ("rolesProperties"=>"${jboss.domain.config.dir}
      /teiid-security-roles.properties")])

      Show
      Split the step for adding authentication into 2 steps: /profile=ha/subsystem=security/security-domain=teiid-security/authentication=classic:add /profile=ha/subsystem=security/security-domain=teiid-security/authentication=classic/login-module=UsersRolesLoginModule:add(code=org.jboss.security.auth.spi.UsersRolesLoginModule, flag=required, module-options=[("usersProperties"=>"$ {jboss.domain.config.dir} /teiid-security-users.properties"), ("rolesProperties"=>"${jboss.domain.config.dir} /teiid-security-roles.properties")])

    Description

      I'm using EAP 6.1 ER5, and trying to execute the following using CLI:
      /profile=ha/subsystem=security/security-domain=teiid-security:add(cache-type=default)
      /profile=ha/subsystem=security/security-domain=teiid-security/authentication=classic/:add(login-modules=[

      {"code"=>"org.jboss.security.auth.spi.UsersRolesLoginModule", "flag"=>"required", "module-options"=>[("usersProperties"=>"$ {jboss.domain.config.dir}

      /teiid-security-users.properties"), ("rolesProperties"=>"${jboss.domain.config.dir}
      /teiid-security-roles.properties")]}])
      but I get the message:

      "failure-description" => "JBAS014884: No operation named 'composite' exists at address [

      The resolution is the workaround. However, this workaround needs to be applied to the script to make it work.

      Attachments

        Issue Links

          Activity

            People

              van.halbert Van Halbert (Inactive)
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: