org.apache.directory.server.core.replication
Class SimpleReplicaConnection

java.lang.Object
  extended by org.apache.directory.server.core.replication.ReplicaConnection
      extended by org.apache.directory.server.core.replication.SimpleReplicaConnection

public abstract class SimpleReplicaConnection
extends ReplicaConnection

A connection to a replica. This is an abstract class, extended by the SimpleReplicaConnection or the SaslReplicaConnection.

Version:
$Rev: $, $Date: $
Author:
Apache Directory Project

Constructor Summary
SimpleReplicaConnection()
           
 
Method Summary
 java.lang.String getCredentials()
           
 org.apache.directory.shared.ldap.name.DN getPrincipal()
           
 void setCredentials(java.lang.String credentials)
           
 void setPrincipal(org.apache.directory.shared.ldap.name.DN principal)
           
 
Methods inherited from class org.apache.directory.server.core.replication.ReplicaConnection
getBindMethod, setBindMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleReplicaConnection

public SimpleReplicaConnection()
Method Detail

getPrincipal

public org.apache.directory.shared.ldap.name.DN getPrincipal()
Returns:
the principal

setPrincipal

public void setPrincipal(org.apache.directory.shared.ldap.name.DN principal)
Parameters:
principal - the principal to set

getCredentials

public java.lang.String getCredentials()
Returns:
the credentials

setCredentials

public void setCredentials(java.lang.String credentials)
Parameters:
credentials - the credentials to set


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.