Darran Lofthouse created WFCORE-5274:
----------------------------------------
Summary: The reload operation for credential-store appears broken.
Key: WFCORE-5274
URL:
https://issues.redhat.com/browse/WFCORE-5274
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Darran Lofthouse
The operation obtains a reference to the credential store service and manually stops it
before starting it again:
{code:java}
credentialStoreService.stop(null);
credentialStoreService.start(null); {code}
This does mean the credential store referenced by the service will have been reloaded and
replaced but any services which obtained their own reference to the credential store will
have an old reference.
It may be better if the credential store SPIs had their own direct reload method,
alternatively maybe a call to initialise should be used instead to trigger a
re-initialisation of the store.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)