|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Virtual Organisation Membership Service Administration interface.
Method Summary | |
void |
addACLEntry(java.lang.String container,
ACLEntry aclEntry)
Adds a new entry to an ACL of a container. |
void |
addDefaultACLEntry(java.lang.String groupname,
ACLEntry aclEntry)
Manipulates the default ACL, which is applied on every group created as a subgroup of this one. |
void |
addMember(java.lang.String groupname,
java.lang.String username,
java.lang.String userca)
Adds a new member to the group. |
void |
assignCapability(java.lang.String capability,
java.lang.String username,
java.lang.String userca)
Assigns a new capability to the user. |
void |
assignRole(java.lang.String groupname,
java.lang.String rolename,
java.lang.String username,
java.lang.String userca)
Assigns a new role to the user. |
void |
createCapability(java.lang.String capability)
Creates a new capability. |
void |
createGroup(java.lang.String parentname,
java.lang.String groupname)
Creates a new group as a subgroup of an existing group. |
void |
createRole(java.lang.String rolename)
Creates a new role. |
void |
createUser(User user)
Creates a new user in the VOMS database. |
void |
deleteCapability(java.lang.String capability)
Deletes a capability. |
void |
deleteGroup(java.lang.String groupname)
Deletes a group. |
void |
deleteRole(java.lang.String rolename)
Deletes a role. |
void |
deleteUser(java.lang.String username,
java.lang.String userca)
Removes a user from the VOMS database. |
void |
dismissCapability(java.lang.String capability,
java.lang.String username,
java.lang.String userca)
Dismisses a capability of a user. |
void |
dismissRole(java.lang.String parentname,
java.lang.String rolename,
java.lang.String username,
java.lang.String userca)
Dismisses a role of a user. |
ACLEntry[] |
getACL(java.lang.String container)
Returns the whole ACL associated with a container. |
ACLEntry[] |
getDefaultACL(java.lang.String groupname)
Manipulates the default ACL, which is applied on every group created as a subgroup of this one. |
java.lang.String[] |
getGroupPath(java.lang.String groupname)
Returns the absolute "path" down to this group. |
int |
getMajorVersionNumber()
Returns the major version number. |
int |
getMinorVersionNumber()
Returns the minor version number. |
int |
getPatchVersionNumber()
Returns the patch version number. |
User |
getUser(java.lang.String username,
java.lang.String userca)
Returns information about a user in the VOMS database. |
java.lang.String |
getVOName()
Return the name of this VO. |
java.lang.String[] |
listCapabilities()
Lists capabilities. |
java.lang.String[] |
listCapabilities(java.lang.String username,
java.lang.String userca)
Lists capabilities of a user. |
java.lang.String[] |
listCAs()
Lists certificate authorities. |
java.lang.String[] |
listGroups(java.lang.String username,
java.lang.String userca)
Lists groups of a user. |
User[] |
listMembers(java.lang.String groupname)
Lists members of a group. |
java.lang.String[] |
listRoles()
Lists roles. |
java.lang.String[] |
listRoles(java.lang.String username,
java.lang.String userca)
Lists roles of a user. |
java.lang.String[] |
listSubGroups(java.lang.String groupname)
Lists immediate sub-groups of a group. |
User[] |
listUsersWithCapability(java.lang.String capability)
Lists assigned users of a capability. |
User[] |
listUsersWithRole(java.lang.String groupname,
java.lang.String rolename)
Lists assigned users of a role associated with a group. |
void |
removeACLEntry(java.lang.String container,
ACLEntry aclEntry)
Removes an existing entry from the ACL. |
void |
removeDefaultACLEntry(java.lang.String groupname,
ACLEntry aclEntry)
Manipulates the default ACL, which is applied on every group created as a subgroup of this one. |
void |
removeMember(java.lang.String groupname,
java.lang.String username,
java.lang.String userca)
Removes a member of a group. |
void |
setACL(java.lang.String container,
ACLEntry[] acl)
Replaces the existing ACL on this container. |
void |
setDefaultACL(java.lang.String groupname,
ACLEntry[] aclEntry)
Manipulates the default ACL, which is applied on every group created as a subgroup of this one. |
void |
setUser(User user)
Updates auxiliary information about a user in the VOMS database. |
Method Detail |
public java.lang.String getVOName() throws VOMSException
Permission:LIST on the VO group.
VOMSException
public User getUser(java.lang.String username, java.lang.String userca) throws VOMSException
User
object.
Permission: LIST on the VO group.
username
- The name of the user to look up.userca
- The certificate authority of the user.
VOMSException
User
public void setUser(User user) throws VOMSException
User
object.
Permission: ADD on the VO group.
user
- The user to update.
VOMSException
User
public void createUser(User user) throws VOMSException
Permission: ADD on the VO group.
user
- The user to be added.
VOMSException
public void deleteUser(java.lang.String username, java.lang.String userca) throws VOMSException
removeMember(VO, user)
.
Permission: REMOVE on the VO group.
username
- The user's DN.userca
- The user's CA.
VOMSException
removeMember(java.lang.String, java.lang.String, java.lang.String)
public void createGroup(java.lang.String parentname, java.lang.String groupname) throws VOMSException
Permission: CREATE on parent group.
parentname
- The parent group's name.groupname
- The group's name.
VOMSException
public void deleteGroup(java.lang.String groupname) throws VOMSException
Warning: Deleting the VO "group" effectively wipes out the whole database, so use with care!
Permission: DELETE on the group.
groupname
- The group's name.
VOMSException
public void createRole(java.lang.String rolename) throws VOMSException
Permission: CREATE on the VO group.
rolename
- The role to be added.
VOMSException
public void deleteRole(java.lang.String rolename) throws VOMSException
Permission: DELETE on the role.
rolename
- The role to be deleted.
VOMSException
public void createCapability(java.lang.String capability) throws VOMSException
Permission: CREATE on the VO group.
capability
- The capability to be created.
VOMSException
public void deleteCapability(java.lang.String capability) throws VOMSException
Permission: DELETE on the capability.
capability
- The capability to be deleted.
VOMSException
public void addMember(java.lang.String groupname, java.lang.String username, java.lang.String userca) throws VOMSException
Permission: ADD on the group.
groupname
- The group's name.username
- The user's DN.userca
- The user's CA.
VOMSException
public void removeMember(java.lang.String groupname, java.lang.String username, java.lang.String userca) throws VOMSException
Permission: REMOVE on the group.
groupname
- The group's name.username
- The user's DN.userca
- The user's CA.
VOMSException
deleteUser(java.lang.String, java.lang.String)
public void assignRole(java.lang.String groupname, java.lang.String rolename, java.lang.String username, java.lang.String userca) throws VOMSException
Permission: ADD on the role.
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.
VOMSException
public void dismissRole(java.lang.String parentname, java.lang.String rolename, java.lang.String username, java.lang.String userca) throws VOMSException
Permission: REMOVE on the role.
parentname
- The parent group's name.rolename
- The role's name.username
- The user's DN.userca
- The user's CA.
VOMSException
public void assignCapability(java.lang.String capability, java.lang.String username, java.lang.String userca) throws VOMSException
Permission: ADD on the capability.
capability
- The capability's name.username
- The user's DN.userca
- The user's CA.
VOMSException
public void dismissCapability(java.lang.String capability, java.lang.String username, java.lang.String userca) throws VOMSException
Permission: REMOVE on the capability.
capability
- The capability's name.username
- The user's DN.userca
- The user's CA.
VOMSException
public User[] listMembers(java.lang.String groupname) throws VOMSException
Permission:LIST on the group.
groupname
- The group's name (null is the VO group).
VOMSException
public User[] listUsersWithRole(java.lang.String groupname, java.lang.String rolename) throws VOMSException
Permission:LIST on the role.
groupname
- The group's name.rolename
- The role's name.
VOMSException
public User[] listUsersWithCapability(java.lang.String capability) throws VOMSException
Permission:LIST on the capability.
capability
- The capability's name.
VOMSException
public java.lang.String[] getGroupPath(java.lang.String groupname) throws VOMSException
Permission:LIST on parent groups.
groupname
- The group's name (null is the VO group).
VOMSException
public java.lang.String[] listSubGroups(java.lang.String groupname) throws VOMSException
Permission:LIST on the group.
groupname
- The group's name (null is the VO group).
VOMSException
public java.lang.String[] listGroups(java.lang.String username, java.lang.String userca) throws VOMSException
Permission:LIST on the VO group.
username
- The user's DN.userca
- The user's CA.
VOMSException
public java.lang.String[] listRoles() throws VOMSException
Permission:LIST on the VO group.
VOMSException
public java.lang.String[] listRoles(java.lang.String username, java.lang.String userca) throws VOMSException
Permission:LIST on the VO group.
username
- The user's DN.userca
- The user's CA.
VOMSException
public java.lang.String[] listCapabilities() throws VOMSException
Permission:LIST on the VO group.
VOMSException
public java.lang.String[] listCapabilities(java.lang.String username, java.lang.String userca) throws VOMSException
Permission:LIST on the VO group.
username
- The user's DN.userca
- The user's CA.
VOMSException
public java.lang.String[] listCAs() throws VOMSException
Permission:LIST on the VO group.
VOMSException
public ACLEntry[] getACL(java.lang.String container) throws VOMSException
Permission: GETACL on the container.
container
- The container's name (null is the VO group).
VOMSException
public void setACL(java.lang.String container, ACLEntry[] acl) throws VOMSException
Permission: SETACL on the container.
container
- The container's name.acl
- The new access control list.
VOMSException
public void addACLEntry(java.lang.String container, ACLEntry aclEntry) throws VOMSException
Permission: SETACL on the container.
container
- The container's name.aclEntry
- The new access control list entry.
VOMSException
public void removeACLEntry(java.lang.String container, ACLEntry aclEntry) throws VOMSException
Permission: SETACL on the container.
container
- The container's name.aclEntry
- The access control list entry to be removed.
VOMSException
public ACLEntry[] getDefaultACL(java.lang.String groupname) throws VOMSException
groupname
- The group's name.
VOMSException
getACL(java.lang.String)
public void setDefaultACL(java.lang.String groupname, ACLEntry[] aclEntry) throws VOMSException
groupname
- The group's name.aclEntry
- The new access control list.
VOMSException
setACL(java.lang.String, org.glite.security.voms.service.ACLEntry[])
public void addDefaultACLEntry(java.lang.String groupname, ACLEntry aclEntry) throws VOMSException
groupname
- The group's name.aclEntry
- The new access control list entry.
VOMSException
addACLEntry(java.lang.String, org.glite.security.voms.service.ACLEntry)
public void removeDefaultACLEntry(java.lang.String groupname, ACLEntry aclEntry) throws VOMSException
groupname
- The group's name.aclEntry
- The access control list entry to be removed.
VOMSException
removeACLEntry(java.lang.String, org.glite.security.voms.service.ACLEntry)
public int getMajorVersionNumber()
public int getMinorVersionNumber()
public int getPatchVersionNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |