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.

vbsec::AttributeCodecReturnsExceptionsArgumentsNoteExceptionsReturnsExceptionsReturnsExceptionsReturnsExceptionsThis method returns the attribute map of the user.The user's attribute map.nonevoid setDBAttributes (const ::vbsec::ATTRIBUTE_MAP& map);This method updates the DN Attributes of the user.The new DN Attributes Map.After the DN Attributes Map has been set, the Privileges object will set the underlyingDN Attributes Map as unmodifiable.noneconst ::vbsec::ATTRIBUTE_MAP* getDNAttributes() const;This method returns the DN Attributes of the Privileges object, which can be null.User's DN Attributes map, which is not modifiable.nonebool isDestroyed() const;This method checks whether the privileges object has been destroyed or not.true|falsenonestd::string toString() const;This method overrides the default toString implementation of java.lang.Object, andreturns “Privileges for ” information.List of privileges for each subject name.nonevbsec::AttributeCodecThe AttributeCodec objects are responsible for encoding and decoding privilegesattributes of a given subject. This allows clients and servers to communicate privilegeinformation to each other. Though the privilege information is used as the basis for theAuthorization decision-making process, AttributeCodec selection is based on theinformation presented in the IOR published by the server. Inside the IOR, the serverpublishes information on the encoding scheme supported, while clients select anAttributeCodec that supports the given encoding.All the AttributeCodecs implementations are registered with the IdentityServices, whichis called upon during the import/export of the authorization elements process.MethodsArgumentsvirtual void initialize (const std::string& name, vbsec::InitOptions& options)=0;This method initializes this instance of the AttributeCodec implementation. There canbe multiply implementations existing in one ORB, and each is addressed internallyusing the name provided.This method takes the following arguments:■■A string of AttributeCodec implementation names.Provider options.128 VisiBroker Security Guide

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

Saved successfully!

Ooh no, something went wrong!