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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Authorization APIAuthorization APIThe following section describes the classes and methods used for authorization inVisiSecure.class csiv2::AccessPolicyManagerAccessPolicyManager is used define your Access Policy for authorization a client'smethod calls.Include FileThe CSIV2Policies.h file should be included when you use this class.MethodsReturnschar* domain()Returns the authorization domain name for the AccessPolicyManager.The authorization domain name for the object that uses this AccessPolicyManager.csiv2::ObjectAccessPolicy* getAccessPolicy (PortableServer_ServantBase*servant,const PortableServer::ObjectId& id,const CORBA::OctetSequence&adapter_id)Returns the objectAccessPolicy for the servant with the objectId (id) and poa id.Parameterservantidadapter_idDescriptionThe CORBA servant object.the id of the servant object.The poa id of the servant object.ReturnsObjectAccessPolicy of the servant object.Chapter 11: VisiSecure for C++ APIs 115

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

Saved successfully!

Ooh no, something went wrong!