org.glite.security.voms.services.admin.VOMSAdmin Interface Reference

List of all members.

Public Member Functions

String getVOName () throws VOMSException
User getUser (String username, String userca) throws VOMSException
void setUser (User user) throws VOMSException
void createUser (User user) throws VOMSException
void deleteUser (String username, String userca) throws VOMSException
void createGroup (String parentname, String groupname) throws VOMSException
void deleteGroup (String groupname) throws VOMSException
void createRole (String rolename) throws VOMSException
void deleteRole (String rolename) throws VOMSException
void createCapability (String capability) throws VOMSException
void deleteCapability (String capability) throws VOMSException
void addMember (String groupname, String username, String userca) throws VOMSException
void removeMember (String groupname, String username, String userca) throws VOMSException
void assignRole (String groupname, String rolename, String username, String userca) throws VOMSException
void dismissRole (String parentname, String rolename, String username, String userca) throws VOMSException
void assignCapability (String capability, String username, String userca) throws VOMSException
void dismissCapability (String capability, String username, String userca) throws VOMSException
User[] listMembers (String groupname) throws VOMSException
User[] listUsersWithRole (String groupname, String rolename) throws VOMSException
User[] listUsersWithCapability (String capability) throws VOMSException
String[] getGroupPath (String groupname) throws VOMSException
String[] listSubGroups (String groupname) throws VOMSException
String[] listGroups (String username, String userca) throws VOMSException
String[] listRoles () throws VOMSException
String[] listRoles (String username, String userca) throws VOMSException
String[] listCapabilities () throws VOMSException
String[] listCapabilities (String username, String userca) throws VOMSException
String[] listCAs () throws VOMSException
ACLEntry[] getACL (String container) throws VOMSException
void setACL (String container, ACLEntry[] acl) throws VOMSException
void addACLEntry (String container, ACLEntry aclEntry) throws VOMSException
void removeACLEntry (String container, ACLEntry aclEntry) throws VOMSException
ACLEntry[] getDefaultACL (String groupname) throws VOMSException
void setDefaultACL (String groupname, ACLEntry[] aclEntry) throws VOMSException
void addDefaultACLEntry (String groupname, ACLEntry aclEntry) throws VOMSException
void removeDefaultACLEntry (String groupname, ACLEntry aclEntry) throws VOMSException
int getMajorVersionNumber ()
int getMinorVersionNumber ()
int getPatchVersionNumber ()

Detailed Description

Virtual Organisation Membership Service Administration interface.

Author:
Andrea Ceccanti

Akos Frohner

Karoly Lorentey

Definition at line 47 of file VOMSAdmin.java.


Member Function Documentation

void org.glite.security.voms.services.admin.VOMSAdmin.addACLEntry String  container,
ACLEntry  aclEntry
throws VOMSException
 

Adds a new entry to an ACL of a container.

Parameters:
container The container's name.
aclEntry The new access control list entry.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

void org.glite.security.voms.services.admin.VOMSAdmin.addDefaultACLEntry String  groupname,
ACLEntry  aclEntry
throws VOMSException
 

Manipulates the default ACL, which is applied on every group created as a subgroup of this one.

See also:
addACLEntry
Parameters:
groupname The group's name.
aclEntry The new access control list entry.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

void org.glite.security.voms.services.admin.VOMSAdmin.addMember String  groupname,
String  username,
String  userca
throws VOMSException
 

Adds a new member to the group.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group
  • MEMBERSHIP_READ,MEMBERSHIP_WRITE on the group

Parameters:
groupname The group's name.
username The user's DN.
userca The user's CA.

void org.glite.security.voms.services.admin.VOMSAdmin.assignCapability String  capability,
String  username,
String  userca
throws VOMSException
 

Assigns a new capability to the user.

Parameters:
capability The capability's name.
username The user's DN.
userca The user's CA.
Deprecated:
Capability management is no longer supported.

void org.glite.security.voms.services.admin.VOMSAdmin.assignRole String  groupname,
String  rolename,
String  username,
String  userca
throws VOMSException
 

Assigns a new role to the user. The user must be a member of the parent group.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group
  • MEMBERSHIP_READ,MEMBERSHIP_WRITE on the (groupname,rolename) container

Parameters:
groupname The name of the group associated with this assignment.
rolename The role's name.
username The name of the user to add.
userca The CA of the user to add.

void org.glite.security.voms.services.admin.VOMSAdmin.createCapability String  capability  )  throws VOMSException
 

Creates a new capability.

Parameters:
capability The capability to be created.
Deprecated:
Capability management is no longer supported.

void org.glite.security.voms.services.admin.VOMSAdmin.createGroup String  parentname,
String  groupname
throws VOMSException
 

Creates a new group as a subgroup of an existing group.

Permission:

  • CONTAINER_READ,CONTAINER_WRITE on the VO group.
  • CONTAINER_READ on the path grom the VO group to the grandparent of the group groupname
  • CONTAINER_READ,CONTAINER_WRITE on the parent group groupname>

Parameters:
parentname The parent group's name.
groupname The group's name.

