/**
* If this is a loopback request there may be no request. Handling
* of local server objects with interceptors is now done locally
* rather than via the remote mechanism.
*/
GIOPConnection connection = ((ServerRequestInfoImpl) ri).getConnection();
// lookup for context
if (connection == null)
{
if (logger.isErrorEnabled())
logger.error("target has no connection!");
return;
}
if( !connection.isSSL() )
{
return;
}
if (! (connection.getTransport() instanceof ServerIIOPConnection))
{
return;
}
ServerIIOPConnection transport =
(ServerIIOPConnection)connection.getTransport();
SSLSocket sslSocket = (SSLSocket)transport.getSocket();
javax.net.ssl.SSLSession session = sslSocket.getSession();