version 1.4, 2002/06/01 00:57:27
|
version 1.5, 2002/09/13 21:40:42
|
|
|
// Author: Sushma Fernandes (sushma_fernandes@hp.com) | // Author: Sushma Fernandes (sushma_fernandes@hp.com) |
// | // |
// Modified By: Nag Boranna, Hewlett Packard Company (nagaraja_boranna@hp.com) | // Modified By: Nag Boranna, Hewlett Packard Company (nagaraja_boranna@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
// | // |
//%//////////////////////////////////////////////////////////////////////////// | //%//////////////////////////////////////////////////////////////////////////// |
| |
|
|
@param nameSpace string containing the namespace name. | @param nameSpace string containing the namespace name. |
@return true if the specified name space is valid and exists, false otherwise. | @return true if the specified name space is valid and exists, false otherwise. |
*/ | */ |
Boolean verifyNamespace( const String& nameSpace ); |
Boolean verifyNamespace( const CIMNamespaceName& nameSpace ); |
| |
/** Verify whether the specified operation has authorization to be performed | /** Verify whether the specified operation has authorization to be performed |
by the specified user. | by the specified user. |
|
|
*/ | */ |
Boolean verifyAuthorization( | Boolean verifyAuthorization( |
const String& userName, | const String& userName, |
const String& nameSpace, |
const CIMNamespaceName& nameSpace, |
const String& cimMethodName); |
const CIMName& cimMethodName); |
| |
/** Set the authorization to the specified user on the specified namespace. | /** Set the authorization to the specified user on the specified namespace. |
@param userName string containing the user name. | @param userName string containing the user name. |
|
|
*/ | */ |
void setAuthorization( | void setAuthorization( |
const String& userName, | const String& userName, |
const String& nameSpace, |
const CIMNamespaceName& nameSpace, |
const String& auth); | const String& auth); |
| |
/** Remove the authorizations of the specified user on the specified namespace. | /** Remove the authorizations of the specified user on the specified namespace. |
|
|
*/ | */ |
void removeAuthorization( | void removeAuthorization( |
const String& userName, | const String& userName, |
const String& nameSpace); |
const CIMNamespaceName& nameSpace); |
| |
/** Get the authorizations of the specified user on the specified namespace. | /** Get the authorizations of the specified user on the specified namespace. |
@param userName string containing the user name. | @param userName string containing the user name. |
|
|
*/ | */ |
String getAuthorization( | String getAuthorization( |
const String& userName, | const String& userName, |
const String& nameSpace); |
const CIMNamespaceName& nameSpace); |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |