org.apache.jetspeed.om.security.ldap
Class BaseLDAPObject

java.lang.Object
  extended byorg.apache.jetspeed.om.security.ldap.BaseLDAPObject
All Implemented Interfaces:
javax.naming.Context, javax.naming.directory.DirContext
Direct Known Subclasses:
LDAPGroup, LDAPPermission, LDAPRole, LDAPUser

public class BaseLDAPObject
extends java.lang.Object
implements javax.naming.directory.DirContext

The Base LDAP Object extending DirContext.

Version:
$Id: BaseLDAPObject.java,v 1.10 2005/04/27 14:08:24 raphael Exp $
Author:
Ender Kilicoglu, David Sean Taylor, Sami Leino

Field Summary
protected  java.lang.String Id
           
protected  boolean isNew
           
protected static java.lang.String LDAP_DATE_PATTERN
           
protected  LDAPURL ldapurl
           
protected  javax.naming.directory.Attributes myAttrs
           
protected  java.lang.String name
           
protected static java.lang.String OK
           
protected  javax.naming.directory.BasicAttributes rmAttrs
           
protected  boolean updated
           
 
Fields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE
 
Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
 
Constructor Summary
BaseLDAPObject()
           
 
Method Summary
 java.lang.Object addToEnvironment(java.lang.String propName, java.lang.Object propVal)
           
 void bind(javax.naming.Name name, java.lang.Object obj)
           
 void bind(javax.naming.Name name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
           
 void bind(java.lang.String name, java.lang.Object obj)
           
 void bind(java.lang.String name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
           
 void close()
           
 javax.naming.Name composeName(javax.naming.Name name, javax.naming.Name prefix)
           
 java.lang.String composeName(java.lang.String name, java.lang.String prefix)
           
 java.lang.String createId(java.lang.String value)
          Creates an "LDAP-safe" ID from a String so that the generated ID is as similar as possible to the original value.
 javax.naming.Context createSubcontext(javax.naming.Name name)
           
 javax.naming.directory.DirContext createSubcontext(javax.naming.Name name, javax.naming.directory.Attributes attrs)
           
 javax.naming.Context createSubcontext(java.lang.String name)
           
 javax.naming.directory.DirContext createSubcontext(java.lang.String name, javax.naming.directory.Attributes attrs)
           
protected  java.util.Hashtable deserializePerm(java.lang.String permStorageContentsEncoded)
           
 void destroySubcontext(javax.naming.Name name)
           
 void destroySubcontext(java.lang.String name)
           
protected  java.lang.String fastgetutil(java.lang.String field, javax.naming.directory.Attributes attrs)
           
protected  java.lang.String formatDate(java.util.Date date)
           
 javax.naming.directory.Attributes getAttributes(javax.naming.Name name)
           
 javax.naming.directory.Attributes getAttributes(javax.naming.Name name, java.lang.String[] ids)
           
 javax.naming.directory.Attributes getAttributes(java.lang.String name)
           
 javax.naming.directory.Attributes getAttributes(java.lang.String name, java.lang.String[] ids)
           
 java.util.Hashtable getEnvironment()
           
 java.lang.String getId()
          ID Function Return Value of ID property
 LDAPURL getldapurl()
           
 java.lang.String getName()
           
 java.lang.String getNameInNamespace()
           
 javax.naming.NameParser getNameParser(javax.naming.Name name)
           
 javax.naming.NameParser getNameParser(java.lang.String name)
           
 javax.naming.directory.DirContext getSchema(javax.naming.Name name)
           
 javax.naming.directory.DirContext getSchema(java.lang.String name)
           
 javax.naming.directory.DirContext getSchemaClassDefinition(javax.naming.Name name)
           
 javax.naming.directory.DirContext getSchemaClassDefinition(java.lang.String name)
           
 boolean getupdated()
          Updated Function Return State of updated property
protected  java.lang.String getutil(java.lang.String field)
           
protected  java.lang.String getutil(java.lang.String field, javax.naming.directory.Attributes attrs)
           
protected  java.util.Vector getutil(java.lang.String field, javax.naming.directory.Attributes attrs, boolean empty)
           
protected  java.util.Vector getutil(java.lang.String field, boolean empty)
           
 boolean isNew()
           
 boolean isOK(char value)
          Checks if the specified character can be used in LDAP attribute name.
 javax.naming.NamingEnumeration list(javax.naming.Name name)
           
 javax.naming.NamingEnumeration list(java.lang.String name)
           
 javax.naming.NamingEnumeration listBindings(javax.naming.Name name)
           
 javax.naming.NamingEnumeration listBindings(java.lang.String name)
           
 java.lang.Object lookup(javax.naming.Name name)
           
 java.lang.Object lookup(java.lang.String name)
           
 java.lang.Object lookupLink(javax.naming.Name name)
           
 java.lang.Object lookupLink(java.lang.String name)
           
 void modifyAttributes(javax.naming.Name name, int mod_op, javax.naming.directory.Attributes attrs)
           
 void modifyAttributes(javax.naming.Name name, javax.naming.directory.ModificationItem[] mods)
           
 void modifyAttributes(java.lang.String name, int mod_op, javax.naming.directory.Attributes attrs)
           
 void modifyAttributes(java.lang.String name, javax.naming.directory.ModificationItem[] mods)
           
protected  java.util.Date parseDate(java.lang.String value)
           
protected  java.util.Date parseDate(java.lang.String value, boolean initializeIfNotSet)
           
 void rebind(javax.naming.Name name, java.lang.Object obj)
           
 void rebind(javax.naming.Name name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
           
 void rebind(java.lang.String name, java.lang.Object obj)
           
 void rebind(java.lang.String name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
           
 java.lang.Object removeFromEnvironment(java.lang.String propName)
           
protected  void removeutil(java.lang.String field, boolean updatable)
           
 void rename(javax.naming.Name oldName, javax.naming.Name newName)
           
 void rename(java.lang.String oldName, java.lang.String newName)
           
 javax.naming.NamingEnumeration search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes)
           
 javax.naming.NamingEnumeration search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn)
           
 javax.naming.NamingEnumeration search(javax.naming.Name name, java.lang.String filterExpr, java.lang.Object[] filterArgs, javax.naming.directory.SearchControls cons)
           
 javax.naming.NamingEnumeration search(javax.naming.Name name, java.lang.String filter, javax.naming.directory.SearchControls cons)
           
 javax.naming.NamingEnumeration search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes)
           
 javax.naming.NamingEnumeration search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn)
           
 javax.naming.NamingEnumeration search(java.lang.String name, java.lang.String filterExpr, java.lang.Object[] filterArgs, javax.naming.directory.SearchControls cons)
           
 javax.naming.NamingEnumeration search(java.lang.String name, java.lang.String filter, javax.naming.directory.SearchControls cons)
           
