All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPConstraints.AuthHandlerImpl

java.lang.Object
  extended by org.ietf.ldap.LDAPConstraints.AuthHandlerImpl
All Implemented Interfaces:
LDAPAuthHandler, LDAPReferralHandler
Enclosing class:
LDAPConstraints

private class LDAPConstraints.AuthHandlerImpl
extends java.lang.Object
implements LDAPAuthHandler

Wrapper object for LDAPAuthHandler LDAPReferralHandler


Field Summary
(package private)  LDAPAuthHandler ref
           
 
Constructor Summary
private LDAPConstraints.AuthHandlerImpl(LDAPAuthHandler ref)
           
 
Method Summary
 LDAPAuthProvider getAuthProvider(java.lang.String host, int port)
          Returns an object which can provide credentials for authenticating to a server at the specified host and port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ref

LDAPAuthHandler ref
Constructor Detail

LDAPConstraints.AuthHandlerImpl

private LDAPConstraints.AuthHandlerImpl(LDAPAuthHandler ref)
Method Detail

getAuthProvider

public LDAPAuthProvider getAuthProvider(java.lang.String host,
                                        int port)
Description copied from interface: LDAPAuthHandler
Returns an object which can provide credentials for authenticating to a server at the specified host and port.

Specified by:
getAuthProvider in interface LDAPAuthHandler
Parameters:
host - Contains a host name or the IP address (in dotted string format) of a host running an LDAP server.

port - Contains the TCP or UDP port number of the host.
Returns:
An object with authentication credentials to the specified host and port.

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