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

NullPointerException in DeploymentRoleToRolesMappingProvider

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

          1. SECURITY-811.patch
            2 kB
            Chao Wang
          2. SECURITY-811-picketbox.patch
            2 kB
            Chao Wang

            Issue Links

              Activity

                People

                • Assignee:
                  pskopek Peter Škopek
                  Reporter:
                  soul2zimate Chao Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: