]
Pavel Kovalenko commented on WFLY-3221:
---------------------------------------
I found this operation when I was exploring source code. But anyway it's not a good
solution when roles changes frequently.
flushOnSessionInvalidation attribute in jboss-web.xml does not flush
user credentials
-------------------------------------------------------------------------------------
Key: WFLY-3221
URL:
https://issues.jboss.org/browse/WFLY-3221
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Security
Affects Versions: 8.0.0.Final
Reporter: Jorge Marmolejo
Assignee: Darran Lofthouse
Priority: Critical
Fix For: 9.0.0.Alpha1
The attribute flushOnSessionInvalidation does not flush the user credentials when the
session is invalidated or when it times out. If the password or roles change for the user,
the only way to get the new changes is by restarting the server.
I tried removing "cache-type=default" from the standalone-full.xml and it
works, but for every action made on the site, the login method in the authentication
module is called.