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

LdapAttributeMappingProvider should check for empty attribute list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • PicketBox_v4_0_final
    • JBossSecurity_2.0.4.SP1
    • JBossSX
    • None
    • Hide

      There has to be a module option
      "attributeList"

      with a comma separated list of values
      "mail,cn,commonname,givenname,surname,employeeType, employeeNumber,facsimileTelephoneNumber"

      Show
      There has to be a module option "attributeList" with a comma separated list of values "mail,cn,commonname,givenname,surname,employeeType, employeeNumber,facsimileTelephoneNumber"

      =============
      java.lang.NullPointerException
      at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
      at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
      at org.jboss.security.mapping.providers.attribute.LdapAttributeMappingProvider.getNeededAttributes(LdapAttributeMappingProvider.java:336)
      at org.jboss.security.mapping.providers.attribute.LdapAttributeMappingProvider.performMapping(LdapAttributeMappingProvider.java:204)
      at org.jboss.security.mapping.providers.attribute.LdapAttributeMappingProvider.performMapping(LdapAttributeMappingProvider.java:93)
      at org.jboss.security.mapping.MappingContext.performMapping(MappingContext.java:54)
      ==================

              mmoyses Marcus Moyses (Inactive)
              anil.saldhana Anil Saldanha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: