Red Hat Bugzilla – Bug 973590
NPE when rollesAllowed not configured
Last modified: 2014-06-16 19:47:57 EDT
- an authorization is required for a service
- rolesAllowed is not configured in security setting
- A NPE is thrown at JaasSecurityProvider.checkRolesAllowed when calling rolesAllowed.isEmpty()
This is no longer a bug. It was reported on 2013-06-12.
As part of the "SWITCHYARD-1414: Add ability to reference named security sections" jira, a change was made such that this NPE is no longer possible: http://goo.gl/zWaEx . You can see that the _rolesAllowed Set is now pre-initialized, and added to in the set at config time (which is why it doesn't have to be synchronized): http://goo.gl/uVTOc .
Verified in ER2
Keith Babo <firstname.lastname@example.org> updated the status of jira SWITCHYARD-1414 to Closed