|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.service.admin.VOMSAdminSoapBindingImpl
Server side of the VOMS Administrative service.
It handles access control, synchronization, transactions and exceptions.
Constructor Summary | |
VOMSAdminSoapBindingImpl()
|
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 container,
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 groupname,
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 container)
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 container,
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[] acl)
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VOMSAdminSoapBindingImpl()
Method Detail |
public User getUser(java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
User
object.
Permission: LIST on the VO group.
getUser
in interface VOMSAdmin
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
VOMSAdmin
User
object.
Permission: ADD on the VO group.
setUser
in interface VOMSAdmin
user
- The user to update.
VOMSException
User
public void createUser(User user) throws VOMSException
VOMSAdmin
Permission: ADD on the VO group.
createUser
in interface VOMSAdmin
user
- The user to be added.
VOMSException
public void deleteUser(java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
removeMember(VO, user)
.
Permission: REMOVE on the VO group.
deleteUser
in interface VOMSAdmin
username
- The user's DN.userca
- The user's CA.
VOMSException
VOMSAdmin.removeMember(java.lang.String, java.lang.String, java.lang.String)
public void createGroup(java.lang.String parentname, java.lang.String groupname) throws VOMSException
VOMSAdmin
Permission: CREATE on parent group.
createGroup
in interface VOMSAdmin
parentname
- The parent group's name.groupname
- The group's name.
VOMSException
public void deleteGroup(java.lang.String groupname) throws VOMSException
VOMSAdmin
Warning: Deleting the VO "group" effectively wipes out the whole database, so use with care!
Permission: DELETE on the group.
deleteGroup
in interface VOMSAdmin
groupname
- The group's name.
VOMSException
public void createRole(java.lang.String rolename) throws VOMSException
VOMSAdmin
Permission: CREATE on the VO group.
createRole
in interface VOMSAdmin
rolename
- The role to be added.
VOMSException
public void deleteRole(java.lang.String rolename) throws VOMSException
VOMSAdmin
Permission: DELETE on the role.
deleteRole
in interface VOMSAdmin
rolename
- The role to be deleted.
VOMSException
public void createCapability(java.lang.String capability) throws VOMSException
VOMSAdmin
Permission: CREATE on the VO group.
createCapability
in interface VOMSAdmin
capability
- The capability to be created.
VOMSException
public void deleteCapability(java.lang.String capability) throws VOMSException
VOMSAdmin
Permission: DELETE on the capability.
deleteCapability
in interface VOMSAdmin
capability
- The capability to be deleted.
VOMSException
public void addMember(java.lang.String container, java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
Permission: ADD on the group.
addMember
in interface VOMSAdmin
container
- The group's name.username
- The user's DN.userca
- The user's CA.
VOMSException
public void removeMember(java.lang.String container, java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
Permission: REMOVE on the group.
removeMember
in interface VOMSAdmin
container
- The group's name.username
- The user's DN.userca
- The user's CA.
VOMSException
VOMSAdmin.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
VOMSAdmin
Permission: ADD on the role.
assignRole
in interface VOMSAdmin
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 groupname, java.lang.String rolename, java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
Permission: REMOVE on the role.
dismissRole
in interface VOMSAdmin
groupname
- 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
VOMSAdmin
Permission: ADD on the capability.
assignCapability
in interface VOMSAdmin
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
VOMSAdmin
Permission: REMOVE on the capability.
dismissCapability
in interface VOMSAdmin
capability
- The capability's name.username
- The user's DN.userca
- The user's CA.
VOMSException
public User[] listMembers(java.lang.String container) throws VOMSException
VOMSAdmin
Permission:LIST on the group.
listMembers
in interface VOMSAdmin
container
- The group's name (null is the VO group).
VOMSException
public User[] listUsersWithRole(java.lang.String groupname, java.lang.String rolename) throws VOMSException
VOMSAdmin
Permission:LIST on the role.
listUsersWithRole
in interface VOMSAdmin
groupname
- The group's name.rolename
- The role's name.
VOMSException
public User[] listUsersWithCapability(java.lang.String capability) throws VOMSException
VOMSAdmin
Permission:LIST on the capability.
listUsersWithCapability
in interface VOMSAdmin
capability
- The capability's name.
VOMSException
public java.lang.String getVOName() throws VOMSException
VOMSAdmin
Permission:LIST on the VO group.
getVOName
in interface VOMSAdmin
VOMSException
public java.lang.String[] getGroupPath(java.lang.String groupname) throws VOMSException
VOMSAdmin
Permission:LIST on parent groups.
getGroupPath
in interface VOMSAdmin
groupname
- The group's name (null is the VO group).
VOMSException
public java.lang.String[] listSubGroups(java.lang.String groupname) throws VOMSException
VOMSAdmin
Permission:LIST on the group.
listSubGroups
in interface VOMSAdmin
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
VOMSAdmin
Permission:LIST on the VO group.
listGroups
in interface VOMSAdmin
username
- The user's DN.userca
- The user's CA.
VOMSException
public java.lang.String[] listRoles() throws VOMSException
VOMSAdmin
Permission:LIST on the VO group.
listRoles
in interface VOMSAdmin
VOMSException
public java.lang.String[] listRoles(java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
Permission:LIST on the VO group.
listRoles
in interface VOMSAdmin
username
- The user's DN.userca
- The user's CA.
VOMSException
public java.lang.String[] listCapabilities() throws VOMSException
VOMSAdmin
Permission:LIST on the VO group.
listCapabilities
in interface VOMSAdmin
VOMSException
public java.lang.String[] listCapabilities(java.lang.String username, java.lang.String userca) throws VOMSException
VOMSAdmin
Permission:LIST on the VO group.
listCapabilities
in interface VOMSAdmin
username
- The user's DN.userca
- The user's CA.
VOMSException
public java.lang.String[] listCAs() throws VOMSException
VOMSAdmin
Permission:LIST on the VO group.
listCAs
in interface VOMSAdmin
VOMSException
public ACLEntry[] getACL(java.lang.String container) throws VOMSException
VOMSAdmin
Permission: GETACL on the container.
getACL
in interface VOMSAdmin
container
- The container's name (null is the VO group).
VOMSException
public void setACL(java.lang.String container, ACLEntry[] acl) throws VOMSException
VOMSAdmin
Permission: SETACL on the container.
setACL
in interface VOMSAdmin
container
- The container's name.acl
- The new access control list.
VOMSException
public void addACLEntry(java.lang.String container, ACLEntry aclEntry) throws VOMSException
VOMSAdmin
Permission: SETACL on the container.
addACLEntry
in interface VOMSAdmin
container
- The container's name.aclEntry
- The new access control list entry.
VOMSException
public void removeACLEntry(java.lang.String container, ACLEntry aclEntry) throws VOMSException
VOMSAdmin
Permission: SETACL on the container.
removeACLEntry
in interface VOMSAdmin
container
- The container's name.aclEntry
- The access control list entry to be removed.
VOMSException
public ACLEntry[] getDefaultACL(java.lang.String groupname) throws VOMSException
VOMSAdmin
getDefaultACL
in interface VOMSAdmin
groupname
- The group's name.
VOMSException
VOMSAdmin.getACL(java.lang.String)
public void setDefaultACL(java.lang.String groupname, ACLEntry[] acl) throws VOMSException
VOMSAdmin
setDefaultACL
in interface VOMSAdmin
groupname
- The group's name.acl
- The new access control list.
VOMSException
VOMSAdmin.setACL(java.lang.String, org.glite.security.voms.service.ACLEntry[])
public void addDefaultACLEntry(java.lang.String groupname, ACLEntry aclEntry) throws VOMSException
VOMSAdmin
addDefaultACLEntry
in interface VOMSAdmin
groupname
- The group's name.aclEntry
- The new access control list entry.
VOMSException
VOMSAdmin.addACLEntry(java.lang.String, org.glite.security.voms.service.ACLEntry)
public void removeDefaultACLEntry(java.lang.String groupname, ACLEntry aclEntry) throws VOMSException
VOMSAdmin
removeDefaultACLEntry
in interface VOMSAdmin
groupname
- The group's name.aclEntry
- The access control list entry to be removed.
VOMSException
VOMSAdmin.removeACLEntry(java.lang.String, org.glite.security.voms.service.ACLEntry)
public int getMajorVersionNumber()
VOMSAdmin
getMajorVersionNumber
in interface VOMSAdmin
public int getMinorVersionNumber()
VOMSAdmin
getMinorVersionNumber
in interface VOMSAdmin
public int getPatchVersionNumber()
VOMSAdmin
getPatchVersionNumber
in interface VOMSAdmin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |