Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5346

(7.1.0) NullPointerException in DeploymentRoleToRolesMappingProvider

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.DR14
    • 7.1.0.DR4
    • Security

    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

              Unassigned Unassigned
              rhn-cservice-bbaranow Bartosz Baranowski
              Ondrej Lukas Ondrej Lukas (Inactive)
              Ondrej Lukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: