[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-4044) Security NullPointerException regarding @RoleGroups
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Thu Mar 26 19:13:29 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: 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