| Modifier and Type | Field and Description |
|---|---|
| public static final String | ADDRESS_TYPE
The type of each address in an LDAP reference. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Attribute | |
| private static void | |
| public Context | getInitialContext(Hashtable<?, ?> envprops)
Implements javax. Creates an Initial Context for beginning name resolution. |
| private static LdapCtx | |
| public static DirContext | |
| public Object | getObjectInstance(Object ref, Name name, Context nameCtx, Hashtable<?, ?> env)
Implements javax. Creates an object using the location or reference information specified. |
| private static String[] | |
| private static String[] | |
| private static DirContext | |
| private static DirContext | |
| private static boolean |
| ADDRESS_TYPE | back to summary |
|---|---|
| public static final String ADDRESS_TYPE The type of each address in an LDAP reference. | |
| LdapCtxFactory | back to summary |
|---|---|
| public LdapCtxFactory() | |
| createTypeNameAttr | back to summary |
|---|---|
| public static Attribute createTypeNameAttr(Class<?> cl) Used by Obj and obj/RemoteToAttrs too so must be public | |
| getClassesAux | back to summary |
|---|---|
| private static void getClassesAux(Class<?> currentClass, Vector<String> v) | |
| getInitialContext | back to summary |
|---|---|
| public Context getInitialContext(Hashtable<?, ?> envprops) throws NamingException Implements javax. Doc from javax. Creates an Initial Context for beginning name resolution.
Special requirements of this context are supplied
using The environment parameter is owned by the caller. The implementation will not modify the object or keep a reference to it, although it may keep a reference to a clone or copy.
| |
| getLdapCtxFromUrl | back to summary |
|---|---|
| private static LdapCtx getLdapCtxFromUrl(String domain, String url, LdapURL u, Hashtable<?, ?> env) throws NamingException | |
| getLdapCtxInstance | back to summary |
|---|---|
| public static DirContext getLdapCtxInstance(Object urlInfo, Hashtable<?, ?> env) throws NamingException | |
| getObjectInstance | back to summary |
|---|---|
| public Object getObjectInstance(Object ref, Name name, Context nameCtx, Hashtable<?, ?> env) throws Exception Implements javax. Doc from javax. Creates an object using the location or reference information specified.
Special requirements of this object are supplied
using
A URL context factory is a special ObjectFactory that
creates contexts for resolving URLs or objects whose locations
are specified by URLs. The
The
Name and Context Parameters.
The
| |
| getTypeNames | back to summary |
|---|---|
| private static String[] getTypeNames(Class<?> currentClass, Vector<String> v) | |
| getURLs | back to summary |
|---|---|
| private static String[] getURLs(Reference ref) throws NamingException Returns the URLs contained within an LDAP reference. | |
| getUsingURL | back to summary |
|---|---|
| private static DirContext getUsingURL(String url, Hashtable<?, ?> env) throws NamingException | |
| getUsingURLs | back to summary |
|---|---|
| private static DirContext getUsingURLs(String[] urls, Hashtable<?, ?> env) throws NamingException | |
| isLdapRef | back to summary |
|---|---|
| private static boolean isLdapRef(Object obj) Returns true if argument is an LDAP reference. | |