mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
30.43.2007 f13112d81058d8a3f500d5898ecb0769fab897bc
Fix a problem in the subject attribute to user attribute certificate mapper in
which a local variable was mistakenly used instead of the instance variable,
causing a null pointer exception when the class variable was used without
being properly initialized.

OpenDS Issue Number: 1469
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/extensions/SubjectAttributeToUserAttributeCertificateMapper.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/SubjectAttributeToUserAttributeCertificateMapper.java
@@ -119,8 +119,7 @@
    configEntryDN = configuration.dn();
    // Get and validate the subject attribute to user attribute mappings.
    LinkedHashMap<String,AttributeType> attributeMap =
         new LinkedHashMap<String,AttributeType>();
    attributeMap = new LinkedHashMap<String,AttributeType>();
    for (String mapStr : configuration.getSubjectAttributeMapping())
    {
      String lowerMap = toLowerCase(mapStr);