11.07.2015 Views

Borland VisiBroker® 7.0 - Borland Technical Publications

Borland VisiBroker® 7.0 - Borland Technical Publications

Borland VisiBroker® 7.0 - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

QoP APIQoP APIThe following section details the Quality of Protection API provided with VisiSecure.class vbsec::ServerConfigImplServerConfigImpl is the implementation of the csiv2::ServerQoPConfig, which is an IDLstructure as follows:ServerConfigImpl (CORBA::Boolean disable,CORBA::Short transport,CORBA::Boolean trustInClient,csiv2::AccessPolicyManager* access_manager,const CORBA::StringSequence& realms = _available,CORBA::Short requiredIdentityType = csiv2::ServerQoPConfig::UP_OR_PK,CORBA::Boolean supportIdentityAssertion = static_cast(1));ParameterdisabletransporttrustInClientaccess_managerrealmsrequiredIdentityTypesupportIdentityAssertionDescriptionWhether or not to disable security.The transport mechanism to use. Valid values are:■ csiv2::CLEAR_ONLY: no secure transport is necessary■csiv2::SECURE_ONLY: only secure connections are permitted■ csiv2::ALL: any method of transport is allowedWhether or not the target requests the client to authenticate. Thisvalue is set on CSIV2 layer.An access manager for the QoP implementation, animplementation of csiv2::AccessPolicyManager defined by the user. Ifnull, it uses a default value.The available realms in which to implement the policy.The required identity for the QoP policy implementation. The defaultvalue is csiv2::ServerQoPConfig::UP_OR_PK. Possible values are:csiv2:ServerQoPConfig::NO_ID, csiv2::ServerQoPConfig::UP,csiv2::ServerQoPConfig::PK, csiv2::ServerQoPConfig::UP_OR_PK andcsiv2::ServerQoPConfig::UP_AND_PKWhether or not the application supports Identity Assertion.To define the ServerQoPPolicy, you create this object which defines the variouscharacteristics of the policy.Include FileThe CSIV2Policies.h file should be included when you use this class.class ServerQoPPolicyImplServerQoPPolicyImpl is the implementation of the csiv2::ServerQoPPolicy. TheServerQoPPolicyImpl object impacts the QoP behaviour of the server.Include FileThe CSIV2Policies.h file should be included when you use this class.MethodsServerQoPPolicyImpl (const csiv2::ServerQoPConfig_var& conf);Chapter 11: VisiSecure for C++ APIs 113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!