version 1.31, 2006/09/29 17:38:14
|
version 1.32, 2006/11/14 18:34:50
|
|
|
{ | { |
public: | public: |
| |
/** Constructors */ |
/** Constructor */ |
SecurityPropertyOwner(); | SecurityPropertyOwner(); |
| |
/** | /** |
|
|
*/ | */ |
void initialize(); | void initialize(); |
| |
|
|
/** | /** |
Get information about the specified property. | Get information about the specified property. |
| |
|
|
@param propertyInfo List to store the property info. | @param propertyInfo List to store the property info. |
@exception UnrecognizedConfigProperty if the property is not defined. | @exception UnrecognizedConfigProperty if the property is not defined. |
*/ | */ |
void getPropertyInfo(const String& name, |
void getPropertyInfo( |
|
const String& name, |
Array<String>& propertyInfo)const; | Array<String>& propertyInfo)const; |
| |
|
|
/** | /** |
Get default value of the specified property. | Get default value of the specified property. |
| |
|
|
*/ | */ |
String getDefaultValue(const String& name)const; | String getDefaultValue(const String& name)const; |
| |
|
|
/** | /** |
Get current value of the specified property. | Get current value of the specified property. |
| |
@param name The name of the property. | @param name The name of the property. |
@return string containing the currnet value of the property specified. |
@return string containing the current value of the property specified. |
@exception UnrecognizedConfigProperty if the property is not defined. | @exception UnrecognizedConfigProperty if the property is not defined. |
*/ | */ |
String getCurrentValue(const String& name)const; | String getCurrentValue(const String& name)const; |
| |
|
|
/** | /** |
Get planned value of the specified property. | Get planned value of the specified property. |
| |
|
|
*/ | */ |
String getPlannedValue(const String& name)const; | String getPlannedValue(const String& name)const; |
| |
|
|
/** | /** |
Init current value of the specified property to the specified value. | Init current value of the specified property to the specified value. |
This method is expected to be called only once at the start of the | This method is expected to be called only once at the start of the |
|
|
*/ | */ |
void initCurrentValue(const String& name, const String& value); | void initCurrentValue(const String& name, const String& value); |
| |
|
|
/** | /** |
Init planned value of the specified property to the specified value. | Init planned value of the specified property to the specified value. |
This method is expected to be called only once at the start of the | This method is expected to be called only once at the start of the |
|
|
*/ | */ |
void initPlannedValue(const String& name, const String& value); | void initPlannedValue(const String& name, const String& value); |
| |
|
|
/** | /** |
Update current value of the specified property to the specified value. | Update current value of the specified property to the specified value. |
The property value will be updated only if the property is dynamically | The property value will be updated only if the property is dynamically |
|
|
//throw (NonDynamicConfigProperty, InvalidPropertyValue, | //throw (NonDynamicConfigProperty, InvalidPropertyValue, |
// UnrecognizedConfigProperty); | // UnrecognizedConfigProperty); |
| |
|
|
/** | /** |
Update planned value of the specified property to the specified value. | Update planned value of the specified property to the specified value. |
| |
|
|
*/ | */ |
void updatePlannedValue(const String& name, const String& value); | void updatePlannedValue(const String& name, const String& value); |
| |
|
|
/** | /** |
Checks to see if the given value is valid or not. | Checks to see if the given value is valid or not. |
| |
|
|
*/ | */ |
Boolean isValid(const String& name, const String& value)const; | Boolean isValid(const String& name, const String& value)const; |
| |
|
|
/** | /** |
Checks to see if the specified property is dynamic or not. | Checks to see if the specified property is dynamic or not. |
| |
|
|
*/ | */ |
Boolean isDynamic(const String& name)const; | Boolean isDynamic(const String& name)const; |
| |
|
|
private: | private: |
| |
struct ConfigProperty* _lookupConfigProperty(const String& name) const; | struct ConfigProperty* _lookupConfigProperty(const String& name) const; |
|
|
/** | /** |
The security properties owned by this class | The security properties owned by this class |
*/ | */ |
AutoPtr<struct ConfigProperty> _enableAuthentication; //PEP101 |
AutoPtr<struct ConfigProperty> _enableAuthentication; |
|
AutoPtr<struct ConfigProperty> _enableNamespaceAuthorization; |
AutoPtr<struct ConfigProperty> _enableNamespaceAuthorization; //PEP101 |
AutoPtr<struct ConfigProperty> _httpAuthType; |
|
AutoPtr<struct ConfigProperty> _passwordFilePath; |
AutoPtr<struct ConfigProperty> _httpAuthType; //PEP101 |
AutoPtr<struct ConfigProperty> _enableRemotePrivilegedUserAccess; |
|
AutoPtr<struct ConfigProperty> _certificateFilePath; |
AutoPtr<struct ConfigProperty> _passwordFilePath; //PEP101 |
AutoPtr<struct ConfigProperty> _keyFilePath; |
|
AutoPtr<struct ConfigProperty> _trustStore; |
AutoPtr<struct ConfigProperty> _enableRemotePrivilegedUserAccess; //PEP101 |
AutoPtr<struct ConfigProperty> _crlStore; |
|
AutoPtr<struct ConfigProperty> _sslClientVerificationMode; |
AutoPtr<struct ConfigProperty> _certificateFilePath; //PEP101 |
AutoPtr<struct ConfigProperty> _sslTrustStoreUserName; |
|
AutoPtr<struct ConfigProperty> _enableSubscriptionsForNonprivilegedUsers; |
AutoPtr<struct ConfigProperty> _keyFilePath; //PEP101 |
|
|
|
AutoPtr<struct ConfigProperty> _trustStore; //PEP101 |
|
|
|
AutoPtr<struct ConfigProperty> _crlStore; //PEP101 |
|
|
|
AutoPtr<struct ConfigProperty> _sslClientVerificationMode; //PEP101 |
|
|
|
AutoPtr<struct ConfigProperty> _sslTrustStoreUserName; //PEP101 |
|
|
|
AutoPtr<struct ConfigProperty> _enableSubscriptionsForNonprivilegedUsers; //PEP101 |
|
| |
#ifdef PEGASUS_ENABLE_USERGROUP_AUTHORIZATION | #ifdef PEGASUS_ENABLE_USERGROUP_AUTHORIZATION |
AutoPtr<struct ConfigProperty> _authorizedUserGroups; //PEP101 |
AutoPtr<struct ConfigProperty> _authorizedUserGroups; |
#endif | #endif |
| |
#ifdef PEGASUS_KERBEROS_AUTHENTICATION | #ifdef PEGASUS_KERBEROS_AUTHENTICATION |
AutoPtr<struct ConfigProperty> _kerberosServiceName; //PEP101 |
AutoPtr<struct ConfigProperty> _kerberosServiceName; |
#endif | #endif |
}; | }; |
| |