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

NullPointerException in DeploymentRoleToRolesMappingProvider

    XMLWordPrintable

Details

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

    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

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

              Dates

                Created:
                Updated:
                Resolved: