]
Pedro Igor updated WFCORE-2071:
-------------------------------
Summary: Ignore unknown roles instead of throwing exception (was: Properly handle
unknown roles instead of throwing exception)
Ignore unknown roles instead of throwing exception
--------------------------------------------------
Key: WFCORE-2071
URL:
https://issues.jboss.org/browse/WFCORE-2071
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Pedro Igor
Assignee: Pedro Igor
Fix For: 3.0.0.Beta11
When mapping roles directly from the identity:
{code}
<access-control provider="rbac" use-identity-roles="true"/>
{code}
If the identity has a role that is not known, a {{UnknowRoleException}} is thrown.
Ideally, we should just ignore unknown roles. Or is there any reason for this check ?