[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4044) Security NullPointerException regarding @RoleGroups
Grzegorz Matuszewski (JIRA)
jira-events at lists.jboss.org
Thu Mar 26 17:03:22 EDT 2009
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
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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list