[jboss-jira] [JBoss JIRA] (WFCORE-2071) Properly handle unknown roles instead of throwing exception

Pedro Igor (JIRA) issues at jboss.org
Wed Nov 30 14:24:01 EST 2016


Pedro Igor created WFCORE-2071:
----------------------------------

             Summary: Properly handle unknown roles instead of throwing exception
                 Key: WFCORE-2071
                 URL: https://issues.jboss.org/browse/WFCORE-2071
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Security
            Reporter: Pedro Igor
            Assignee: Darran Lofthouse


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 ?



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list