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

Not possible to create Elytron custom credetial security factory in standalone mode

XMLWordPrintable

    • Hide
      • start EAP in standalone mode with Elytron subsystem enabled
      • using web console navigate to Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Factory > Custom Credential Security
      • try to add the factory, no way how to enter module
      Show
      start EAP in standalone mode with Elytron subsystem enabled using web console navigate to Configuration: Subsystems > Subsystem: Security - Elytron > Settings: Factory > Custom Credential Security try to add the factory, no way how to enter module

      At least in standalone mode it's not possible to add the factory since the dialog for factory creation is missing module field and user gets

      Unexpected HTTP response: 500
      
      Request
      {
          "name" => "test",
          "class-name" => "TestClass",
          "address" => [
              ("subsystem" => "elytron"),
              ("custom-credential-security-factory" => "test")
          ],
          "operation" => "add"
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "failure-description" => {
              "WFLYCTL0080: Failed services" => {"org.wildfly.security.security-factory.credential.test" => "org.jboss.msc.service.StartException in service org.wildfly.security.security-factory.credential.test: java.lang.ClassNotFoundException: TestClass from [Module \"org.wildfly.extension.elytron:main\" from local module loader @629f0666 (finder: local module finder @1bc6a36e (roots: /home/pjelinek/servers/7.1.0.DR9/jboss-eap-7.1/modules,/home/pjelinek/servers/7.1.0.DR9/jboss-eap-7.1/modules/system/layers/base))]
          Caused by: java.lang.ClassNotFoundException: TestClass from [Module \"org.wildfly.extension.elytron:main\" from local module loader @629f0666 (finder: local module finder @1bc6a36e (roots: /home/pjelinek/servers/7.1.0.DR9/jboss-eap-7.1/modules,/home/pjelinek/servers/7.1.0.DR9/jboss-eap-7.1/modules/system/layers/base))]"},
              "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.security-factory.credential.test"],
              "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
          },
          "rolled-back" => true
      }
      

      Moreover there seems to be no point to create such factory without specified module unless there is another way how to e.g. deploy and register such capability but this is not documented.

            cmiranda@redhat.com Claudio Miranda
            pjelinek@redhat.com Pavel Jelinek
            Pavel Jelinek Pavel Jelinek
            Pavel Jelinek Pavel Jelinek
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: