public class JNDIContext extends Object implements InitialContextFactory, Context
| Modifier and Type | Class and Description |
|---|---|
static class |
JNDIContext.AuthenticationInfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATE_WITH_THE_REQUEST |
static String |
DEFAULT_PROVIDER_URL |
static String |
SERIALIZER |
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 and Description |
|---|
JNDIContext() |
JNDIContext(JNDIContext that) |
public static final String DEFAULT_PROVIDER_URL
public static final String SERIALIZER
public static final String AUTHENTICATE_WITH_THE_REQUEST
public JNDIContext()
public JNDIContext(JNDIContext that)
protected AuthenticationResponse requestAuthorization(AuthenticationRequest req) throws RemoteException
RemoteExceptionpublic Context getInitialContext(Hashtable environment) throws NamingException
getInitialContext in interface InitialContextFactoryNamingExceptionpublic void authenticate(String userID, String psswrd) throws AuthenticationException
AuthenticationExceptionpublic EJBHomeProxy createEJBHomeProxy(EJBMetaDataImpl ejbData)
public Object lookup(String name) throws NamingException
lookup in interface ContextNamingExceptionpublic Object lookup(Name name) throws NamingException
lookup in interface ContextNamingExceptionpublic NamingEnumeration<NameClassPair> list(String name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration<NameClassPair> list(Name name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration<Binding> listBindings(String name) throws NamingException
listBindings in interface ContextNamingExceptionpublic NamingEnumeration<Binding> listBindings(Name name) throws NamingException
listBindings in interface ContextNamingExceptionpublic Object lookupLink(String name) throws NamingException
lookupLink in interface ContextNamingExceptionpublic Object lookupLink(Name name) throws NamingException
lookupLink in interface ContextNamingExceptionpublic NameParser getNameParser(String name) throws NamingException
getNameParser in interface ContextNamingExceptionpublic NameParser getNameParser(Name name) throws NamingException
getNameParser in interface ContextNamingExceptionpublic String composeName(String name, String prefix) throws NamingException
composeName in interface ContextNamingExceptionpublic Name composeName(Name name, Name prefix) throws NamingException
composeName in interface ContextNamingExceptionpublic Object addToEnvironment(String key, Object value) throws NamingException
addToEnvironment in interface ContextNamingExceptionpublic Object removeFromEnvironment(String key) throws NamingException
removeFromEnvironment in interface ContextNamingExceptionpublic Hashtable getEnvironment() throws NamingException
getEnvironment in interface ContextNamingExceptionpublic String getNameInNamespace() throws NamingException
getNameInNamespace in interface ContextNamingExceptionpublic void close()
throws NamingException
close in interface ContextNamingExceptionpublic void bind(String name, Object obj) throws NamingException
bind in interface ContextNamingExceptionpublic void bind(Name name, Object obj) throws NamingException
bind in interface ContextNamingExceptionpublic void rebind(String name, Object obj) throws NamingException
rebind in interface ContextNamingExceptionpublic void rebind(Name name, Object obj) throws NamingException
rebind in interface ContextNamingExceptionpublic void unbind(String name) throws NamingException
unbind in interface ContextNamingExceptionpublic void unbind(Name name) throws NamingException
unbind in interface ContextNamingExceptionpublic void rename(String oldname, String newname) throws NamingException
rename in interface ContextNamingExceptionpublic void rename(Name oldname, Name newname) throws NamingException
rename in interface ContextNamingExceptionpublic void destroySubcontext(String name) throws NamingException
destroySubcontext in interface ContextNamingExceptionpublic void destroySubcontext(Name name) throws NamingException
destroySubcontext in interface ContextNamingExceptionpublic Context createSubcontext(String name) throws NamingException
createSubcontext in interface ContextNamingExceptionpublic Context createSubcontext(Name name) throws NamingException
createSubcontext in interface ContextNamingExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.