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

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


Derek Horton created SECURITY-942:
-------------------------------------

             Summary: NullPointerException in DeploymentRoleToRolesMappingProvider
                 Key: SECURITY-942
                 URL: https://issues.jboss.org/browse/SECURITY-942
             Project: PicketBox 
          Issue Type: Bug
          Components: JBossSX
    Affects Versions: JBossSecurity_2.0.8.Final
            Reporter: Derek Horton
            Assignee: Derek Horton
            Priority: Minor


{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