Oracle

weblogic.jndi
Class WLSJNDIEnvironmentImpl

java.lang.Object
  extended by weblogic.jndi.internal.JNDIEnvironment
      extended by weblogic.jndi.WLSJNDIEnvironmentImpl

public class WLSJNDIEnvironmentImpl
extends weblogic.jndi.internal.JNDIEnvironment

Helper for obtaining JNDI platform specific settings.


Constructor Summary
WLSJNDIEnvironmentImpl()
           
 
Method Summary
 Object copyObject(Object obj)
           
 AuthenticatedSubject getASFromAU(AuthenticatedUser au)
           
 AuthenticatedSubject getCurrentSubject(AuthenticatedSubject kernelIdentity)
           
 Context getDelegateContext(weblogic.protocol.ServerIdentity hostVM, Environment env, String subCtxName)
           
 String getRootNamingNodeStubName()
           
 weblogic.jndi.internal.SSL.SSLProxy getSSLProxy()
           
 Object iiopReplaceObject(Object object)
           
 Object iiopResolveObject(Object object)
           
 boolean isCorbaObject(Object obj)
           
 boolean isCorbaStub(Object object)
           
 void loadTransportableFactories(List transportableFactories)
          Instantiate the factories specified in the server property and cache them in a list preserving order.
 void nullSSLClientCertificate()
           
 void popSubject(AuthenticatedSubject kernelIdentity)
           
 Environment popThreadEnvironment()
           
 void prepareKernel()
           
 void prepareSubjectManager()
           
 void pushSubject(AuthenticatedSubject kernelIdentity, AuthenticatedSubject userIdentity)
           
 void pushThreadEnvironment(Environment env)
           
 void pushTransactionHelper()
           
 void setReferenceHelper()
           
 
Methods inherited from class weblogic.jndi.internal.JNDIEnvironment
getJNDIEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLSJNDIEnvironmentImpl

public WLSJNDIEnvironmentImpl()
Method Detail

getSSLProxy

public weblogic.jndi.internal.SSL.SSLProxy getSSLProxy()
Specified by:
getSSLProxy in class weblogic.jndi.internal.JNDIEnvironment

isCorbaObject

public boolean isCorbaObject(Object obj)
Specified by:
isCorbaObject in class weblogic.jndi.internal.JNDIEnvironment

copyObject

public Object copyObject(Object obj)
                  throws IOException,
                         ClassNotFoundException
Specified by:
copyObject in class weblogic.jndi.internal.JNDIEnvironment
Throws:
IOException
ClassNotFoundException

prepareKernel

public void prepareKernel()
Specified by:
prepareKernel in class weblogic.jndi.internal.JNDIEnvironment

setReferenceHelper

public void setReferenceHelper()
Specified by:
setReferenceHelper in class weblogic.jndi.internal.JNDIEnvironment

getRootNamingNodeStubName

public String getRootNamingNodeStubName()
Specified by:
getRootNamingNodeStubName in class weblogic.jndi.internal.JNDIEnvironment

nullSSLClientCertificate

public void nullSSLClientCertificate()
Specified by:
nullSSLClientCertificate in class weblogic.jndi.internal.JNDIEnvironment

iiopReplaceObject

public Object iiopReplaceObject(Object object)
                         throws IOException
Specified by:
iiopReplaceObject in class weblogic.jndi.internal.JNDIEnvironment
Throws:
IOException

iiopResolveObject

public Object iiopResolveObject(Object object)
                         throws IOException
Specified by:
iiopResolveObject in class weblogic.jndi.internal.JNDIEnvironment
Throws:
IOException

isCorbaStub

public boolean isCorbaStub(Object object)
Specified by:
isCorbaStub in class weblogic.jndi.internal.JNDIEnvironment

loadTransportableFactories

public void loadTransportableFactories(List transportableFactories)
                                throws ConfigurationException
Instantiate the factories specified in the server property and cache them in a list preserving order. Append the builtin factory to the end of the list. This ensures that the factories specified in the props file get a chance to override the builtin.

Specified by:
loadTransportableFactories in class weblogic.jndi.internal.JNDIEnvironment
Throws:
ConfigurationException

getDelegateContext

public Context getDelegateContext(weblogic.protocol.ServerIdentity hostVM,
                                  Environment env,
                                  String subCtxName)
                           throws RemoteException,
                                  NamingException
Specified by:
getDelegateContext in class weblogic.jndi.internal.JNDIEnvironment
Throws:
RemoteException
NamingException

prepareSubjectManager

public void prepareSubjectManager()
Specified by:
prepareSubjectManager in class weblogic.jndi.internal.JNDIEnvironment

pushTransactionHelper

public void pushTransactionHelper()
Specified by:
pushTransactionHelper in class weblogic.jndi.internal.JNDIEnvironment

pushThreadEnvironment

public void pushThreadEnvironment(Environment env)
Specified by:
pushThreadEnvironment in class weblogic.jndi.internal.JNDIEnvironment

popThreadEnvironment

public Environment popThreadEnvironment()
Specified by:
popThreadEnvironment in class weblogic.jndi.internal.JNDIEnvironment

pushSubject

public void pushSubject(AuthenticatedSubject kernelIdentity,
                        AuthenticatedSubject userIdentity)
Specified by:
pushSubject in class weblogic.jndi.internal.JNDIEnvironment

popSubject

public void popSubject(AuthenticatedSubject kernelIdentity)
Specified by:
popSubject in class weblogic.jndi.internal.JNDIEnvironment

getCurrentSubject

public AuthenticatedSubject getCurrentSubject(AuthenticatedSubject kernelIdentity)
Specified by:
getCurrentSubject in class weblogic.jndi.internal.JNDIEnvironment

getASFromAU

public AuthenticatedSubject getASFromAU(AuthenticatedUser au)
Specified by:
getASFromAU in class weblogic.jndi.internal.JNDIEnvironment

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.