[
https://issues.jboss.org/browse/WFLY-11933?page=com.atlassian.jira.plugin...
]
Michal Petrov commented on WFLY-11933:
--------------------------------------
[~dlofthouse], [~jmesnil], what I'm observing is this:
{code:title=CLI user}
SecurityIdentity{
principal=$local@ManagementRealm,
securityDomain=org.wildfly.security.auth.server.SecurityDomain@f08ba56,
authorizationIdentity=EMPTY,
realmInfo=RealmInfo{
name='LOCAL',
securityRealm=org.jboss.as.domain.management.security.SecurityRealmService$SharedStateSecurityRealm@e88dd09
},
creationTime=2019-06-13T12:37:22.741Z
}
{code}
{code:title=Web user}
SecurityIdentity{
principal=anonymous,
securityDomain=org.wildfly.security.auth.server.SecurityDomain@453bb70,
authorizationIdentity=EMPTY,
realmInfo=RealmInfo{
name='default',
securityRealm=EMPTY_REALM
},
creationTime=2019-06-13T12:33:24.307Z
}
{code}
The user accessing localhost has no authorization, should they be granted a SuperUser
status?
Error when accessing metrics with RBAC enabled
----------------------------------------------
Key: WFLY-11933
URL:
https://issues.jboss.org/browse/WFLY-11933
Project: WildFly
Issue Type: Bug
Components: Management, MP Metrics
Affects Versions: 16.0.0.Final, 17.0.0.Final
Reporter: Claudio Weiler
Assignee: Jeff Mesnil
Priority: Major
When RBAC is enabled for management in Wildfly 16, metrics throws exception:
java.lang.IllegalStateException: WFLYMETRICS0003: Unable to read attribute
XAForgetAverageTime on [
("subsystem" => "datasources"),
("data-source" => "ExampleDS"),
("statistics" => "pool")
]: "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"ExampleDS\"),
(\"statistics\" => \"pool\")
]' not found".
--
This message was sent by Atlassian Jira
(v7.12.1#712002)