DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.auth.nsdl
Class NSDLLdapClient

java.lang.Object
  extended by org.dlese.dpc.ldap.LdapClient
      extended by org.dlese.dpc.schemedit.security.auth.nsdl.NSDLLdapClient

public class NSDLLdapClient
extends LdapClient

LdapClient for the NSDL Ldap Server

Author:
Jonathan Ostwald

Field Summary
 
Fields inherited from class org.dlese.dpc.ldap.LdapClient
props
 
Constructor Summary
NSDLLdapClient(String pfile)
           
 
Method Summary
 String getUid(String dn)
          get the Uid from the provided dn (Distinguished Name);
static void main(String[] args)
          The main program for the LdapTester class
protected  String mkUserDn(String userName)
          Given a UID, returns the corresponding full dn (distinguished name).
 
Methods inherited from class org.dlese.dpc.ldap.LdapClient
addAttributeValueDn, addEntryDn, addListName, addUserAttributeValue, addUserAttributeValue, addUserEntry, createList, getAttributesDn, getListAttributes, getListAttributes, getListMembers, getListMembers, getListMembersDn, getListNames, getListNames, getObjectDn, getProperty, getSingleAttribute, getSingleAttribute, getSingleAttributeDn, getUserAttributes, getUserAttributes, getUserObject, getUserObjectAttributes, getUtcCreateTimestamp, getUtcModifyTimestamp, isAlive, removeAttributeValueDn, removeEntireList, removeEntryDn, removeListName, removeUserAttributeValue, removeUserAttributeValue, removeUserEntry, removeUserObject, renameEntryDn, renameUserEntry, search, search, searchDn, setAttributeDn, setUserAttribute, setUserAttribute, storeObjectDn, storeUserObject, userAuthenticates, userExists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSDLLdapClient

public NSDLLdapClient(String pfile)
               throws LdapException
Throws:
LdapException
Method Detail

mkUserDn

protected String mkUserDn(String userName)
Description copied from class: LdapClient
Given a UID, returns the corresponding full dn (distinguished name).

Overrides:
mkUserDn in class LdapClient

getUid

public String getUid(String dn)
get the Uid from the provided dn (Distinguished Name);


main

public static void main(String[] args)
                 throws Exception
The main program for the LdapTester class

Parameters:
args - The command line arguments
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0