Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-416

Unable to add FileSystem realm when no relative-to attribute is provided

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • Realms
    • None
    • Hide
      [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=testrealm:add(path="/tmp/fsrealm")
      {
          "outcome" => "failed",
          "failure-description" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.security-realm.testrealm is missing [jboss.server.path.undefined]"]},
          "rolled-back" => true
      }
      

      And the server log contains:

      14:45:11,917 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 7) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "elytron"),
          ("filesystem-realm" => "testrealm")
      ]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.security-realm.testrealm is missing [jboss.server.path.undefined]"]}
      14:45:11,929 INFO  [org.jboss.as.controller] (management-handler-thread - 7) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service jboss.server.path.undefined (missing) dependents: [service org.wildfly.security.security-realm.testrealm] 
      
      Show
      [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=testrealm:add(path= "/tmp/fsrealm" ) { "outcome" => "failed" , "failure-description" => { "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "org.wildfly.security.security-realm.testrealm is missing [jboss.server.path.undefined]" ]}, "rolled-back" => true } And the server log contains: 14:45:11,917 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 7) WFLYCTL0013: Operation ( "add" ) failed - address: ([ ( "subsystem" => "elytron" ), ( "filesystem-realm" => "testrealm" ) ]) - failure description: { "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "org.wildfly.security.security-realm.testrealm is missing [jboss.server.path.undefined]" ]} 14:45:11,929 INFO [org.jboss.as.controller] (management-handler-thread - 7) WFLYCTL0183: Service status report WFLYCTL0184: New missing/unsatisfied dependencies: service jboss.server.path.undefined (missing) dependents: [service org.wildfly.security.security-realm.testrealm]

    Description

      The FileSystemRealmDefinition doesn't handle correctly "relative-to" attribute when it's not provided.

      Attachments

        Activity

          People

            jkalina@redhat.com Jan Kalina (Inactive)
            josef.cacek@gmail.com Josef Cacek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: