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.

Chapter11VisiSecure for C++ APIsChapterThis section describes APIs that are defined in VisiSecure for C++. It is separated intosubsections including:■■■General APIsSSL and Certificate APIsQoP APIs■Authorization APIsAll classes are under namespace vbsec unless otherwise specified.General APIThe general VisiSecure API describes the Current and Context APIs. It provides APIinformation for Principals, Credentials, and Subjects. In addition, the Wallet API isdiscussed.class vbsec::CurrentCurrent represents the view to the thread specific security context. Some calls arerelevant only in an request execution context. This object can be obtained through thefollowing code:CORBA::Object_var obj = orb->resolve_initial_references("VBSecurityCurrent");Current* c = dynamic_cast(obj.in());Include FileThe vbsec.h file should be included when you use this class.Methodsvoid asserting (const vbsec::Subject* caller)Chapter 11: VisiSecure for C++ APIs 95

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

Saved successfully!

Ooh no, something went wrong!