Package com.sun.enterprise.iiop.security
Class ConnectionContext
- java.lang.Object
-
- com.sun.enterprise.iiop.security.ConnectionContext
-
- All Implemented Interfaces:
Serializable
public final class ConnectionContext extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionContext()
Default constructor.ConnectionContext(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech, com.sun.corba.ee.spi.ior.IOR ior)
Create the security mechanism context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.corba.ee.spi.transport.SocketInfo
getEndPointInfo()
com.sun.corba.ee.spi.ior.IOR
getIOR()
Return the IOR.com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech
getMechanism()
Return the selected compound security mechanism.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.spi.transport.SocketInfo info)
void
setIOR(com.sun.corba.ee.spi.ior.IOR ior)
Set the IORvoid
setMechanism(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)
Set the mechanism used for this invocation.void
setSocket(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.String
toString()
-
-
-
Method Detail
-
getIOR
public com.sun.corba.ee.spi.ior.IOR getIOR()
Return the IOR.
-
setIOR
public void setIOR(com.sun.corba.ee.spi.ior.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.spi.transport.SocketInfo info)
-
getEndPointInfo
public com.sun.corba.ee.spi.transport.SocketInfo getEndPointInfo()
-
getSocket
public Socket getSocket()
Return the socket for this connection.
-
setSocket
public void setSocket(Socket s)
Set the socket for this connection.
-
-