jrunx.iiop.security
Class ConnectionContext

java.lang.Object
  |
  +--jrunx.iiop.security.ConnectionContext
All Implemented Interfaces:
java.io.Serializable

public final class ConnectionContext
extends java.lang.Object
implements java.io.Serializable

Author:
Vivek Nagar
See Also:
Serialized Form

Constructor Summary
ConnectionContext()
          Default constructor.
ConnectionContext(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech, com.sun.corba.ee.internal.core.IOR ior)
          Create the security mechanism context.
 
Method Summary
 com.sun.corba.ee.connection.EndPointInfo getEndPointInfo()
           
 com.sun.corba.ee.internal.core.IOR getIOR()
          Return the IOR.
 com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech getMechanism()
          Return the selected compound security mechanism.
 java.net.Socket getSocket()
          Return the socket for this connection.
 boolean getSSLClientAuthenticationOccurred()
          Return true if SSL client authentication has happened, false otherwise.
 boolean getSSLUsed()
          Return true if SSL was used to invoke the EJB.
 void setEndPointInfo(com.sun.corba.ee.connection.EndPointInfo info)
           
 void setIOR(com.sun.corba.ee.internal.core.IOR ior)
          Set the IOR
 void setMechanism(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
          Set the mechanism used for this invocation.
 void setSocket(java.net.Socket s)
          Set the socket for this connection.
 void setSSLClientAuthenticationOccurred(boolean val)
          Set true if SSL client authentication has happened.
 void setSSLUsed(boolean val)
          Set true if SSL was used to invoke the EJB.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionContext

public ConnectionContext()
Default constructor.

ConnectionContext

public ConnectionContext(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech,
                         com.sun.corba.ee.internal.core.IOR ior)
Create the security mechanism context. This is stored in TLS.
Method Detail

getIOR

public com.sun.corba.ee.internal.core.IOR getIOR()
Return the IOR.

setIOR

public void setIOR(com.sun.corba.ee.internal.core.IOR ior)
Set the IOR

getMechanism

public com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech getMechanism()
Return the selected compound security mechanism.

setMechanism

public void setMechanism(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
Set the mechanism used for this invocation.

getSSLClientAuthenticationOccurred

public boolean getSSLClientAuthenticationOccurred()
Return true if SSL client authentication has happened, false otherwise.

setSSLClientAuthenticationOccurred

public void setSSLClientAuthenticationOccurred(boolean val)
Set true if SSL client authentication has happened.

getSSLUsed

public boolean getSSLUsed()
Return true if SSL was used to invoke the EJB.

setSSLUsed

public void setSSLUsed(boolean val)
Set true if SSL was used to invoke the EJB.

setEndPointInfo

public void setEndPointInfo(com.sun.corba.ee.connection.EndPointInfo info)

getEndPointInfo

public com.sun.corba.ee.connection.EndPointInfo getEndPointInfo()

getSocket

public java.net.Socket getSocket()
Return the socket for this connection.

setSocket

public void setSocket(java.net.Socket s)
Set the socket for this connection.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright � 2002 Macromedia Corporation. All Rights Reserved.