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.SocketInfogetEndPointInfo()com.sun.corba.ee.spi.ior.IORgetIOR()Return the IOR.com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMechgetMechanism()Return the selected compound security mechanism.SocketgetSocket()Return the socket for this connection.booleangetSSLClientAuthenticationOccurred()Return true if SSL client authentication has happened, false otherwise.booleangetSSLUsed()Return true if SSL was used to invoke the EJB.voidsetEndPointInfo(com.sun.corba.ee.spi.transport.SocketInfo info)voidsetIOR(com.sun.corba.ee.spi.ior.IOR ior)Set the IORvoidsetMechanism(com.sun.corba.ee.org.omg.CSIIOP.CompoundSecMech mech)Set the mechanism used for this invocation.voidsetSocket(Socket s)Set the socket for this connection.voidsetSSLClientAuthenticationOccurred(boolean val)Set true if SSL client authentication has happened.voidsetSSLUsed(boolean val)Set true if SSL was used to invoke the EJB.StringtoString()
-
-
-
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.
-
-