[Previous] [Next] [Table of Contents] [Index]
Gradient extended interfaces include:
GradCredentials Interface
GradCurrent Interface
GradDelegationPolicy
GradDomainAccessPolicy
GradDomainManager
GradPolicy
GradReceivedCredentials Interface
GradRequiredRights Interface
GradSecureInvocationPolicy
GradVault
5.1 GradAuditPolicy Interface
This interface derives from AuditPolicy and adds operations to make administration easier.
The GradAuditPolicy interface supports the following operations:
enumerate_interfaces
get_audit_channel
enumerate_events
The enumerate_events method returns a list of the events that have a selector list for the specified interface and within the audit policy.
Syntax
| IDL |
|
List of event types defined for interface.
enumerate_interfaces
The enumerate_interfaces method returns a list of the interfaces that have a set audit policy.
Syntax
| IDL | |
| C++ | |
| Java |
List of interface repository IDs.
get_audit_channel
The get_audit_channel method allows an administrator to retrieve the audit policy's audit channel identifier. This operation is not provided as an attribute because the matching set_audit_channel is defined on the AuditPolicy interface.
Syntax
| IDL |
Audit channel defined for the policy.
5.2 GradCredentials Interface
The GradCurrent interface supports the following operations:
is_in_group
has_attributes
is_principal
The is_principal method determines if the credentials belong to the named user. If the specified user does not exist, this method throws a CORBA::BAD_PARAM exception.
Syntax
| IDL |
String containing principal name.
Return Value
True The credentials belong to the named user.
False The credentials do not belong to the named user.
is_in_group
The is_in_group method determines if the credentials belong to the named group.
If the specified group does not exist, this method throws a CORBA::BAD_PARAM exception.
Syntax
| IDL |
True The credentials belong to the named group.
False The credentials do not belong to the named group.
has_attributes
The has_attributes method determines if the credentials contain all of the passed-in attributes, allowing the application developer to check if the credentials belong to multiple groups all at once. To create the attributes for the parameter attribute array, use the methods of the GradVault interface.
Syntax
| IDL |
|
True The credentials contain all the passed attributes.
False The credentials do not contain all the passed attributes.
5.3 GradCurrent Interface
The GradCurrent interface supports the following operations:
current_time
root_domain
current_domain
The current_domain attribute returns the domain manager for the domain specified by the GradPolicy command-line setting. The current domain is the domain used to retrieve policies that affect the running of the CORBA security service for the running application.
Syntax
| IDL |
Domain manager of capsule's domain.
current_time
This attribute returns the current time as a UtcT. The UtcT time data structure is opaque even though the fields are defined in the IDL file. The field definitions allow the UtcT to be passed as a parameter, but applications should not assume that fields can be directly read.
Syntax
| IDL |
The root_domain attribute returns the domain manager for the root domain of the policy domain hierarchy.
Syntax
| IDL |
Root domain manager of domain hierarchy.
5.4 GradDelegationPolicy
This interface derives from DelegationPolicy and includes an operation to unset delegation options.
The GradDelegationPolicy interface supports the following operations:
unset_delegation_mode
enumerate_interfaces
The enumerate_interfaces method returns a list of the interfaces that have a set delegation policy.
Syntax
| IDL |
List of interface repository IDs.
unset_delegation_mode
The unset_delegation_mode method clears the delegation mode settings for the interface you specify. After the setting is cleared, the default interface setting is used.
Syntax
| IDL |
|
None.
5.5 GradDomainAccessPolicy
The GradDomainAccessPolicy supports the following operations:
get_domain_effective_rights
get_all_domain_effective_rights
This operation returns the rights granted for all rights families, in the current domain only.
Syntax
| IDL |
RightsList of effective rights.
get_domain_effective_rights
This method is similar to DomainAccessPolicy::get_effective_rights, except that it returns the set of rights granted by the access policy in the current domain and the access policies in any higher domain.
Syntax
| IDL |
DelegationState data type. Delegation state whose rights you are requesting.
ExtensibleFamily data type. Rights family for which you are requesting rights.
Return Value
RightsList of effective rights.
5.6 GradDomainManager
The GradDomainManager interface supports the following operations:
add_policy
admins
cache_lifetime
delete_domain
description
domain_name
get_sub_domain_manager
grant_admin_rights
grant_user_rights
parent_domain
remove_policy
revoke_rights
simple_domain_name
sub_domains
users
add_domain
The add_domain method creates a subdomain inside the current domain.
Syntax
| IDL |
See Current::get_policy for a list of supported policy types.
Syntax
| IDL |
The admins attribute returns the set of security attributes that currently have domain administration rights assigned to them.
Syntax
| IDL |
AttributeList of security attributes.
cache_lifetime
Policy settings are cached in memory based on the values in the Security Server. The cache is always updated when the local application changes policy settings, but if a different application changes policy, policy settings in memory may be out of synch with those in the Security Server during the time it takes them to expire.
Syntax
| IDL |
Current cache lifetime in seconds.
delete_domain
You cannot delete the root domain. This method will throw CORBA::BAD_PARAM if an application attempts to delete the root domain.
Syntax
| IDL |
The description attribute allows an administrator to view or update a domain's description.
Syntax
| IDL |
write. String value for the new description.
Description string (only for
read).
domain_name
<parent-domain/next-domain/this-domain>
Syntax
| IDL |
String value for domain name and parent domains.
get_sub_domain_manager
The get_sub_domain_manager method returns the domain manager for the subdomain you specify. The subdomain name may be a qualified name, relative to the current domain. You cannot use ".." to navigate up the domain hierarchy; instead, use parent_domain. If the sub-domain is not found, then the return parameter will be GradDomainManager::_nil().
Syntax
| IDL |
|
Subdomain manager. If the subdomain is not found, this value will be
GradDomainManager::_nil().
grant_admin_rights
To reduce the rights assigned to a security attribute, call grant_admin_rights with a rights_type that has fewer rights than currently assigned to the attribute.
Syntax
| IDL |
|
To reduce the rights assigned to a security attribute, call grant_user_rights with a rights_type that has fewer rights than currently assigned to the attribute.
Syntax
| IDL |
|
Every domain has exactly one parent, except for the root domain, which has no parent.
Syntax
| IDL |
The remove_policy method removes the specified policy from the domain. If a policy of the specified type does not belong to the domain, this call will throw a CORBA::BAD_PARAM exception.
Syntax
| IDL |
CORBA::PolicyType data type. Type of policy.
revoke_rights
There are three rights levels: Administrator, User, and None (deny access to domain). Administrators hold User rights, but do not appear in the list of users.
Syntax
| IDL |
The simple_domain_name attribute returns the simple (unqualified) name of the domain.
Syntax
| IDL |
String name of domain.
sub_domains
The sub_domains attribute returns the list of sub-domains for the current domain. The list can be empty.
Syntax
| IDL |
The users attribute returns the set of security attributes that have user rights for the domain. Only attributes that are granted users rights will be included in this list. Administrators hold User rights, but do not appear in the list of users.
Syntax
| IDL |
List of security attributes.
5.7 GradPolicy
The GradPolicy interface supports the domain_manager attribute.
domain_manager
The domain_manager attribute returns the domain manager for the domain where this policy resides.
Syntax
| IDL |
Domain manager.
5.8 GradReceivedCredentials Interface
The GradReceivedCredentials interface extends the ReceivedCredentials and GradCredentials interfaces to allow application developers to call the methods of GradCredentials on a set of ReceivedCredentials.There are no additional methods defined by this interface.
5.9 GradRequiredRights Interface
The GradRequiredRights interface supports the following operations:
delete_module
delete_required_rights
enumerate_interfaces
enumerate_methods
clear_required_rights
The clear_required_rights method removes the required rights for the specified operation (method) on the interface. The operation_name parameter may be NULL.
Syntax
| IDL |
Name of operation.
Return Value
The delete_module method removes the required rights on all interfaces that are part of the specified module.
Syntax
| IDL |
The delete_required_rights method removes the required rights for the specified interface.
Syntax
| IDL |
Name of the interface whose required rights you want to delete.
Return Value
The enumerate_interfaces method returns a list of the interfaces that have required rights.
Syntax
| IDL |
List of repository IDs.
enumerate_methods
The enumerate_methods method returns a list of the methods that have required rights for the specified interface.
Syntax
| IDL |
|
Name of interface.
Return Value
List of protected methods on interface.
5.10 GradSecureInvocationPolicy
The enumerate_interfaces method returns a list of the interfaces that have a set secure invocation policy.
Syntax
| IDL |
List of interface repository IDs.
unset_association_options
The unset_association_options method removes the association options from policy for the interface specified. After these settings have been removed, the settings for the default interface or the default handling will be used.
Syntax
| IDL |
Interface name.
5.11 GradVault
The GradVault interface supports the following operations:
create_principal_attribute
create_group_attribute
If the named group does not exist, this method will throw a CORBA::BAD_PARAM exception.
Syntax
| IDL |
|
Security::SecAttribute. New group attribute.
create_principal_attribute
If the named user does not exist, this method will throw a CORBA::BAD_PARAM exception.
Syntax
| IDL |
|
String containing user name.
Return Value
Security::SecAttribute. New principal attribute.
[Previous] [Next] [Table of Contents] [Index]
To make comments or ask for help, contact support@gradient.com.