#include <IIOP_SSL_Connection_Handler.h>
Collaboration diagram for TAO_Null_SSL_State_Guard:
Public Methods | |
TAO_Null_SSL_State_Guard (TAO_SSLIOP_Current_ptr current, int &result) | |
Constructor that sets up the null TSS SSL state. | |
~TAO_Null_SSL_State_Guard (void) | |
Destructor that restores the previous TSS SSL state. | |
Private Attributes | |
TAO_SSLIOP_Current_Impl * | previous_current_impl_ |
TAO_SSLIOP_Current_ptr | current_ |
Reference to the SSLIOP::Current object. | |
CORBA::Boolean | setup_done_ |
This guard is used to make TSS SSL state configuration and deconfiguration during an upcall exception safe. Exceptions are not supposed to be propagated up to the scope this guard is used in, so this guard may be unnecessary. However, since proper TSS SSL state configuration/deconfiguration is critical to proper security support, this guard is used to ensure that configuration/deconfiguration is exception safe.
|
Constructor that sets up the null TSS SSL state.
|
|
Destructor that restores the previous TSS SSL state.
|
|
Reference to the SSLIOP::Current object.
|
|
It is stored here until the invocation completes, after which it placed back into TSS. |
|
Flag that specifies whether or not setup of the SSLIOP::Current object completed for the current thread and invocation. |