| com.sun.jndi.toolkit.url.GenericURLDirContext com.sun.jndi.url.ldap.ldapURLContext
Method Summary | |
public void | bind(String name, Object obj) | public void | bind(Name name, Object obj) | public void | bind(String name, Object obj, Attributes attrs) | public void | bind(Name name, Object obj, Attributes attrs) | public String | composeName(String name, String prefix) | public Name | composeName(Name name, Name prefix) | public Context | createSubcontext(String name) | public Context | createSubcontext(Name name) | public DirContext | createSubcontext(String name, Attributes attrs) | public DirContext | createSubcontext(Name name, Attributes attrs) | public void | destroySubcontext(String name) | public void | destroySubcontext(Name name) | public Attributes | getAttributes(String name) | public Attributes | getAttributes(Name name) | public Attributes | getAttributes(String name, String[] attrIds) | public Attributes | getAttributes(Name name, String[] attrIds) | public NameParser | getNameParser(String name) | public NameParser | getNameParser(Name name) | protected ResolveResult | getRootURLContext(String name, Hashtable env) Resolves 'name' into a target context with remaining name.
It only resolves the hostname/port number. | public DirContext | getSchema(String name) | public DirContext | getSchema(Name name) | public DirContext | getSchemaClassDefinition(String name) | public DirContext | getSchemaClassDefinition(Name name) | protected Name | getURLSuffix(String prefix, String url) Return the suffix of an ldap url. | public NamingEnumeration | list(String name) | public NamingEnumeration | list(Name name) | public NamingEnumeration | listBindings(String name) | public NamingEnumeration | listBindings(Name name) | public Object | lookup(String name) | public Object | lookup(Name name) | public Object | lookupLink(String name) | public Object | lookupLink(Name name) | public void | modifyAttributes(String name, int mod_op, Attributes attrs) | public void | modifyAttributes(Name name, int mod_op, Attributes attrs) | public void | modifyAttributes(String name, ModificationItem[] mods) | public void | modifyAttributes(Name name, ModificationItem[] mods) | public void | rebind(String name, Object obj) | public void | rebind(Name name, Object obj) | public void | rebind(String name, Object obj, Attributes attrs) | public void | rebind(Name name, Object obj, Attributes attrs) | public void | rename(String oldName, String newName) | public void | rename(Name oldName, Name newName) | public NamingEnumeration | search(String name, Attributes matchingAttributes) | public NamingEnumeration | search(Name name, Attributes matchingAttributes) | public NamingEnumeration | search(String name, Attributes matchingAttributes, String[] attributesToReturn) | public NamingEnumeration | search(Name name, Attributes matchingAttributes, String[] attributesToReturn) | public NamingEnumeration | search(String name, String filter, SearchControls cons) | public NamingEnumeration | search(Name name, String filter, SearchControls cons) | public NamingEnumeration | search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) | public NamingEnumeration | search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) | public void | unbind(String name) | public void | unbind(Name name) |
getRootURLContext | protected ResolveResult getRootURLContext(String name, Hashtable env) throws NamingException(Code) | | Resolves 'name' into a target context with remaining name.
It only resolves the hostname/port number. The remaining name
contains the root DN.
For example, with a LDAP URL "ldap://localhost:389/o=widget,c=us",
this method resolves "ldap://localhost:389/" to the root LDAP
context on the server 'localhost' on port 389,
and returns as the remaining name "o=widget, c=us".
|
Methods inherited from com.sun.jndi.toolkit.url.GenericURLDirContext | public void bind(String name, Object obj, Attributes attrs) throws NamingException(Code)(Java Doc) public void bind(Name name, Object obj, Attributes attrs) throws NamingException(Code)(Java Doc) public DirContext createSubcontext(String name, Attributes attrs) throws NamingException(Code)(Java Doc) public DirContext createSubcontext(Name name, Attributes attrs) throws NamingException(Code)(Java Doc) public Attributes getAttributes(String name) throws NamingException(Code)(Java Doc) public Attributes getAttributes(Name name) throws NamingException(Code)(Java Doc) public Attributes getAttributes(String name, String[] attrIds) throws NamingException(Code)(Java Doc) public Attributes getAttributes(Name name, String[] attrIds) throws NamingException(Code)(Java Doc) protected DirContext getContinuationDirContext(Name n) throws NamingException(Code)(Java Doc) public DirContext getSchema(String name) throws NamingException(Code)(Java Doc) public DirContext getSchema(Name name) throws NamingException(Code)(Java Doc) public DirContext getSchemaClassDefinition(String name) throws NamingException(Code)(Java Doc) public DirContext getSchemaClassDefinition(Name name) throws NamingException(Code)(Java Doc) public void modifyAttributes(String name, int mod_op, Attributes attrs) throws NamingException(Code)(Java Doc) public void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException(Code)(Java Doc) public void modifyAttributes(String name, ModificationItem[] mods) throws NamingException(Code)(Java Doc) public void modifyAttributes(Name name, ModificationItem[] mods) throws NamingException(Code)(Java Doc) public void rebind(String name, Object obj, Attributes attrs) throws NamingException(Code)(Java Doc) public void rebind(Name name, Object obj, Attributes attrs) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(String name, String filter, SearchControls cons) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(Name name, String filter, SearchControls cons) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException(Code)(Java Doc) public NamingEnumeration<SearchResult> search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException(Code)(Java Doc)
|
|
|