| | |
| | | Attributes.create(attrName, attrValues))); |
| | | } |
| | | |
| | | /** |
| | | * Return the attribute type corresponding to the attribute type string. |
| | | * |
| | | * @param attrTypeString The attribute type string name. |
| | | * |
| | | * @return An attribute type object pertaining to the string. |
| | | */ |
| | | private AttributeType getAttrType(String attrTypeString) { |
| | | AttributeType attrType = |
| | | DirectoryServer.getAttributeType(attrTypeString); |
| | | if (attrType == null) |
| | | { |
| | | attrType = DirectoryServer.getDefaultAttributeType(attrTypeString); |
| | | } |
| | | return attrType; |
| | | return DirectoryServer.getAttributeType(attrTypeString, true); |
| | | } |
| | | |
| | | /** |