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

Multiple Elytron SSO in Undertow do not work

XMLWordPrintable

    • Hide

      Apply attached configuration and deploy attached applications.

      Show
      Apply attached configuration and deploy attached applications.

      Having added single-sing-on setting to the second Undertow application-security-domain, deployment of app using the Undertow domain causes:

      11:45:19,805 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service org.wildfly.extension.undertow.application-security-domain.applicationSecurityDomain2-UndertowSecurityDomainFormSsoTestCase.sso.manager: org.jboss.msc.service.StartException in service org.wildfly.extension.undertow.application-security-domain.applicationSecurityDomain2-UndertowSecurityDomainFormSsoTestCase.sso.manager: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.jboss.msc.inject.InjectionException: Value already set for this injector
      	at org.jboss.msc.inject.RetainingInjector.inject(RetainingInjector.java:50)
      	at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:55)
      	at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1672)
      	at org.jboss.msc.service.ServiceControllerImpl.access$2000(ServiceControllerImpl.java:51)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:2001)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1950)
      	... 3 more
      

      When deploying the three attached apps at once, also the following error sometimes occurs:

      11:57:51,425 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service org.wildfly.extension.undertow.application-security-domain.applicationSecurityDomain-UndertowSecurityDomainFormSsoTestCase.sso.manager: org.jboss.msc.service.StartException in service org.wildfly.extension.undertow.application-security-domain.applicationSecurityDomain-UndertowSecurityDomainFormSsoTestCase.sso.manager: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException
      	at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)
      	at org.wildfly.clustering.web.undertow.sso.elytron.DistributableSingleSignOnManagerBuilder.getValue(DistributableSingleSignOnManagerBuilder.java:81)
      	at org.wildfly.clustering.web.undertow.sso.elytron.DistributableSingleSignOnManagerBuilder.getValue(DistributableSingleSignOnManagerBuilder.java:56)
      	at org.jboss.msc.service.ValueService.start(ValueService.java:49)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	... 3 more
      

      Priority is set to blocker because it blocks EAP7-596 – an administrator is unable to set multiple Elytron SSO in Undertow.

        1. app1.war
          4 kB
        2. app2.war
          4 kB
        3. roles-UndertowSecurityDomainFormSsoTestCase.properties
          0.0 kB
        4. standalone.xml
          31 kB
        5. UndertowSecurityDomainFormSsoTestCase.keystore
          1 kB
        6. users-UndertowSecurityDomainFormSsoTestCase.properties
          0.1 kB
        7. app3.war
          4 kB

            pferraro@redhat.com Paul Ferraro
            okotek@redhat.com Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: