All LDAP Classes
Internal LDAP Classes

com.novell.ldap.client
Class BindProperties

java.lang.Object
  extended by com.novell.ldap.client.BindProperties

public class BindProperties
extends java.lang.Object

Encapsulates an LDAP Bind properties


Field Summary
private  boolean anonymous
           
private  java.lang.Object bindCallbackHandler
           
private  java.util.Hashtable bindProperties
           
private  java.lang.String dn
           
private  java.lang.String method
           
private  int version
           
 
Constructor Summary
BindProperties(int version, java.lang.String dn, java.lang.String method, boolean anonymous, java.util.Hashtable bindProperties, java.lang.Object bindCallbackHandler)
           
 
Method Summary
 java.lang.String getAuthenticationDN()
          Gets the authentication dn
 java.lang.String getAuthenticationMethod()
          Gets the authentication method
 int getProtocolVersion()
          gets the protocol version
 java.util.Hashtable getSaslBindProperties()
          Gets the SASL Bind properties
 java.lang.Object getSaslCallbackHandler()
          Gets the SASL callback handler
 boolean isAnonymous()
          Indicates whether or not the bind properties specify an anonymous bind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

private int version

dn

private java.lang.String dn

method

private java.lang.String method

anonymous

private boolean anonymous

bindProperties

private java.util.Hashtable bindProperties

bindCallbackHandler

private java.lang.Object bindCallbackHandler
Constructor Detail

BindProperties

public BindProperties(int version,
                      java.lang.String dn,
                      java.lang.String method,
                      boolean anonymous,
                      java.util.Hashtable bindProperties,
                      java.lang.Object bindCallbackHandler)
Method Detail

getProtocolVersion

public final int getProtocolVersion()
gets the protocol version


getAuthenticationDN

public final java.lang.String getAuthenticationDN()
Gets the authentication dn

Returns:
the authentication dn for this connection

getAuthenticationMethod

public final java.lang.String getAuthenticationMethod()
Gets the authentication method

Returns:
the authentication method for this connection

getSaslBindProperties

public final java.util.Hashtable getSaslBindProperties()
Gets the SASL Bind properties

Returns:
the sasl bind properties for this connection

getSaslCallbackHandler

public final java.lang.Object getSaslCallbackHandler()
Gets the SASL callback handler

Returns:
the sasl callback handler for this connection

isAnonymous

public final boolean isAnonymous()
Indicates whether or not the bind properties specify an anonymous bind

Returns:
true if the bind properties specify an anonymous bind

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000