void org.glite.security.voms.services.admin.VOMSAdmin.createRole String  rolename  )  throws VOMSException
 

Creates a new role.

Permission:CONTAINER_READ, CONTAINER_WRITE on the VO group.

Parameters:
rolename The role to be added.

void org.glite.security.voms.services.admin.VOMSAdmin.createUser User  user  )  throws VOMSException
 

Creates a new user in the VOMS database.

Permission: CONTAINER_READ,CONTAINER_WRITE,MEMBERSHIP_READ,MEMBERSHIP_WRITE on the VO group.

Parameters:
user The user to be added.

void org.glite.security.voms.services.admin.VOMSAdmin.deleteCapability String  capability  )  throws VOMSException
 

Deletes a capability.

Parameters:
capability The capability to be deleted.
Deprecated:
Capability management is no longer supported.

void org.glite.security.voms.services.admin.VOMSAdmin.deleteGroup String  groupname  )  throws VOMSException
 

Deletes a group. The operation deletes the group, all of its sub-groups and associated roles with all the membership information.

Permission:

  • CONTAINER_READ,CONTAINER_WRITE on the VO group.
  • CONTAINER_READ on the path grom the VO group to the grandparent of the group groupname
  • CONTAINER_READ,CONTAINER_WRITE on the parent group groupname>

Parameters:
groupname The group's name.

void org.glite.security.voms.services.admin.VOMSAdmin.deleteRole String  rolename  )  throws VOMSException
 

Deletes a role. The role is removed with all the membership information.

Permission:CONTAINER_READ, CONTAINER_WRITE on the VO group.

Parameters:
rolename The role to be deleted.

void org.glite.security.voms.services.admin.VOMSAdmin.deleteUser String  username,
String  userca
throws VOMSException
 

Removes a user from the VOMS database. Deletes all the associated group, role membership information and corresponding ACL entries as well. It is basically a call to removeMember(VO, user).

Permission: CONTAINER_READ,CONTAINER_WRITE,MEMBERSHIP_READ,MEMBERSHIP_WRITE on the VO group.

See also:
removeMember
Parameters:
username The user's DN.
userca The user's CA.

void org.glite.security.voms.services.admin.VOMSAdmin.dismissCapability String  capability,
String  username,
String  userca
throws VOMSException
 

Dismisses a capability of a user.

Parameters:
capability The capability's name.
username The user's DN.
userca The user's CA.
Deprecated:
Capability management is no longer supported.

void org.glite.security.voms.services.admin.VOMSAdmin.dismissRole String  parentname,
String  rolename,
String  username,
String  userca
throws VOMSException
 

Dismisses a role of a user.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group
  • MEMBERSHIP_READ,MEMBERSHIP_WRITE on the (groupname,rolename) container

Parameters:
parentname The parent group's name.
rolename The role's name.
username The user's DN.
userca The user's CA.

ACLEntry [] org.glite.security.voms.services.admin.VOMSAdmin.getACL String  container  )  throws VOMSException
 

Returns the whole ACL associated with a container.

Parameters:
container The container's name (null is the VO group).
Returns:
The access control list.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

ACLEntry [] org.glite.security.voms.services.admin.VOMSAdmin.getDefaultACL String  groupname  )  throws VOMSException
 

Manipulates the default ACL, which is applied on every group created as a subgroup of this one.

See also:
getACL
Parameters:
groupname The group's name.
Returns:
The access control list.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

String [] org.glite.security.voms.services.admin.VOMSAdmin.getGroupPath String  groupname  )  throws VOMSException
 

Returns the absolute "path" down to this group. The first element is the VO group and the last is the group itself. There is at least one element in this path if the group exists: the VO group.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group

Parameters:
groupname The group's name (null is the VO group).
Returns:
Path to the group.

int org.glite.security.voms.services.admin.VOMSAdmin.getMajorVersionNumber  ) 
 

Returns the major version number.

int org.glite.security.voms.services.admin.VOMSAdmin.getMinorVersionNumber  ) 
 

Returns the minor version number.

int org.glite.security.voms.services.admin.VOMSAdmin.getPatchVersionNumber  ) 
 

Returns the patch version number.

User org.glite.security.voms.services.admin.VOMSAdmin.getUser String  username,
String  userca
throws VOMSException
 

Returns information about a user in the VOMS database. The user attributes are returned in a User object.

Permission: CONTAINER_READ, MEMBERSHIP_READ on the VO group

See also:
org.glite.security.voms.service.User
Parameters:
username The name of the user to look up.
userca The certificate authority of the user.
Returns:
All information about the user that is known to VOMS.

String org.glite.security.voms.services.admin.VOMSAdmin.getVOName  )  throws VOMSException
 

Return the name of this VO.

Returns:
The name of this VO.

String [] org.glite.security.voms.services.admin.VOMSAdmin.listCapabilities String  username,
String  userca
throws VOMSException
 

Lists capabilities of a user.

Parameters:
username The user's DN.
userca The user's CA.
Returns:
List of capabilities.
Deprecated:
Capabilities management is no longer supported

String [] org.glite.security.voms.services.admin.VOMSAdmin.listCapabilities  )  throws VOMSException
 

Lists capabilities.

Returns:
List of capabilities.
Deprecated:
Capabilities management is no longer supported

String [] org.glite.security.voms.services.admin.VOMSAdmin.listCAs  )  throws VOMSException
 

Lists certificate authorities.

Permission:CONTAINER_READ on the VO group.

Returns:
List of certificate authority DNs.

String [] org.glite.security.voms.services.admin.VOMSAdmin.listGroups String  username,
String  userca
throws VOMSException
 

Lists groups of a user.

Permission:

  • CONTAINER_READ,MEMBERSHIP_READ on the VO group.

Parameters:
username The user's DN.
userca The user's CA.
Returns:
List of groups in this group.

User [] org.glite.security.voms.services.admin.VOMSAdmin.listMembers String  groupname  )  throws VOMSException
 

Lists members of a group.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group
  • MEMBERSHIP_READ on the group groupname

Parameters:
groupname The group's name (null is the VO group).
Returns:
List of users in this group.

String [] org.glite.security.voms.services.admin.VOMSAdmin.listRoles String  username,
String  userca
throws VOMSException
 

Lists roles of a user.

Permission:

  • CONTAINER_READ,MEMBERSHIP_READ on the VO group.

Parameters:
username The user's DN.
userca The user's CA.
Returns:
List of roles in this group.

String [] org.glite.security.voms.services.admin.VOMSAdmin.listRoles  )  throws VOMSException
 

Lists roles.

Permission:

  • CONTAINER_READ on the VO group.

Returns:
List of roles in this VO.

String [] org.glite.security.voms.services.admin.VOMSAdmin.listSubGroups String  groupname  )  throws VOMSException
 

Lists immediate sub-groups of a group.

Permission:

  • CONTAINER_READ on the path from VO group to groupname group

Parameters:
groupname The group's name (null is the VO group).
Returns:
List of groups in this group.

User [] org.glite.security.voms.services.admin.VOMSAdmin.listUsersWithCapability String  capability  )  throws VOMSException
 

Lists assigned users of a capability.

Parameters:
capability The capability's name.
Returns:
List of users with this capability.
Deprecated:
Capability management is no longer supported.

User [] org.glite.security.voms.services.admin.VOMSAdmin.listUsersWithRole String  groupname,
String  rolename
throws VOMSException
 

Lists assigned users of a role associated with a group.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group
  • MEMBERSHIP_READ on the (groupname, rolename) context

Parameters:
groupname The group's name.
rolename The role's name.
Returns:
List of users for this role.

void org.glite.security.voms.services.admin.VOMSAdmin.removeACLEntry String  container,
ACLEntry  aclEntry
throws VOMSException
 

Removes an existing entry from the ACL.

Parameters:
container The container's name.
aclEntry The access control list entry to be removed.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

void org.glite.security.voms.services.admin.VOMSAdmin.removeDefaultACLEntry String  groupname,
ACLEntry  aclEntry
throws VOMSException
 

Manipulates the default ACL, which is applied on every group created as a subgroup of this one.

See also:
removeACLEntry
Parameters:
groupname The group's name.
aclEntry The access control list entry to be removed.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

void org.glite.security.voms.services.admin.VOMSAdmin.removeMember String  groupname,
String  username,
String  userca
throws VOMSException
 

Removes a member of a group. Also removes the membership information from the group's sub-groups and associated roles of these groups.

Permission:

  • CONTAINER_READ on the path from VO group to groupname parent group
  • MEMBERSHIP_READ,MEMBERSHIP_WRITE on the group

Parameters:
groupname The group's name.
username The user's DN.
userca The user's CA.

void org.glite.security.voms.services.admin.VOMSAdmin.setACL String  container,
ACLEntry[]  acl
throws VOMSException
 

Replaces the existing ACL on this container.

Parameters:
container The container's name.
acl The new access control list.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

void org.glite.security.voms.services.admin.VOMSAdmin.setDefaultACL String  groupname,
ACLEntry[]  aclEntry
throws VOMSException
 

Manipulates the default ACL, which is applied on every group created as a subgroup of this one.

See also:
setACL
Parameters:
groupname The group's name.
aclEntry The new access control list.
Deprecated:
Starting from VOMS Admin 2, this interface for ACL management is deprecated an no longer understood. Use the ACL management interface defined in VOMSACL.

void org.glite.security.voms.services.admin.VOMSAdmin.setUser User  user  )  throws VOMSException
 

Updates auxiliary information about a user in the VOMS database. The new attributes are passed in the User object.

Permission: CONTAINER_READ,CONTAINER_WRITE,MEMBERSHIP_READ,MEMBERSHIP_WRITE on the VO group.

See also:
org.glite.security.voms.service.User
Parameters:
user The user to update.


The documentation for this interface was generated from the following file:
Generated on Thu Apr 10 18:02:26 2008 for VOMS Admin by  doxygen 1.4.6