Stuart Douglas created WFLY-10066:
-------------------------------------
Summary: JACC is broken after server reload
Key: WFLY-10066
URL:
https://issues.jboss.org/browse/WFLY-10066
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Stuart Douglas
Assignee: Darran Lofthouse
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)