]
Shane Bryzak reassigned JBSEAM-4044:
------------------------------------
Assignee: Shane Bryzak
Security NullPointerException regarding @RoleGroups
---------------------------------------------------
Key: JBSEAM-4044
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4044
Project: Seam
Issue Type: Bug
Components: Security
Affects Versions: 2.1.1.GA
Reporter: Grzegorz Matuszewski
Assignee: Shane Bryzak
Using roles without role groups may lead to NullPointerException in JpaIdentityStore
class. Methods getRoleGroups and listRoleMembers validate existence od role groups with
test:
if (roleGroupsProperty != null)
{
...
}
but should by
if (roleGroupsProperty.isSet())
{
...
}
because roleGroupProperty is always instantiated when using roles. See forum reference.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: