| | |
| | | org.forgerock.opendj.ldap.Entry configEntry, String attrName, Syntax syntax, Object...values) |
| | | { |
| | | org.forgerock.opendj.ldap.Entry newEntry = LinkedHashMapEntry.deepCopyOfEntry(configEntry); |
| | | AttributeType attrType = DirectoryServer.getSchema().getAttributeType(attrName, syntax); |
| | | AttributeType attrType = DirectoryServer.getInstance().getServerContext().getSchema().getAttributeType(attrName, syntax); |
| | | newEntry.replaceAttribute(new LinkedAttribute(AttributeDescription.create(attrType), values)); |
| | | return newEntry; |
| | | } |