]
Ilia Vassilev moved WFCORE-3390 to ELY-1430:
--------------------------------------------
Project: WildFly Elytron (was: WildFly Core)
Key: ELY-1430 (was: WFCORE-3390)
Component/s: (was: Security)
Affects Version/s: 1.2.0.Beta8
(was: 3.0.9.Final)
WARN logged during server shutdown when Elytron JACC is set
-----------------------------------------------------------
Key: ELY-1430
URL:
https://issues.jboss.org/browse/ELY-1430
Project: WildFly Elytron
Issue Type: Bug
Affects Versions: 1.2.0.Beta8
Reporter: Ondrej Kotek
Assignee: Ilia Vassilev
Priority: Critical
When Elytron JACC policy resource is defined, there is WARN logged during server
shutdown:
{{WARN [org.wildfly.security] (MSC service thread 1-8) ELY08509: Calling any of the
Policy.getPermissions() methods is not supported; please see the Java Authorization
Contract for Containers (JACC) specification (section "1.4 Requirements", item
1) and the Java SE API specification for the Policy.getPermissions() methods for more
information. Instead, use the Policy.implies() method for authorization checking.}}
This is suspicious behaviour. Customers that monitor logs for warnings have to deal with
this. Setting Critical.