Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-811

NullPointerException in DeploymentRoleToRolesMappingProvider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • PicketBox_5_0_0.Beta1
    • JBossSecurity_2.0.8.Final
    • JBossSX
    • None

      DeploymentRoleToRolesMappingProvider.java
      RoleGroup assignedRoles = (SimpleRoleGroup)contextMap.get(SecurityConstants.ROLES_IDENTIFIER);
      for (Role r: assignedRoles.getRoles()) {
      

      A null value of assignedRoles causes NullPointerException on server if user have not input username / passoword yet

            pskopek@redhat.com Peter Skopek
            chaowan@redhat.com Chao Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: