org.edg.security.voms.service.trustedadmin
Class VOMSTrustedAdminSoapBindingStub

java.lang.Object
  |
  +--org.apache.axis.client.Stub
        |
        +--org.edg.security.voms.service.trustedadmin.VOMSTrustedAdminSoapBindingStub
All Implemented Interfaces:
java.rmi.Remote, javax.xml.rpc.Stub, VOMSTrustedAdmin

public class VOMSTrustedAdminSoapBindingStub
extends org.apache.axis.client.Stub
implements VOMSTrustedAdmin


Field Summary
(package private) static org.apache.axis.description.OperationDesc[] _operations
           
private  java.util.Vector cachedDeserFactories
           
private  java.util.Vector cachedSerClasses
           
private  java.util.Vector cachedSerFactories
           
private  java.util.Vector cachedSerQNames
           
 
Fields inherited from class org.apache.axis.client.Stub
cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
VOMSTrustedAdminSoapBindingStub()
           
VOMSTrustedAdminSoapBindingStub(javax.xml.rpc.Service service)
           
VOMSTrustedAdminSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 void addACLEntry(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String container, ACLEntry aclEntry)
          Adds a new entry to the existing ACL.
 void addDefaultACLEntry(java.lang.String delegatedDN, java.lang.String delegatedCA, 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 delegatedDN, java.lang.String delegatedCA, java.lang.String groupname, java.lang.String username, java.lang.String userca)
          Adds a new member to the group.
 void assignCapability(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String capability, java.lang.String username, java.lang.String userca)
          Assigns a new capability to the user.
 void assignRole(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String groupname, java.lang.String rolename, java.lang.String username, java.lang.String userca)
          Assigns a new role to the user.
private  org.apache.axis.client.Call createCall()
           
 void createCapability(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String capability)
          Creates a new capability.
 void createGroup(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String parentname, java.lang.String groupname)
          Creates a new group inside an existing group.
 void createRole(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String rolename)
          Creates a new role.
 void createUser(java.lang.String delegatedDN, java.lang.String delegatedCA, User user)
          Creates a new user in the VOMS database.
 void deleteCapability(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String capability)
          Deletes a capability.
 void deleteGroup(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String groupname)
          Deletes a group.
 void deleteRole(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String rolename)
          Deletes a role.
 void deleteUser(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String username, java.lang.String userca)
          Removes a user from the VOMS database.
 void dismissCapability(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String capability, java.lang.String username, java.lang.String userca)
          Dismisses a capability of a user.
 void dismissRole(java.lang.String delegatedDN, java.lang.String delegatedCA, 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 delegatedDN, java.lang.String delegatedCA, java.lang.String groupname)
          Returns the whole ACL associated with a container.
 ACLEntry[] getDefaultACL(java.lang.String delegatedDN, java.lang.String delegatedCA, 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 delegatedDN, java.lang.String delegatedCA, 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 delegatedDN, java.lang.String delegatedCA, java.lang.String username, java.lang.String userca)
          Returns information about a user in the VOMS database.
 java.lang.String getVOName(java.lang.String delegatedDN, java.lang.String delegatedCA)
          Return the name of this VO.
 java.lang.String[] listCapabilities(java.lang.String delegatedDN, java.lang.String delegatedCA)
          Lists capabilities.
 java.lang.String[] listCapabilities(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String username, java.lang.String userca)
          Lists capabilities of a user.
 java.lang.String[] listCAs(java.lang.String delegatedDN, java.lang.String delegatedCA)
          Lists certificate authorities.
 java.lang.String[] listGroups(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String username, java.lang.String userca)
          Lists groups of a user.
 User[] listMembers(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String groupname)
          Lists members of a group.
 java.lang.String[] listRoles(java.lang.String delegatedDN, java.lang.String delegatedCA)
          Lists roles.
 QualifiedRole[] listRoles(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String username, java.lang.String userca)
          Lists roles of a user.
 java.lang.String[] listSubGroups(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String groupname)
          Lists immediate sub-groups of a group.
 User[] listUsersWithCapability(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String capability)
          Lists assigned users of a capability.
 User[] listUsersWithRole(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String groupname, java.lang.String rolename)
          Lists assigned users of a role associated with a group.
 void removeACLEntry(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String container, ACLEntry aclEntry)
          Removes an existing entry from the ACL.
 void removeDefaultACLEntry(java.lang.String delegatedDN, java.lang.String delegatedCA, 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 delegatedDN, java.lang.String delegatedCA, java.lang.String groupname, java.lang.String username, java.lang.String userca)
          Removes a member of a group.
 void setACL(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String container, ACLEntry[] acl)
          Replaces the existing ACL on this container.
 void setDefaultACL(java.lang.String delegatedDN, java.lang.String delegatedCA, java.lang.String groupname, ACLEntry[] aclEntry)
          Manipulates the default ACL, which is applied on every group created in this one.
 void setUser(java.lang.String delegatedDN, java.lang.String delegatedCA, User user)
          Updates auxiliary information about a user in the VOMS database.
 
Methods inherited from class org.apache.axis.client.Stub
_getProperty, _getPropertyNames, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeaders, getTimeout, getUsername, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedSerClasses

private java.util.Vector cachedSerClasses

cachedSerQNames

private java.util.Vector cachedSerQNames

cachedSerFactories

private java.util.Vector cachedSerFactories

cachedDeserFactories

private java.util.Vector cachedDeserFactories

_operations

static org.apache.axis.description.OperationDesc[] _operations
Constructor Detail

VOMSTrustedAdminSoapBindingStub

public VOMSTrustedAdminSoapBindingStub()
                                throws org.apache.axis.AxisFault

VOMSTrustedAdminSoapBindingStub

public VOMSTrustedAdminSoapBindingStub(java.net.URL endpointURL,
                                       javax.xml.rpc.Service service)
                                throws org.apache.axis.AxisFault

VOMSTrustedAdminSoapBindingStub

public VOMSTrustedAdminSoapBindingStub(javax.xml.rpc.Service service)
                                throws org.apache.axis.AxisFault
Method Detail

createCall

private org.apache.axis.client.Call createCall()
                                        throws java.rmi.RemoteException
java.rmi.RemoteException

setUser

public void setUser(java.lang.String delegatedDN,
                    java.lang.String delegatedCA,
                    User user)
             throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Updates auxiliary information about a user in the VOMS database.

Permission: ADD on the VO group.

Specified by:
setUser in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
user - the user to update
java.rmi.RemoteException

createGroup

public void createGroup(java.lang.String delegatedDN,
                        java.lang.String delegatedCA,
                        java.lang.String parentname,
                        java.lang.String groupname)
                 throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Creates a new group inside an existing group.
Permission: CREATE on parent
The method copies the default ACL list of the parent to the new group and adds an extra entry for the administrator with full privileges.

Specified by:
createGroup in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
parentname - the parent group's name
groupname - the group's name
java.rmi.RemoteException

getUser

public User getUser(java.lang.String delegatedDN,
                    java.lang.String delegatedCA,
                    java.lang.String username,
                    java.lang.String userca)
             throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Returns information about a user in the VOMS database.

Permission: LIST on the VO group.

Specified by:
getUser in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
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.
java.rmi.RemoteException

createUser

public void createUser(java.lang.String delegatedDN,
                       java.lang.String delegatedCA,
                       User user)
                throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Creates a new user in the VOMS database.
Permission: ADD on the VO

Specified by:
createUser in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
user - the user to be added
java.rmi.RemoteException

deleteUser

public void deleteUser(java.lang.String delegatedDN,
                       java.lang.String delegatedCA,
                       java.lang.String username,
                       java.lang.String userca)
                throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Removes a user from the VOMS database.
Permission: REMOVE on VO
It deletes all the associated group, role membership information and coresponding ACL entries as well.
It is basically a call to removeMember(VO, user).

