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

NullPointerException in DeploymentRoleToRolesMappingProvider

    XMLWordPrintable

    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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: