| | |
| | | import org.opends.server.types.OperatingSystem; |
| | | import org.opends.server.types.OperationType; |
| | | import org.opends.server.types.Privilege; |
| | | import org.opends.server.types.RDN; |
| | | import org.opends.server.types.RestoreConfig; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.Schema; |
| | |
| | | DN monitorRootDN; |
| | | try |
| | | { |
| | | monitorRootDN = DN.decode(DN_MONITOR_ROOT); |
| | | // Get a complete DN which could be a tree naming schema |
| | | monitorRootDN = DN.decode("cn="+monitorName+","+DN_MONITOR_ROOT); |
| | | } |
| | | catch (DirectoryException e) |
| | | { |
| | |
| | | throw new RuntimeException(); |
| | | } |
| | | |
| | | RDN rdn = RDN.create(cnType, new AttributeValue(cnType, monitorName)); |
| | | return monitorRootDN.concat(rdn); |
| | | return monitorRootDN; |
| | | } |
| | | |
| | | |