| | |
| | | return; |
| | | } |
| | | |
| | | AttributeType attrType1 = DirectoryServer.getAttributeType("adminport".toLowerCase(), true); |
| | | AttributeType attrType2 = DirectoryServer.getAttributeType("adminEnabled".toLowerCase(), true); |
| | | AttributeType attrType1 = DirectoryServer.getAttributeTypeOrDefault("adminport".toLowerCase()); |
| | | AttributeType attrType2 = DirectoryServer.getAttributeTypeOrDefault("adminEnabled".toLowerCase()); |
| | | |
| | | LinkedList<Modification> mods = new LinkedList<>(); |
| | | mods.add(new Modification(ModificationType.REPLACE, Attributes.create(attrType1, adminPort))); |
| | |
| | | adminConnectorEntry = result.getFirst(); |
| | | } |
| | | |
| | | AttributeType attrType = DirectoryServer.getAttributeType(attrName, true); |
| | | AttributeType attrType = DirectoryServer.getAttributeTypeOrDefault(attrName); |
| | | List<Attribute> attrs = adminConnectorEntry.getAttribute(attrType); |
| | | if (attrs != null) |
| | | { |