protected  java.lang.String serializePerm(java.util.Hashtable permStorage)
           
 void setId(java.lang.String Id)
          ID Function Set Value of ID property
 void setLdapUrl(LDAPURL url)
           
 void setName(java.lang.String name)
           
 void setObjectClass(java.lang.String name)
          Set's the objectClass for this object.
 void setObjectClasses(java.lang.String[] names)
          Set's multiple objectClasses for this object.
protected  void setutil(java.lang.String field, java.lang.Object value)
           
protected  void setutil(java.lang.String field, java.lang.String value)
           
protected  void setutil(java.lang.String field, java.util.Vector values)
           
protected  void setutil(java.lang.String field, java.util.Vector values, boolean create)
           
 java.lang.String toString()
           
 void unbind(javax.naming.Name name)
           
 void unbind(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OK

protected static final java.lang.String OK
See Also:
Constant Field Values

LDAP_DATE_PATTERN

protected static final java.lang.String LDAP_DATE_PATTERN
See Also:
Constant Field Values

ldapurl

protected LDAPURL ldapurl

updated

protected boolean updated

name

protected java.lang.String name

Id

protected java.lang.String Id

myAttrs

protected javax.naming.directory.Attributes myAttrs

isNew

protected boolean isNew

rmAttrs

protected javax.naming.directory.BasicAttributes rmAttrs
Constructor Detail

BaseLDAPObject

public BaseLDAPObject()
Method Detail

createId

public java.lang.String createId(java.lang.String value)

Creates an "LDAP-safe" ID from a String so that the generated ID is as similar as possible to the original value. For example, value "Ryhmä" ("group" in Finnish language) would be converted to "ryhma". If the value contains an unknown character, it will be replaced by letter 'X'.


isOK

public boolean isOK(char value)

Checks if the specified character can be used in LDAP attribute name.


setObjectClass

public void setObjectClass(java.lang.String name)

Set's the objectClass for this object.


setObjectClasses

public void setObjectClasses(java.lang.String[] names)

Set's multiple objectClasses for this object.


formatDate

protected java.lang.String formatDate(java.util.Date date)

parseDate

protected java.util.Date parseDate(java.lang.String value)

parseDate

protected java.util.Date parseDate(java.lang.String value,
                                   boolean initializeIfNotSet)

serializePerm

protected java.lang.String serializePerm(java.util.Hashtable permStorage)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

deserializePerm

protected java.util.Hashtable deserializePerm(java.lang.String permStorageContentsEncoded)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getupdated

public boolean getupdated()
Updated Function Return State of updated property

Returns:
boolean updated property value

getId

public java.lang.String getId()
ID Function Return Value of ID property

Returns:
String ID property value

setId

public void setId(java.lang.String Id)
ID Function Set Value of ID property

Parameters:
Id - ID property value

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getldapurl

public LDAPURL getldapurl()

setLdapUrl

public void setLdapUrl(LDAPURL url)

isNew

public boolean isNew()

removeutil

protected void removeutil(java.lang.String field,
                          boolean updatable)

setutil

protected void setutil(java.lang.String field,
                       java.lang.String value)

setutil

protected void setutil(java.lang.String field,
                       java.util.Vector values)

setutil

protected void setutil(java.lang.String field,
                       java.util.Vector values,
                       boolean create)

setutil

protected void setutil(java.lang.String field,
                       java.lang.Object value)

getutil

protected java.lang.String getutil(java.lang.String field)

getutil

protected java.util.Vector getutil(java.lang.String field,
                                   boolean empty)

getutil

protected java.lang.String getutil(java.lang.String field,
                                   javax.naming.directory.Attributes attrs)

fastgetutil

protected java.lang.String fastgetutil(java.lang.String field,
                                       javax.naming.directory.Attributes attrs)
                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getutil

protected java.util.Vector getutil(java.lang.String field,
                                   javax.naming.directory.Attributes attrs,
                                   boolean empty)

getAttributes

public javax.naming.directory.Attributes getAttributes(java.lang.String name)
                                                throws javax.naming.NamingException
Specified by:
getAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getAttributes

public javax.naming.directory.Attributes getAttributes(javax.naming.Name name)
                                                throws javax.naming.NamingException
Specified by:
getAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getAttributes

public javax.naming.directory.Attributes getAttributes(java.lang.String name,
                                                       java.lang.String[] ids)
                                                throws javax.naming.NamingException
Specified by:
getAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getAttributes

public javax.naming.directory.Attributes getAttributes(javax.naming.Name name,
                                                       java.lang.String[] ids)
                                                throws javax.naming.NamingException
Specified by:
getAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

toString

public java.lang.String toString()

lookup

public java.lang.Object lookup(javax.naming.Name name)
                        throws javax.naming.NamingException
Specified by:
lookup in interface javax.naming.Context
Throws:
javax.naming.NamingException

getNameInNamespace

public java.lang.String getNameInNamespace()
                                    throws javax.naming.NamingException
Specified by:
getNameInNamespace in interface javax.naming.Context
Throws:
javax.naming.NamingException

lookup

public java.lang.Object lookup(java.lang.String name)
                        throws javax.naming.NamingException
Specified by:
lookup in interface javax.naming.Context
Throws:
javax.naming.NamingException

bind

public void bind(javax.naming.Name name,
                 java.lang.Object obj)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.Context
Throws:
javax.naming.NamingException

bind

public void bind(java.lang.String name,
                 java.lang.Object obj)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.Context
Throws:
javax.naming.NamingException

rebind

public void rebind(javax.naming.Name name,
                   java.lang.Object obj)
            throws javax.naming.NamingException
Specified by:
rebind in interface javax.naming.Context
Throws:
javax.naming.NamingException

rebind

public void rebind(java.lang.String name,
                   java.lang.Object obj)
            throws javax.naming.NamingException
Specified by:
rebind in interface javax.naming.Context
Throws:
javax.naming.NamingException

unbind

public void unbind(javax.naming.Name name)
            throws javax.naming.NamingException
Specified by:
unbind in interface javax.naming.Context
Throws:
javax.naming.NamingException

unbind

public void unbind(java.lang.String name)
            throws javax.naming.NamingException
Specified by:
unbind in interface javax.naming.Context
Throws:
javax.naming.NamingException

rename

public void rename(javax.naming.Name oldName,
                   javax.naming.Name newName)
            throws javax.naming.NamingException
Specified by:
rename in interface javax.naming.Context
Throws:
javax.naming.NamingException

rename

public void rename(java.lang.String oldName,
                   java.lang.String newName)
            throws javax.naming.NamingException
Specified by:
rename in interface javax.naming.Context
Throws:
javax.naming.NamingException

list

public javax.naming.NamingEnumeration list(javax.naming.Name name)
                                    throws javax.naming.NamingException
Specified by:
list in interface javax.naming.Context
Throws:
javax.naming.NamingException

list

public javax.naming.NamingEnumeration list(java.lang.String name)
                                    throws javax.naming.NamingException
Specified by:
list in interface javax.naming.Context
Throws:
javax.naming.NamingException

listBindings

public javax.naming.NamingEnumeration listBindings(javax.naming.Name name)
                                            throws javax.naming.NamingException
Specified by:
listBindings in interface javax.naming.Context
Throws:
javax.naming.NamingException

listBindings

public javax.naming.NamingEnumeration listBindings(java.lang.String name)
                                            throws javax.naming.NamingException
Specified by:
listBindings in interface javax.naming.Context
Throws:
javax.naming.NamingException

destroySubcontext

public void destroySubcontext(javax.naming.Name name)
                       throws javax.naming.NamingException
Specified by:
destroySubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

destroySubcontext

public void destroySubcontext(java.lang.String name)
                       throws javax.naming.NamingException
Specified by:
destroySubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

createSubcontext

public javax.naming.Context createSubcontext(javax.naming.Name name)
                                      throws javax.naming.NamingException
Specified by:
createSubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

createSubcontext

public javax.naming.Context createSubcontext(java.lang.String name)
                                      throws javax.naming.NamingException
Specified by:
createSubcontext in interface javax.naming.Context
Throws:
javax.naming.NamingException

lookupLink

public java.lang.Object lookupLink(javax.naming.Name name)
                            throws javax.naming.NamingException
Specified by:
lookupLink in interface javax.naming.Context
Throws:
javax.naming.NamingException

lookupLink

public java.lang.Object lookupLink(java.lang.String name)
                            throws javax.naming.NamingException
Specified by:
lookupLink in interface javax.naming.Context
Throws:
javax.naming.NamingException

getNameParser

public javax.naming.NameParser getNameParser(javax.naming.Name name)
                                      throws javax.naming.NamingException
Specified by:
getNameParser in interface javax.naming.Context
Throws:
javax.naming.NamingException

getNameParser

public javax.naming.NameParser getNameParser(java.lang.String name)
                                      throws javax.naming.NamingException
Specified by:
getNameParser in interface javax.naming.Context
Throws:
javax.naming.NamingException

composeName

public java.lang.String composeName(java.lang.String name,
                                    java.lang.String prefix)
                             throws javax.naming.NamingException
Specified by:
composeName in interface javax.naming.Context
Throws:
javax.naming.NamingException

composeName

public javax.naming.Name composeName(javax.naming.Name name,
                                     javax.naming.Name prefix)
                              throws javax.naming.NamingException
Specified by:
composeName in interface javax.naming.Context
Throws:
javax.naming.NamingException

addToEnvironment

public java.lang.Object addToEnvironment(java.lang.String propName,
                                         java.lang.Object propVal)
                                  throws javax.naming.NamingException
Specified by:
addToEnvironment in interface javax.naming.Context
Throws:
javax.naming.NamingException

removeFromEnvironment

public java.lang.Object removeFromEnvironment(java.lang.String propName)
                                       throws javax.naming.NamingException
Specified by:
removeFromEnvironment in interface javax.naming.Context
Throws:
javax.naming.NamingException

getEnvironment

public java.util.Hashtable getEnvironment()
                                   throws javax.naming.NamingException
Specified by:
getEnvironment in interface javax.naming.Context
Throws:
javax.naming.NamingException

close

public void close()
           throws javax.naming.NamingException
Specified by:
close in interface javax.naming.Context
Throws:
javax.naming.NamingException

modifyAttributes

public void modifyAttributes(javax.naming.Name name,
                             int mod_op,
                             javax.naming.directory.Attributes attrs)
                      throws javax.naming.NamingException
Specified by:
modifyAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

modifyAttributes

public void modifyAttributes(java.lang.String name,
                             int mod_op,
                             javax.naming.directory.Attributes attrs)
                      throws javax.naming.NamingException
Specified by:
modifyAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

modifyAttributes

public void modifyAttributes(javax.naming.Name name,
                             javax.naming.directory.ModificationItem[] mods)
                      throws javax.naming.NamingException
Specified by:
modifyAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

modifyAttributes

public void modifyAttributes(java.lang.String name,
                             javax.naming.directory.ModificationItem[] mods)
                      throws javax.naming.NamingException
Specified by:
modifyAttributes in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

bind

public void bind(javax.naming.Name name,
                 java.lang.Object obj,
                 javax.naming.directory.Attributes attrs)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

bind

public void bind(java.lang.String name,
                 java.lang.Object obj,
                 javax.naming.directory.Attributes attrs)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

rebind

public void rebind(javax.naming.Name name,
                   java.lang.Object obj,
                   javax.naming.directory.Attributes attrs)
            throws javax.naming.NamingException
Specified by:
rebind in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

rebind

public void rebind(java.lang.String name,
                   java.lang.Object obj,
                   javax.naming.directory.Attributes attrs)
            throws javax.naming.NamingException
Specified by:
rebind in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

createSubcontext

public javax.naming.directory.DirContext createSubcontext(javax.naming.Name name,
                                                          javax.naming.directory.Attributes attrs)
                                                   throws javax.naming.NamingException
Specified by:
createSubcontext in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

createSubcontext

public javax.naming.directory.DirContext createSubcontext(java.lang.String name,
                                                          javax.naming.directory.Attributes attrs)
                                                   throws javax.naming.NamingException
Specified by:
createSubcontext in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getSchema

public javax.naming.directory.DirContext getSchema(javax.naming.Name name)
                                            throws javax.naming.NamingException
Specified by:
getSchema in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getSchema

public javax.naming.directory.DirContext getSchema(java.lang.String name)
                                            throws javax.naming.NamingException
Specified by:
getSchema in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getSchemaClassDefinition

public javax.naming.directory.DirContext getSchemaClassDefinition(javax.naming.Name name)
                                                           throws javax.naming.NamingException
Specified by:
getSchemaClassDefinition in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

getSchemaClassDefinition

public javax.naming.directory.DirContext getSchemaClassDefinition(java.lang.String name)
                                                           throws javax.naming.NamingException
Specified by:
getSchemaClassDefinition in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(javax.naming.Name name,
                                             javax.naming.directory.Attributes matchingAttributes,
                                             java.lang.String[] attributesToReturn)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(java.lang.String name,
                                             javax.naming.directory.Attributes matchingAttributes,
                                             java.lang.String[] attributesToReturn)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(javax.naming.Name name,
                                             javax.naming.directory.Attributes matchingAttributes)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(java.lang.String name,
                                             javax.naming.directory.Attributes matchingAttributes)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(javax.naming.Name name,
                                             java.lang.String filter,
                                             javax.naming.directory.SearchControls cons)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(java.lang.String name,
                                             java.lang.String filter,
                                             javax.naming.directory.SearchControls cons)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(javax.naming.Name name,
                                             java.lang.String filterExpr,
                                             java.lang.Object[] filterArgs,
                                             javax.naming.directory.SearchControls cons)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException

search

public javax.naming.NamingEnumeration search(java.lang.String name,
                                             java.lang.String filterExpr,
                                             java.lang.Object[] filterArgs,
                                             javax.naming.directory.SearchControls cons)
                                      throws javax.naming.NamingException
Specified by:
search in interface javax.naming.directory.DirContext
Throws:
javax.naming.NamingException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.