Specified by:
deleteUser in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
username - the user's DN
userca - the user's CA
java.rmi.RemoteException
See Also:
VOMSTrustedAdmin.removeMember(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

deleteGroup

public void deleteGroup(java.lang.String delegatedDN,
                        java.lang.String delegatedCA,
                        java.lang.String groupname)
                 throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Deletes a group.
Permission: DELETE on group
The operation deletes the group, all of its sub-groups and associated roles with all the membership information.
Warning: Deleting the VO "group" effectively wipes out the whole database, so use with care!

Specified by:
deleteGroup in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
java.rmi.RemoteException

createRole

public void createRole(java.lang.String delegatedDN,
                       java.lang.String delegatedCA,
                       java.lang.String rolename)
                throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Creates a new role.
Permission: CREATE on VO
The method copies the default ACL list of the parent to the new role and adds an extra entry for the administrator with full privileges.

Specified by:
createRole in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
rolename - the role to be added
java.rmi.RemoteException

deleteRole

public void deleteRole(java.lang.String delegatedDN,
                       java.lang.String delegatedCA,
                       java.lang.String rolename)
                throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Deletes a role.
Permission: DELETE on role
The operation deletes the role with all the membership information.

Specified by:
deleteRole in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
rolename - the role to be deleted
java.rmi.RemoteException

createCapability

public void createCapability(java.lang.String delegatedDN,
                             java.lang.String delegatedCA,
                             java.lang.String capability)
                      throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Creates a new capability.
Permission: CREATE on VO
The method copies the default ACL list of the VO to the new capability and adds an extra entry for the administrator with full privileges.

Specified by:
createCapability in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
capability - the capability to be created
java.rmi.RemoteException

deleteCapability

public void deleteCapability(java.lang.String delegatedDN,
                             java.lang.String delegatedCA,
                             java.lang.String capability)
                      throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Deletes a capability.
Permission: DELETE on capability
The operation deletes the capability with all the membership information.

Specified by:
deleteCapability in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
capability - the capability to be deleted
java.rmi.RemoteException

addMember

public void addMember(java.lang.String delegatedDN,
                      java.lang.String delegatedCA,
                      java.lang.String groupname,
                      java.lang.String username,
                      java.lang.String userca)
               throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Adds a new member to the group.
Permission: ADD on group
The user must be a member of the parent group.

Specified by:
addMember in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
username - the user's DN
userca - the user's CA
java.rmi.RemoteException

removeMember

public void removeMember(java.lang.String delegatedDN,
                         java.lang.String delegatedCA,
                         java.lang.String groupname,
                         java.lang.String username,
                         java.lang.String userca)
                  throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Removes a member of a group.
Permission: REMOVE on group
Also removes the membership information from the group's sub-groups and associated roles of these groups. If it is the VO group, then it will also delete the user with all its ACL entries.

Specified by:
removeMember in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
username - the user's DN
userca - the user's CA
java.rmi.RemoteException
See Also:
VOMSTrustedAdmin.deleteUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

assignRole

public void assignRole(java.lang.String delegatedDN,
                       java.lang.String delegatedCA,
                       java.lang.String groupname,
                       java.lang.String rolename,
                       java.lang.String username,
                       java.lang.String userca)
                throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Assigns a new role to the user.
Permission: ADD on role
The user must be a member of the parent group.

Specified by:
assignRole in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
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
java.rmi.RemoteException

dismissRole

public void dismissRole(java.lang.String delegatedDN,
                        java.lang.String delegatedCA,
                        java.lang.String parentname,
                        java.lang.String rolename,
                        java.lang.String username,
                        java.lang.String userca)
                 throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Dismisses a role of a user.
Permission: REMOVE on role

Specified by:
dismissRole in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
parentname - the parent group's name
rolename - the role's name
username - the user's DN
userca - the user's CA
java.rmi.RemoteException

assignCapability

public void assignCapability(java.lang.String delegatedDN,
                             java.lang.String delegatedCA,
                             java.lang.String capability,
                             java.lang.String username,
                             java.lang.String userca)
                      throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Assigns a new capability to the user.
Permission: ADD on capability

Specified by:
assignCapability in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
capability - the capability's name
username - the user's DN
userca - the user's CA
java.rmi.RemoteException

dismissCapability

public void dismissCapability(java.lang.String delegatedDN,
                              java.lang.String delegatedCA,
                              java.lang.String capability,
                              java.lang.String username,
                              java.lang.String userca)
                       throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Dismisses a capability of a user.
Permission: REMOVE on capability

Specified by:
dismissCapability in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
capability - the capability's name
username - the user's DN
userca - the user's CA
java.rmi.RemoteException

listMembers

public User[] listMembers(java.lang.String delegatedDN,
                          java.lang.String delegatedCA,
                          java.lang.String groupname)
                   throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists members of a group.
Permission:LIST on group

Specified by:
listMembers in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name (null is the VO group)
Returns:
list of users in this group
java.rmi.RemoteException

listUsersWithRole

public User[] listUsersWithRole(java.lang.String delegatedDN,
                                java.lang.String delegatedCA,
                                java.lang.String groupname,
                                java.lang.String rolename)
                         throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists assigned users of a role associated with a group.
Permission:LIST on role

Specified by:
listUsersWithRole in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
rolename - the role's name
Returns:
list of users for this role
java.rmi.RemoteException

listUsersWithCapability

public User[] listUsersWithCapability(java.lang.String delegatedDN,
                                      java.lang.String delegatedCA,
                                      java.lang.String capability)
                               throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists assigned users of a capability.
Permission:LIST on capability

Specified by:
listUsersWithCapability in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
capability - the capability's name
Returns:
list of users for this capability
java.rmi.RemoteException

getVOName

public java.lang.String getVOName(java.lang.String delegatedDN,
                                  java.lang.String delegatedCA)
                           throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Return the name of this VO.
Permission:LIST on VO

Specified by:
getVOName in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
Returns:
the name of this VO
java.rmi.RemoteException

getGroupPath

public java.lang.String[] getGroupPath(java.lang.String delegatedDN,
                                       java.lang.String delegatedCA,
                                       java.lang.String groupname)
                                throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
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:LIST on parent groups

Specified by:
getGroupPath in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name (null is the VO group)
Returns:
path to the group
java.rmi.RemoteException

listSubGroups

public java.lang.String[] listSubGroups(java.lang.String delegatedDN,
                                        java.lang.String delegatedCA,
                                        java.lang.String groupname)
                                 throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists immediate sub-groups of a group.
Permission:LIST on group

Specified by:
listSubGroups in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name (null is the VO group)
Returns:
list of groups in this group
java.rmi.RemoteException

listGroups

public java.lang.String[] listGroups(java.lang.String delegatedDN,
                                     java.lang.String delegatedCA,
                                     java.lang.String username,
                                     java.lang.String userca)
                              throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists groups of a user.
Permission:LIST on groups

Specified by:
listGroups in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
username - the user's DN
userca - the user's CA
Returns:
list of groups in this group
java.rmi.RemoteException

listRoles

public java.lang.String[] listRoles(java.lang.String delegatedDN,
                                    java.lang.String delegatedCA)
                             throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists roles.
Permission:LIST on group

Specified by:
listRoles in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
Returns:
list of roles in this VO
java.rmi.RemoteException

listRoles

public QualifiedRole[] listRoles(java.lang.String delegatedDN,
                                 java.lang.String delegatedCA,
                                 java.lang.String username,
                                 java.lang.String userca)
                          throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists roles of a user.
Permission:LIST on groups

Specified by:
listRoles in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
username - the user's DN
userca - the user's CA
Returns:
list of roles in this group
java.rmi.RemoteException

listCapabilities

public java.lang.String[] listCapabilities(java.lang.String delegatedDN,
                                           java.lang.String delegatedCA)
                                    throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists capabilities.
Permission:LIST on VO

Specified by:
listCapabilities in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
Returns:
list of capabilities
java.rmi.RemoteException

listCapabilities

public java.lang.String[] listCapabilities(java.lang.String delegatedDN,
                                           java.lang.String delegatedCA,
                                           java.lang.String username,
                                           java.lang.String userca)
                                    throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists capabilities of a user.
Permission:LIST on VO

Specified by:
listCapabilities in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
username - the user's DN
userca - the user's CA
Returns:
list of capabilities
java.rmi.RemoteException

listCAs

public java.lang.String[] listCAs(java.lang.String delegatedDN,
                                  java.lang.String delegatedCA)
                           throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Lists certificate authorities.
Permission:LIST on VO

Specified by:
listCAs in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
Returns:
list of certificate authority DNs
java.rmi.RemoteException

getACL

public ACLEntry[] getACL(java.lang.String delegatedDN,
                         java.lang.String delegatedCA,
                         java.lang.String groupname)
                  throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Returns the whole ACL associated with a container.
Permission: GETACL on container.

Specified by:
getACL in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the container's name (null is the VO group)
Returns:
access control list
java.rmi.RemoteException

setACL

public void setACL(java.lang.String delegatedDN,
                   java.lang.String delegatedCA,
                   java.lang.String container,
                   ACLEntry[] acl)
            throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Replaces the existing ACL on this container.
  pre:    exists id[container]
          setACL ACL on the container.
 

Specified by:
setACL in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
container - the container's name
acl - access control list
java.rmi.RemoteException

addACLEntry

public void addACLEntry(java.lang.String delegatedDN,
                        java.lang.String delegatedCA,
                        java.lang.String container,
                        ACLEntry aclEntry)
                 throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Adds a new entry to the existing ACL.
        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, ...);
 

Specified by:
addACLEntry in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
container - the container's name
aclEntry - access control list entry
java.rmi.RemoteException

removeACLEntry

public void removeACLEntry(java.lang.String delegatedDN,
                           java.lang.String delegatedCA,
                           java.lang.String container,
                           ACLEntry aclEntry)
                    throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Removes an existing entry from the ACL.
        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;

 

Specified by:
removeACLEntry in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
container - the container's name
aclEntry - access control list entry
java.rmi.RemoteException

getDefaultACL

public ACLEntry[] getDefaultACL(java.lang.String delegatedDN,
                                java.lang.String delegatedCA,
                                java.lang.String groupname)
                         throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Manipulates the default ACL, which is applied on every group created in this one.

Specified by:
getDefaultACL in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
Returns:
access control list
java.rmi.RemoteException
See Also:
VOMSTrustedAdmin.getACL(java.lang.String, java.lang.String, java.lang.String)

setDefaultACL

public void setDefaultACL(java.lang.String delegatedDN,
                          java.lang.String delegatedCA,
                          java.lang.String groupname,
                          ACLEntry[] aclEntry)
                   throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Manipulates the default ACL, which is applied on every group created in this one.

Specified by:
setDefaultACL in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
aclEntry - access control list entry
java.rmi.RemoteException
See Also:
VOMSTrustedAdmin.setDefaultACL(java.lang.String, java.lang.String, java.lang.String, org.edg.security.voms.service.ACLEntry[])

addDefaultACLEntry

public void addDefaultACLEntry(java.lang.String delegatedDN,
                               java.lang.String delegatedCA,
                               java.lang.String groupname,
                               ACLEntry aclEntry)
                        throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Manipulates the default ACL, which is applied on every group created in this one.

Specified by:
addDefaultACLEntry in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
aclEntry - access control list entry
java.rmi.RemoteException
See Also:
VOMSTrustedAdmin.addDefaultACLEntry(java.lang.String, java.lang.String, java.lang.String, org.edg.security.voms.service.ACLEntry)

removeDefaultACLEntry

public void removeDefaultACLEntry(java.lang.String delegatedDN,
                                  java.lang.String delegatedCA,
                                  java.lang.String groupname,
                                  ACLEntry aclEntry)
                           throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Manipulates the default ACL, which is applied on every group created in this one.

Specified by:
removeDefaultACLEntry in interface VOMSTrustedAdmin
Parameters:
delegatedDN - The DN of the delegated client.
delegatedCA - The CA of the delegated client.
groupname - the group's name
aclEntry - access control list entry
java.rmi.RemoteException
See Also:
VOMSTrustedAdmin.removeDefaultACLEntry(java.lang.String, java.lang.String, java.lang.String, org.edg.security.voms.service.ACLEntry)

getMajorVersionNumber

public int getMajorVersionNumber()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Returns the major version number.

Specified by:
getMajorVersionNumber in interface VOMSTrustedAdmin
java.rmi.RemoteException

getMinorVersionNumber

public int getMinorVersionNumber()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Returns the minor version number.

Specified by:
getMinorVersionNumber in interface VOMSTrustedAdmin
java.rmi.RemoteException

getPatchVersionNumber

public int getPatchVersionNumber()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSTrustedAdmin
Returns the patch version number.

Specified by:
getPatchVersionNumber in interface VOMSTrustedAdmin
java.rmi.RemoteException