[jboss-jira] [JBoss JIRA] (WFLY-10213) JACC is broken after server reload

Petr Jurak (JIRA) issues at jboss.org
Tue Apr 10 08:40:01 EDT 2018


Petr Jurak created WFLY-10213:
---------------------------------

             Summary: JACC is broken after server reload
                 Key: WFLY-10213
                 URL: https://issues.jboss.org/browse/WFLY-10213
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Petr Jurak
            Assignee: Stuart Douglas
             Fix For: 13.0.0.Beta1


It was discovered by https://github.com/wildfly/wildfly/pull/10829 that JACC has problems after server reload.

org.jboss.security.jacc.JBossPolicyConfigurationFactory will always use the first 'org.jboss.security.jacc.DelegatingPolicy' that is set, while on reload org.jboss.as.security.service.SecurityBootstrapService will create and install a new policy, which means that after you execute a reload operation JACC is broken (provided the JBossPolicyConfigurationFactory was initialised before the reload). 

This will need to be fixed somehow, either by using the same DelegatingPolicy after reload, or by clearing the state in JBossPolicyConfigurationFactory.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list