Package org.glite.security.voms.operation

Provides a representation for high-level database operations.

See:
          Description

Interface Summary
Action An interface for representing high-level update operations in the VO database.
Question An interface for representing high-level queries in the VO database.
 

Class Summary
ActionHelper A helper class for writing classes implementing the Action interface.
AddACLEntryAction An action for adding a new ACL entry to an ACL.
AddCapabilityAction An action for adding a new capability to a user.
AddDefaultACLEntryAction An action for adding a new ACL entry to a default ACL of a group.
AddGroupMemberAction An action for adding a user to a group.
AddRoleMemberAction An action for adding a user to a role.
CreateCapabilityAction An action for creating a new capability in the database.
CreateGroupAction An action for creating a new group in the database.
CreateRoleAction An action for creating a new role in the database.
CreateUserAction An action for creating a new user in the database.
DeleteCapabilityAction An action for deleting a capability from the database.
DeleteGroupAction An action for deleting a group from the database.
DeleteRoleAction An action for deleting a role from the database.
DeleteUserAction An action for deleting a user from the database.
EmptyAction An empty Action.
GetACLQuestion A question for retrieving the ACL of a container.
GetDefaultACLQuestion A question for retrieving the default ACL of a group.
GetGroupPathQuestion A question for retrieving the parents of a group.
GetUserQuestion A question for getting information about a user in the VO database.
GetVONameQuestion A question for retrieving the VO group name from the service.
ListCapabilitiesForUserQuestion A question for listing the capabilities of a given user.
ListCapabilitiesQuestion A question for listing all the capabilities in the database.
ListCapabilityMembersQuestion A question for listing the members of a capability.
ListCAsQuestion A question for retrieving the list of CAs known to this service.
ListGroupMembersQuestion A question for listing the members of a group.
ListGroupsForUserQuestion A question for listing the groups which the given user is a member of.
ListRoleMembersQuestion A question for listing the members of a role.
ListRolesForUserQuestion A question for listing all the roles which a given user has.
ListRolesQuestion A question for listing all the roles in the database.
ListSubgroupsQuestion A question for listing the subgroups of a group.
QuestionHelper A helper class for writing classes implementing the Question interface.
RemoveACLEntryAction An action for removing an entry from an ACL.
RemoveCapabilityAction An action for removing a capability from a user.
RemoveDefaultACLEntryAction An action for removing an entry from the default ACL of a group.
RemoveGroupMemberAction An action for removing a user from a group.
RemoveRoleMemberAction An action for removing a user from a role.
SequenceAction  
SetACLAction An action for setting the ACL of a container.
SetDefaultACLAction An action for setting the default ACL of a group.
SetUserAction An action for setting the attributes of a user.
 

Package org.glite.security.voms.operation Description

Provides a representation for high-level database operations.

This package contains representations for user-level operations in the VO database. These operations are the heart of the VOMS admin service: it is these operations that the clients see and call through the SOAP interface. Essentially, the classes in this package translate these high-level operations into low-level abstract database object manipulations.

There are two basic kinds of operations. Those operations which change the VO database, but do not need to return a value are called actions. All actions must implement the Action interface. The classes CreateUserAction and AddGroupMemberAction are examples of typical actions.

Those operations which return a value by querying the database, but do not need to perform changes are called questions. Questions must implement the Question interface. The class GetUserQuestion demonstrates a typical question.

Questions and actions need not care about setting up a database connection, or performing transaction management. All they need to do is call the needed low-level database operations provided by the org.glite.security.voms.database package.

The class Database is responsible for executing actions and questions.

Author:
Karoly Lorentey
See Also:
Database