blob: 95e6259e2e55c754ed4e8c2d59e5f3b3db35c65c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
// $Id$
#include "TSS_IORInterceptor.h"
ACE_RCSID (CSIv2,
TSS_IORInterceptor,
"$Id$")
TAO::TSS_IORInterceptor::TSS_IORInterceptor (void)
{
}
char *
TAO::TSS_IORInterceptor::name (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::string_dup ("TAO::TSS_IORInterceptor");
}
void
TAO::TSS_IORInterceptor::destroy (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
TAO::TSS_IORInterceptor::establish_components (
PortableInterceptor::IORInfo_ptr info
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
IOP::TaggedComponent tc;
tc.component_id = IOP::TAG_CSI_SEC_MECH_LIST;
CSIIOP::CompoundSecMechList component;
component.stateful = 0; // Only stateless TSS currently supported.
CSIIOP::CompoundSecMechanisms & mechanisms = component.mechanisms;
// Only SSLIOP is supported at this point in time.
mechanisms.length (1);
CSIIOP::CompoundSecMech & mech = mechanisms[0];
mech.target_requires =
CSIIOP::Security::Integrity
| Security::Confidentiality
mech.transport_mech;
mech.as_context_mech;
mech.sas_context_mech;
// TAO currently only supports CSIv2 over IIOP.
info->add_ior_component_to_profile (component,
IOP::TAG_INTERNET_IOP
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
}
void
TAO::TSS_IORInterceptor::components_established (
PortableInterceptor::IORInfo_ptr
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
TAO::TSS_IORInterceptor::adapter_manager_state_changed (
PortableInterceptor::AdapterManagerId,
PortableInterceptor::AdapterState
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
TAO::TSS_IORInterceptor::adapter_state_changed (
const PortableInterceptor::ObjectReferenceTemplateSeq &,
PortableInterceptor::AdapterState
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
}
|