[jboss-jira] [JBoss JIRA] (SECURITY-811) NullPointerException in DeploymentRoleToRolesMappingProvider
Stefan Guilhen (JIRA)
issues at jboss.org
Mon Feb 27 15:10:00 EST 2017
[ https://issues.jboss.org/browse/SECURITY-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guilhen resolved SECURITY-811.
-------------------------------------
Fix Version/s: PicketBox_5_0_0.Beta1
Resolution: Done
> 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: Peter Skopek
> Priority: Minor
> Fix For: PicketBox_5_0_0.Beta1
>
> 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
(v7.2.3#72005)
More information about the jboss-jira
mailing list