Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-7547

[DDF] This step (Elytron JACC Policy) seems to be unnecessary to get the integration with RH-SSO working. I tried to apply it

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.10
    • Business Central
    • None
    • 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
    • 2
    • Undefined
    • +

      This step (Elytron JACC Policy) seems to be unnecessary to get the integration with RH-SSO working. I tried to apply it and I got a startup error. Please double check this step.

      This is the exception that I get if I apply this Elytron JACC Policy on EAP based PAM deployment:

       

      18:19:02,162 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service org.wildfly.security.policy: org.jboss.msc.service.StartException in service org.wildfly.security.policy: java.lang.RuntimeException: WFLYELY01024: Failed to register policy context handlers
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions$2$1.start(PolicyDefinitions.java:187)
       at org.jboss.msc@1.4.11.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
       at org.jboss.msc@1.4.11.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
       at org.jboss.msc@1.4.11.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
       at org.jboss.threads@2.3.3.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
       at org.jboss.threads@2.3.3.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
       at org.jboss.threads@2.3.3.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
       at org.jboss.threads@2.3.3.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
       at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.lang.RuntimeException: WFLYELY01024: Failed to register policy context handlers
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions$5.accept(PolicyDefinitions.java:339)
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions$5.accept(PolicyDefinitions.java:315)
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions$2$1.start(PolicyDefinitions.java:184)
       ... 8 more
      Caused by: java.lang.IllegalStateException: WFLYELY01069: Invalid javax.security.jacc.PolicyConfigurationFactory loaded, expected org.wildfly.security.authz.jacc.ElytronPolicyConfigurationFactory but received org.jboss.security.jacc.JBossPolicyConfigurationFactory.
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions.newPolicyConfigurationFactory(PolicyDefinitions.java:396)
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions.access$300(PolicyDefinitions.java:87)
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions$5.lambda$accept$0(PolicyDefinitions.java:326)
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.SecurityActions.doPrivileged(SecurityActions.java:39)
       at org.wildfly.extension.elytron@10.1.17.Final-redhat-00001//org.wildfly.extension.elytron.PolicyDefinitions$5.accept(PolicyDefinitions.java:326)
       ... 10 more

       

      Reported by: rafael.soares

      https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.10/html/integrating_red_hat_process_automation_manager_with_other_products_and_components/sso-central-proc_integrate-sso#annotations:10f81fc1-26de-4c75-bfef-00f238227a05

              mramendi Mikhail Ramendik
              ddf-bot DDF Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: