[jboss-jira] [JBoss JIRA] (SECURITY-811) NullPointerException in DeploymentRoleToRolesMappingProvider

Derek Horton (JIRA) issues at jboss.org
Thu Apr 14 13:09:00 EDT 2016


     [ https://issues.jboss.org/browse/SECURITY-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Derek Horton updated SECURITY-811:
----------------------------------
    Git Pull Request: https://github.com/picketbox/picketbox/pull/59


> NullPointerException in DeploymentRoleToRolesMappingProvider
> ------------------------------------------------------------
>
>                 Key: SECURITY-811
>                 URL: https://issues.jboss.org/browse/SECURITY-811
>             Project: PicketBox 
>          Issue Type: Bug
>          Components: JBossSX
>    Affects Versions: JBossSecurity_2.0.8.Final
>            Reporter: Chao Wang
>            Assignee: Derek Horton
>            Priority: Minor
>         Attachments: SECURITY-811-picketbox.patch, SECURITY-811.patch
>
>
> {code:title=DeploymentRoleToRolesMappingProvider.java|borderStyle=solid}
> RoleGroup assignedRoles = (SimpleRoleGroup)contextMap.get(SecurityConstants.ROLES_IDENTIFIER);
> for (Role r: assignedRoles.getRoles()) {
> {code}
> A null value of assignedRoles causes NullPointerException on server if user have not input username / passoword yet



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list