]
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