Chao Wang created SECURITY-811:
----------------------------------
Summary: NullPointerException in DeploymentRoleToRolesMappingProvider
Key: SECURITY-811
URL:
https://issues.jboss.org/browse/SECURITY-811
Project: PicketBox
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JBossSX
Affects Versions: JBossSecurity_2.0.8.Final
Reporter: Chao Wang
Assignee: Chao Wang
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira