Borland VisiBroker® 7.0 - Borland Technical Publications
Borland VisiBroker® 7.0 - Borland Technical Publications Borland VisiBroker® 7.0 - Borland Technical Publications
General APILog the user out from a given realm.ParameterrealmDescriptionThe realm to logout from.void setCallbackHandler (vbsec::CallbackHandler* handler)Set the default callback handler programmatically. This is similar to using the propertyvbroker.security.authentication.callbackHandler.ParameterhandlerDescriptionThe CallbackHandler to be set.void generateVault( std::ostream& stream, const CSI::UTF8String& password)Generates a vault. The vault is written out to the stream that is passed in and encryptedusing the password provided (also used to decrypt the vault). The password may benull. The vault contains all of the system's identities.ParameterstreampasswordDescriptionThe stream that the vault information will be written into, in binary format.The password used to encrypt the vault information.vbsec::Subject* authenticateUser (const vbsec::Wallet& wallet)Authenticate the given wallet credential. The login will be performed using the walletbut the authenticated subject will not be used as one of the system identities.ParameterwalletDescriptionThe wallet to be used for authenticationvbsec::Subject* importIdentity (const vbsec::Wallet& wallet)Import a subject using the given wallet credential. No login is required with this method.The subject will not be used as one of the system identities.ParameterwalletDescriptionThe wallet corresponding to the identity to be imported.void setPRNGSeed (const CORBA::OctetSequence& seed)Sets a seed for the pseudo-random generator used by the SSL layer.ParameterseedDescriptionThe seed for the PRNG.Returnsssl::CipherSuiteInfoList* listAvailableCipherSuites()Get the list of cipher suites that are available for use with the SSL layer. Note that thisis different from the getEnabledCipherSuites call in that not all the available ciphersuites may be currently enabled.List of cipher suits that are available but may not be enabled for use with the SSL layer.void enableCipherSuites (const ssl::CipherSuiteInfoList& suites)98 VisiBroker Security Guide
General APISets the cipher suites that should be enabled for all SSL sessions.ParametersuitesDescriptionAn IDL-generated CipherSuiteInfoList type.Returnsssl::CipherSuiteInfoList* getEnabledCipherSuites()Gets the set of cipher suites that are currently enabled for all SSL sessions.Cipher suits that are currently enabled for all SSL sessions.void setSSLContext (vbsec::VBSSLContext* ctx)Sets the SSL context. This will allow establishing of an SSL session using theinformation defined in VBSSLContext. A VBSSLContext can be created using theSecureSocketProvider API.ParameterctxDescriptionThe VBSSLContext that is to be used for any SSL session establishment.ReturnsVBSSLContext& getSSLContext()Get the VBSSLContext that is set using the setSSLContext() or return a defaultVBSSLContext object.The VBSSLContext that will be used for any SSLSession establishment.class vbsec::PrincipalPrincipal represents the identity of a user. This is a virtual class.Include fileThe vbsec.h file should be included when you use this class.ReturnsReturnsMethodsstd::string getName() constThe name of the Principal.std::string toString() constGet the string representation of the Principal.The string representation of the Principal.class vbsec::CredentialCredential represents the information used to authenticate an identity, such as username and password. This is a virtual class.Include FileThe vbsec.h file should be included when you use this class.Chapter 11: VisiSecure for C++ APIs 99
- Page 53 and 54: Authorization domainsTo accomplish
- Page 55 and 56: CORBA authorizationwhere is a taut
- Page 57 and 58: Chapter5Configuring Security Profil
- Page 59 and 60: Security ProfilesEnabling SecurityF
- Page 61 and 62: Security ProfilesConfiguring Authen
- Page 63 and 64: Security ProfilesTo access the Auth
- Page 65 and 66: Security ProfilesWorking with Autho
- Page 67 and 68: Security ProfilesAdding and Removin
- Page 69 and 70: Associating a Profile with a Domain
- Page 71 and 72: Chapter6Making Secure Connections (
- Page 73 and 74: Steps to secure clients and servers
- Page 75 and 76: Examining SSL related informationEx
- Page 77 and 78: Chapter7Making Secure Connections (
- Page 79 and 80: Steps to secure clients and servers
- Page 81 and 82: Creating Custom PluginsLoginModules
- Page 83 and 84: ChapterChapter8Security for the Web
- Page 85 and 86: Security for the Apache web serverC
- Page 87 and 88: Enabling certificate passthrough to
- Page 89 and 90: Security for the Borland web contai
- Page 91 and 92: Three-tier authorization schemeNote
- Page 93 and 94: Chapter9Security Properties for Jav
- Page 95 and 96: Security Properties for JavaPropert
- Page 97 and 98: Chapter10Security Properties for C+
- Page 99 and 100: Security Properties for C++Property
- Page 101 and 102: Chapter11VisiSecure for C++ APIsCha
- Page 103: General APIUse this to login to the
- Page 107 and 108: General APIReturnsA set of the publ
- Page 109 and 110: SSL APISSL APIThis section explains
- Page 111 and 112: SSL APIclass CipherSuiteNameThis cl
- Page 113 and 114: SSL APIExceptionsCORBA::BAD_OPERATI
- Page 115 and 116: Certificate APICertificate APIThis
- Page 117 and 118: Certificate APIclass CORBAsec::X509
- Page 119 and 120: QoP APIQoP APIThe following section
- Page 121 and 122: Authorization APIAuthorization APIT
- Page 123 and 124: ChapterChapter12Security SPIfor C++
- Page 125 and 126: ProvidersProvidersTable 12.1Each pr
- Page 127 and 128: vbsec::CallbackHandlervbsec::Callba
- Page 129 and 130: vbsec::AuthenticationMechanismsMeth
- Page 131 and 132: vbsec::TargetReturnsExceptionsArgum
- Page 133 and 134: vbsec::Resourcevbsec::ResourceThe R
- Page 135 and 136: vbsec::AttributeCodecFor the provid
- Page 137 and 138: vbsec::PermissionCollectionvbsec::P
- Page 139 and 140: vbsec::InitOptionsvbsec::InitOption
- Page 141 and 142: IndexSymbols... ellipsis 4.defaultA
- Page 143 and 144: Iidentitiessetting up 36setting up
- Page 145 and 146: security (C++)AttributeCodec 119, 1
- Page 147 and 148: VisiSecure APIs (C++) 95VisiSecure
General APILog the user out from a given realm.ParameterrealmDescriptionThe realm to logout from.void setCallbackHandler (vbsec::CallbackHandler* handler)Set the default callback handler programmatically. This is similar to using the propertyvbroker.security.authentication.callbackHandler.ParameterhandlerDescriptionThe CallbackHandler to be set.void generateVault( std::ostream& stream, const CSI::UTF8String& password)Generates a vault. The vault is written out to the stream that is passed in and encryptedusing the password provided (also used to decrypt the vault). The password may benull. The vault contains all of the system's identities.ParameterstreampasswordDescriptionThe stream that the vault information will be written into, in binary format.The password used to encrypt the vault information.vbsec::Subject* authenticateUser (const vbsec::Wallet& wallet)Authenticate the given wallet credential. The login will be performed using the walletbut the authenticated subject will not be used as one of the system identities.ParameterwalletDescriptionThe wallet to be used for authenticationvbsec::Subject* importIdentity (const vbsec::Wallet& wallet)Import a subject using the given wallet credential. No login is required with this method.The subject will not be used as one of the system identities.ParameterwalletDescriptionThe wallet corresponding to the identity to be imported.void setPRNGSeed (const CORBA::OctetSequence& seed)Sets a seed for the pseudo-random generator used by the SSL layer.ParameterseedDescriptionThe seed for the PRNG.Returnsssl::CipherSuiteInfoList* listAvailableCipherSuites()Get the list of cipher suites that are available for use with the SSL layer. Note that thisis different from the getEnabledCipherSuites call in that not all the available ciphersuites may be currently enabled.List of cipher suits that are available but may not be enabled for use with the SSL layer.void enableCipherSuites (const ssl::CipherSuiteInfoList& suites)98 VisiBroker Security Guide