| | |
| | | * <p> |
| | | * It can represent either a DS-only, a RS-only or a combined DS-RS. |
| | | */ |
| | | public class ServerDescriptor |
| | | public class ServerDescriptor implements Comparable<ServerDescriptor> |
| | | { |
| | | private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass(); |
| | | private static final String TRUSTSTORE_DN = "cn=ads-truststore"; |
| | |
| | | return buf.toString(); |
| | | } |
| | | |
| | | @Override |
| | | public int compareTo(ServerDescriptor o) |
| | | { |
| | | return getId().compareTo(o.getId()); |
| | | } |
| | | |
| | | /** |
| | | * Returns the instance-key public-key certificate retrieved from the |
| | | * truststore backend of the instance referenced through this descriptor. |