|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.voms.service.admin.VOMSAdminSoapBindingSkeleton
Field Summary | |
private static java.util.Map |
_myOperations
|
private static java.util.Collection |
_myOperationsList
|
private VOMSAdmin |
impl
|
Constructor Summary | |
VOMSAdminSoapBindingSkeleton()
|
|
VOMSAdminSoapBindingSkeleton(VOMSAdmin impl)
|
Method Summary | |
void |
addACLEntry(java.lang.String container,
ACLEntry aclEntry)
Adds a new entry to the existing ACL. |
void |
addDefaultACLEntry(java.lang.String groupname,
ACLEntry aclEntry)
Manipulates the default ACL, which is applied on every group created in 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 inside 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 in 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. |
static java.util.List |
getOperationDescByName(java.lang.String methodName)
Returns List of OperationDesc objects with this name |
static java.util.Collection |
getOperationDescs()
Returns Collection of OperationDescs |
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. |
QualifiedRole[] |
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 in 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[] acl)
Manipulates the default ACL, which is applied on every group created in 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 |
Field Detail |
private VOMSAdmin impl
private static java.util.Map _myOperations
private static java.util.Collection _myOperationsList
Constructor Detail |
public VOMSAdminSoapBindingSkeleton()
public VOMSAdminSoapBindingSkeleton(VOMSAdmin impl)
Method Detail |
public static java.util.List getOperationDescByName(java.lang.String methodName)
public static java.util.Collection getOperationDescs()
public void setUser(User user) throws java.rmi.RemoteException
VOMSAdmin
Permission: ADD on the VO group.
setUser
in interface VOMSAdmin
user
- the user to update
java.rmi.RemoteException
public void createGroup(java.lang.String parentname, java.lang.String groupname) throws java.rmi.RemoteException
VOMSAdmin
createGroup
in interface VOMSAdmin
parentname
- the parent group's namegroupname
- the group's name
java.rmi.RemoteException
public User getUser(java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
Permission: LIST on the VO group.
getUser
in interface VOMSAdmin
username
- the name of the user to look upuserca
- the certificate authority of the user
java.rmi.RemoteException
public void createUser(User user) throws java.rmi.RemoteException
VOMSAdmin
createUser
in interface VOMSAdmin
user
- the user to be added
java.rmi.RemoteException
public void deleteUser(java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
deleteUser
in interface VOMSAdmin
username
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
VOMSAdmin.removeMember(java.lang.String, java.lang.String, java.lang.String)
public void deleteGroup(java.lang.String groupname) throws java.rmi.RemoteException
VOMSAdmin
deleteGroup
in interface VOMSAdmin
groupname
- the group's name
java.rmi.RemoteException
public void createRole(java.lang.String rolename) throws java.rmi.RemoteException
VOMSAdmin
createRole
in interface VOMSAdmin
rolename
- the role to be added
java.rmi.RemoteException
public void deleteRole(java.lang.String rolename) throws java.rmi.RemoteException
VOMSAdmin
deleteRole
in interface VOMSAdmin
rolename
- the role to be deleted
java.rmi.RemoteException
public void createCapability(java.lang.String capability) throws java.rmi.RemoteException
VOMSAdmin
createCapability
in interface VOMSAdmin
capability
- the capability to be created
java.rmi.RemoteException
public void deleteCapability(java.lang.String capability) throws java.rmi.RemoteException
VOMSAdmin
deleteCapability
in interface VOMSAdmin
capability
- the capability to be deleted
java.rmi.RemoteException
public void addMember(java.lang.String groupname, java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
addMember
in interface VOMSAdmin
groupname
- the group's nameusername
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public void removeMember(java.lang.String groupname, java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
removeMember
in interface VOMSAdmin
groupname
- the group's nameusername
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
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 java.rmi.RemoteException
VOMSAdmin
assignRole
in interface VOMSAdmin
groupname
- the name of the group associated with this assignmentrolename
- the role's nameusername
- the name of the user to adduserca
- the CA of the user to add
java.rmi.RemoteException
public void dismissRole(java.lang.String groupname, java.lang.String rolename, java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
dismissRole
in interface VOMSAdmin
groupname
- the parent group's namerolename
- the role's nameusername
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public void assignCapability(java.lang.String capability, java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
assignCapability
in interface VOMSAdmin
capability
- the capability's nameusername
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public void dismissCapability(java.lang.String capability, java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
dismissCapability
in interface VOMSAdmin
capability
- the capability's nameusername
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public User[] listMembers(java.lang.String groupname) throws java.rmi.RemoteException
VOMSAdmin
listMembers
in interface VOMSAdmin
groupname
- the group's name (null is the VO group)
java.rmi.RemoteException
public User[] listUsersWithRole(java.lang.String groupname, java.lang.String rolename) throws java.rmi.RemoteException
VOMSAdmin
listUsersWithRole
in interface VOMSAdmin
groupname
- the group's namerolename
- the role's name
java.rmi.RemoteException
public User[] listUsersWithCapability(java.lang.String capability) throws java.rmi.RemoteException
VOMSAdmin
listUsersWithCapability
in interface VOMSAdmin
capability
- the capability's name
java.rmi.RemoteException
public java.lang.String getVOName() throws java.rmi.RemoteException
VOMSAdmin
getVOName
in interface VOMSAdmin
java.rmi.RemoteException
public java.lang.String[] getGroupPath(java.lang.String groupname) throws java.rmi.RemoteException
VOMSAdmin
getGroupPath
in interface VOMSAdmin
groupname
- the group's name (null is the VO group)
java.rmi.RemoteException
public java.lang.String[] listSubGroups(java.lang.String groupname) throws java.rmi.RemoteException
VOMSAdmin
listSubGroups
in interface VOMSAdmin
groupname
- the group's name (null is the VO group)
java.rmi.RemoteException
public java.lang.String[] listGroups(java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
listGroups
in interface VOMSAdmin
username
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public java.lang.String[] listRoles() throws java.rmi.RemoteException
VOMSAdmin
listRoles
in interface VOMSAdmin
java.rmi.RemoteException
public QualifiedRole[] listRoles(java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
listRoles
in interface VOMSAdmin
username
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public java.lang.String[] listCapabilities() throws java.rmi.RemoteException
VOMSAdmin
listCapabilities
in interface VOMSAdmin
java.rmi.RemoteException
public java.lang.String[] listCapabilities(java.lang.String username, java.lang.String userca) throws java.rmi.RemoteException
VOMSAdmin
listCapabilities
in interface VOMSAdmin
username
- the user's DNuserca
- the user's CA
java.rmi.RemoteException
public java.lang.String[] listCAs() throws java.rmi.RemoteException
VOMSAdmin
listCAs
in interface VOMSAdmin
java.rmi.RemoteException
public ACLEntry[] getACL(java.lang.String container) throws java.rmi.RemoteException
VOMSAdmin
getACL
in interface VOMSAdmin
container
- the container's name (null is the VO group)
java.rmi.RemoteException
public void setACL(java.lang.String container, ACLEntry[] acl) throws java.rmi.RemoteException
VOMSAdmin
pre: exists id[container] setACL ACL on the container.
setACL
in interface VOMSAdmin
container
- the container's nameacl
- access control list
java.rmi.RemoteException
public void addACLEntry(java.lang.String container, ACLEntry aclEntry) throws java.rmi.RemoteException
VOMSAdmin
pre: exists id[container] op is valid exists id[principal] (aclid[container], principal, op) !\in acl post: insert into acl (aclid[container], principal, op, allow, ...);
addACLEntry
in interface VOMSAdmin
container
- the container's nameaclEntry
- access control list entry
java.rmi.RemoteException
public void removeACLEntry(java.lang.String container, ACLEntry aclEntry) throws java.rmi.RemoteException
VOMSAdmin
pre: exists id[container] exists id[principal] exists acl[aclid[id[container]], id[principal], op] post: delete from acl where aclid = aclid[id[container]] and principal = id[principal] and operation = op;
removeACLEntry
in interface VOMSAdmin
container
- the container's nameaclEntry
- access control list entry
java.rmi.RemoteException
public ACLEntry[] getDefaultACL(java.lang.String groupname) throws java.rmi.RemoteException
VOMSAdmin
getDefaultACL
in interface VOMSAdmin
groupname
- the group's name
java.rmi.RemoteException
VOMSAdmin.getACL(java.lang.String)
public void setDefaultACL(java.lang.String groupname, ACLEntry[] acl) throws java.rmi.RemoteException
VOMSAdmin
setDefaultACL
in interface VOMSAdmin
groupname
- the group's nameacl
- access control list entry
java.rmi.RemoteException
VOMSAdmin.setDefaultACL(java.lang.String, org.edg.security.voms.service.ACLEntry[])
public void addDefaultACLEntry(java.lang.String groupname, ACLEntry aclEntry) throws java.rmi.RemoteException
VOMSAdmin
addDefaultACLEntry
in interface VOMSAdmin
groupname
- the group's nameaclEntry
- access control list entry
java.rmi.RemoteException
VOMSAdmin.addDefaultACLEntry(java.lang.String, org.edg.security.voms.service.ACLEntry)
public void removeDefaultACLEntry(java.lang.String groupname, ACLEntry aclEntry) throws java.rmi.RemoteException
VOMSAdmin
removeDefaultACLEntry
in interface VOMSAdmin
groupname
- the group's nameaclEntry
- access control list entry
java.rmi.RemoteException
VOMSAdmin.removeDefaultACLEntry(java.lang.String, org.edg.security.voms.service.ACLEntry)
public int getMajorVersionNumber() throws java.rmi.RemoteException
VOMSAdmin
getMajorVersionNumber
in interface VOMSAdmin
java.rmi.RemoteException
public int getMinorVersionNumber() throws java.rmi.RemoteException
VOMSAdmin
getMinorVersionNumber
in interface VOMSAdmin
java.rmi.RemoteException
public int getPatchVersionNumber() throws java.rmi.RemoteException
VOMSAdmin
getPatchVersionNumber
in interface VOMSAdmin
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |