| | |
| | | excludeAttributes = new HashSet<>(); |
| | | for (String attrName : excludeAttributeStrings.getValues()) |
| | | { |
| | | String lowerName = attrName.toLowerCase(); |
| | | AttributeType attrType = DirectoryServer.getAttributeType(lowerName); |
| | | if (attrType == null) |
| | | { |
| | | attrType = DirectoryServer.getDefaultAttributeType(attrName); |
| | | } |
| | | |
| | | excludeAttributes.add(attrType); |
| | | excludeAttributes.add( |
| | | DirectoryServer.getAttributeType(attrName.toLowerCase(), attrName)); |
| | | } |
| | | } |
| | | |
| | |
| | | includeAttributes = new HashSet<>(); |
| | | for (String attrName : includeAttributeStrings.getValues()) |
| | | { |
| | | String lowerName = attrName.toLowerCase(); |
| | | AttributeType attrType = DirectoryServer.getAttributeType(lowerName); |
| | | if (attrType == null) |
| | | { |
| | | attrType = DirectoryServer.getDefaultAttributeType(attrName); |
| | | } |
| | | |
| | | includeAttributes.add(attrType); |
| | | includeAttributes.add( |
| | | DirectoryServer.getAttributeType(attrName.toLowerCase(), attrName)); |
| | | } |
| | | } |
| | | |