[an error occurred while processing this directive]
[an error occurred while processing this directive] [an error occurred while processing this directive]

Pegasus CIM Object Broker Documentation

[an error occurred while processing this directive]


[an error occurred while processing this directive]

 

Contents

o Introduction
o Objectives
o Overview
o Credits
o Pegasus Architecture
   o Design Goals
   o The Broker
   o Pegasus Providers.
   o Extension Services
   o Pegasus Clients.
   o Functional Flow
o Pegasus Components
   o Component Descriptions
   o Pegasus Directory Structure
o Pegasus Utilization
   o Pegasus Availability
   o Pegasus Installation
   o Pegasus Operation
   o Pegasus CIM Clients
   o Pegasus Providers
   o Pegasus MOF Compiler
o Programming Pegasus
   o CIM Objects in Pegasus
   o CIM Object Table
   o Class Definitions
o Pegasus Interfaces
   o CIM Operations over HTTP
   o Pegasus Client Interfaces
   o Pegasus Provider Interfaces
   o Pegasus Service Extension Interfaces
   o Repository Interfaces
o Writing Providers.
o Glossary
o Pegasus Code Examples
   o Client Examples
   o Client Coding Examples
   o Provider Coding Examples
o Document References
o Pegausus FAQ
o
In file ../../src/Pegasus/Common/OperationContext.h:

class PEGASUS_COMMON_LINKAGE IdentityContainer

An IdentityContainer object holds the identity of a user associated with an operation.

Documentation

An IdentityContainer object holds the identity of a user associated with an operation. For example, a provider must use this Container to determine whether to perform an operation on the behalf of the requesting user.

Inheritance:


Public Fields

[more]static const String NAME
The unique name for this container type

Public Methods

[more] IdentityContainer (const OperationContext::Container& container)
Constructs an IdentityContainer object from the specified Container.
[more] IdentityContainer (const IdentityContainer& container)
Constructs a copy of the specified IdentityContainer.
[more] IdentityContainer (const String& userName)
Constructs an IdentityContainer with a specified user name.
[more]virtual ~IdentityContainer ()
Destructs the IdentityContainer
[more]IdentityContainer& operator= (const IdentityContainer& container)
Assigns the value of the specified IdentityContainer object to this object.
[more]virtual String getName () const
Returns the unique name for this Container type.
[more]virtual OperationContext::Container* clone () const
Makes a copy of this IdentityContainer object.
[more]virtual void destroy ()
Cleans up an IdentityContainer object that was created by the clone() method
[more]String getUserName () const
Gets the user name from the IdentityContainer object.

Protected Fields

[more]IdentityContainerRep* _rep
An internal representation of the IdentityContainer attributes

ostatic const String NAME
The unique name for this container type

o IdentityContainer(const OperationContext::Container& container)
Constructs an IdentityContainer object from the specified Container.
Throws:
DynamicCastFailedException If the specified Container object is not an IdentityContainer object.
Parameters:
container - The Container object to copy.

o IdentityContainer(const IdentityContainer& container)
Constructs a copy of the specified IdentityContainer.
Parameters:
container - The IdentityContainer object to copy.

o IdentityContainer(const String& userName)
Constructs an IdentityContainer with a specified user name.
Parameters:
userName - A String user name for this identity.

ovirtual ~IdentityContainer()
Destructs the IdentityContainer

oIdentityContainer& operator=(const IdentityContainer& container)
Assigns the value of the specified IdentityContainer object to this object.
Parameters:
container - The IdentityContainer object to copy.

ovirtual String getName() const
Returns the unique name for this Container type.
Returns:
The String name of the Container type.

ovirtual OperationContext::Container* clone() const
Makes a copy of this IdentityContainer object. The caller is responsible for cleaning up the copy by calling destroy() method.
Returns:
A pointer to the new Container object.

ovirtual void destroy()
Cleans up an IdentityContainer object that was created by the clone() method

oString getUserName() const
Gets the user name from the IdentityContainer object.
Returns:
A String containing the user name identity.

oIdentityContainerRep* _rep
An internal representation of the IdentityContainer attributes


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]