gov.bnl.gums.admin
Class AdminSoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by gov.bnl.gums.admin.AdminSoapBindingStub
All Implemented Interfaces:
GUMSAPI, Remote, javax.xml.rpc.Stub

public class AdminSoapBindingStub
extends org.apache.axis.client.Stub
implements GUMSAPI


Field Summary
 
Fields inherited from class org.apache.axis.client.Stub
_call, 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
AdminSoapBindingStub()
           
AdminSoapBindingStub(javax.xml.rpc.Service service)
           
AdminSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 void addAccountRange2(String accountPoolMapperName, String range)
          Add a range of pool accounts
 void backupConfiguration(String name)
          Backup current configuration with a name
protected  org.apache.axis.client.Call createCall()
           
 void deleteBackupConfiguration(String name)
          Delete a backup configuration by date
 String generateEmailMapfile(String hostname)
          Generate email gridmap file to be able to contact user if needed
 String generateFqanMapfile(String hostname)
          Generate fqanmap file used to validate mappings
 String generateGrid3UserVoMap(String hostname)
          Generate the inverse entry->VO map used by OSG.
 String generateGridMapfile(String hostname)
          Generate gridmap file used by gateway in case GUMS is down and by certain applications like dCache
 String generateOsgUserVoMap(String hostname)
          Generate the inverse entry->VO map used by OSG.
 String generateVoGridMapfile(String hostname)
          Genereate Vo grid map file used for accounting purposes
 Object[] getBackupNames()
          Get a list of dates for which there is a backup
 Configuration getConfiguration()
          Get current configuration
 String getCurrentDn()
          Get currently logged in user DN
 String getPoolAccountAssignments(String accountPoolMapperName)
          Get current pool account assignments
 String getVersion()
          Get current version of GUMS
 void manualGroupAdd(String persistanceFactory, String group, String userDN)
           
 void manualGroupAdd2(String manualUserGroupName, String userDN)
          Add a userDN to a manual user group
 void manualGroupAdd3(String manualUserGroupName, String userDN, String fqan, String email)
          Add a userDN to a manual user group
 void manualGroupRemove(String persistanceFactory, String group, String userDN)
           
 void manualGroupRemove2(String manualUserGroupName, String userDN)
          Remove a userDN from a manual user group
 void manualGroupRemove3(String manualUserGroupName, String userDN, String fqan)
          Remove a userDN from a manual user group
 void manualMappingAdd(String persistanceFactory, String group, String userDN, String account)
           
 void manualMappingAdd2(String manualAccountMapperName, String userDN, String account)
          Add a userDN to account mapping
 void manualMappingRemove(String persistanceFactory, String group, String userDN)
           
 void manualMappingRemove2(String manualAccountMapperName, String userDN)
          Removes a userDN from an account mapping
 String mapAccount(String accountName)
          Map an account to a list of grid DNs
 String mapUser(String hostname, String userDN, String fqan)
          Map a grid DN to an account
 void mergeConfiguration(Configuration conf, String newConfUri, String persistenceFactory, String hostToGroupMapping)
          Merge configuration into current configuration
 void poolAddAccount(String persistanceFactory, String group, String accountName)
           
 void removeAccountRange(String accountPoolMapperName, String range)
          Remove a range of pool accounts
 void restoreConfiguration(String name)
          Restore a configuration by date
 void setConfiguration(Configuration configuration)
          Set the configuration
 void unassignAccountRange(String accountPoolMapperName, String range)
          Unassign all accounts in a pool
 void updateGroups()
          Update members in user groups by querying VO servers - may be time consuming
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, 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
 

Constructor Detail

AdminSoapBindingStub

public AdminSoapBindingStub()
                     throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

AdminSoapBindingStub

public AdminSoapBindingStub(URL endpointURL,
                            javax.xml.rpc.Service service)
                     throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

AdminSoapBindingStub

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

createCall

protected org.apache.axis.client.Call createCall()
                                          throws RemoteException
Throws:
RemoteException

setConfiguration

public void setConfiguration(Configuration configuration)
                      throws RemoteException
Description copied from interface: GUMSAPI
Set the configuration

Specified by:
setConfiguration in interface GUMSAPI
Throws:
RemoteException

getConfiguration

public Configuration getConfiguration()
                               throws RemoteException
Description copied from interface: GUMSAPI
Get current configuration

Specified by:
getConfiguration in interface GUMSAPI
Returns:
Throws:
RemoteException

addAccountRange2

public void addAccountRange2(String accountPoolMapperName,
                             String range)
                      throws RemoteException
Description copied from interface: GUMSAPI
Add a range of pool accounts

Specified by:
addAccountRange2 in interface GUMSAPI
Throws:
RemoteException

backupConfiguration

public void backupConfiguration(String name)
                         throws RemoteException
Description copied from interface: GUMSAPI
Backup current configuration with a name

Specified by:
backupConfiguration in interface GUMSAPI
Parameters:
name - as String
Throws:
RemoteException

deleteBackupConfiguration

public void deleteBackupConfiguration(String name)
                               throws RemoteException
Description copied from interface: GUMSAPI
Delete a backup configuration by date

Specified by:
deleteBackupConfiguration in interface GUMSAPI
Throws:
RemoteException

generateEmailMapfile

public String generateEmailMapfile(String hostname)
                            throws RemoteException
Description copied from interface: GUMSAPI
Generate email gridmap file to be able to contact user if needed

Specified by:
generateEmailMapfile in interface GUMSAPI
Returns:
Throws:
RemoteException

generateFqanMapfile

public String generateFqanMapfile(String hostname)
                           throws RemoteException
Description copied from interface: GUMSAPI
Generate fqanmap file used to validate mappings

Specified by:
generateFqanMapfile in interface GUMSAPI
Returns:
Throws:
RemoteException

generateGrid3UserVoMap

public String generateGrid3UserVoMap(String hostname)
                              throws RemoteException
Description copied from interface: GUMSAPI
Generate the inverse entry->VO map used by OSG.

Specified by:
generateGrid3UserVoMap in interface GUMSAPI
Parameters:
hostname - Host name to generate the map for.
Returns:
The map, or null if no map is found
Throws:
RemoteException

generateGridMapfile

public String generateGridMapfile(String hostname)
                           throws RemoteException
Description copied from interface: GUMSAPI
Generate gridmap file used by gateway in case GUMS is down and by certain applications like dCache

Specified by:
generateGridMapfile in interface GUMSAPI
Returns:
Throws:
RemoteException

generateOsgUserVoMap

public String generateOsgUserVoMap(String hostname)
                            throws RemoteException
Description copied from interface: GUMSAPI
Generate the inverse entry->VO map used by OSG.

Specified by:
generateOsgUserVoMap in interface GUMSAPI
Parameters:
hostname - Host name to generate the map for.
Returns:
The map, or null if no map is found
Throws:
RemoteException

generateVoGridMapfile

public String generateVoGridMapfile(String hostname)
                             throws RemoteException
Description copied from interface: GUMSAPI
Genereate Vo grid map file used for accounting purposes

Specified by:
generateVoGridMapfile in interface GUMSAPI
Returns:
Throws:
RemoteException

getBackupNames

public Object[] getBackupNames()
                        throws RemoteException
Description copied from interface: GUMSAPI
Get a list of dates for which there is a backup

Specified by:
getBackupNames in interface GUMSAPI
Returns:
Throws:
RemoteException

getPoolAccountAssignments

public String getPoolAccountAssignments(String accountPoolMapperName)
                                 throws RemoteException
Description copied from interface: GUMSAPI
Get current pool account assignments

Specified by:
getPoolAccountAssignments in interface GUMSAPI
Returns:
printout of assignments
Throws:
RemoteException

manualGroupAdd2

public void manualGroupAdd2(String manualUserGroupName,
                            String userDN)
                     throws RemoteException
Description copied from interface: GUMSAPI
Add a userDN to a manual user group

Specified by:
manualGroupAdd2 in interface GUMSAPI
Throws:
RemoteException

manualGroupAdd3

public void manualGroupAdd3(String manualUserGroupName,
                            String userDN,
                            String fqan,
                            String email)
                     throws RemoteException
Description copied from interface: GUMSAPI
Add a userDN to a manual user group

Specified by:
manualGroupAdd3 in interface GUMSAPI
Throws:
RemoteException

manualGroupRemove2

public void manualGroupRemove2(String manualUserGroupName,
                               String userDN)
                        throws RemoteException
Description copied from interface: GUMSAPI
Remove a userDN from a manual user group

Specified by:
manualGroupRemove2 in interface GUMSAPI
Throws:
RemoteException

manualGroupRemove3

public void manualGroupRemove3(String manualUserGroupName,
                               String userDN,
                               String fqan)
                        throws RemoteException
Description copied from interface: GUMSAPI
Remove a userDN from a manual user group

Specified by:
manualGroupRemove3 in interface GUMSAPI
Throws:
RemoteException

manualMappingAdd2

public void manualMappingAdd2(String manualAccountMapperName,
                              String userDN,
                              String account)
                       throws RemoteException
Description copied from interface: GUMSAPI
Add a userDN to account mapping

Specified by:
manualMappingAdd2 in interface GUMSAPI
Throws:
RemoteException

manualMappingRemove2

public void manualMappingRemove2(String manualAccountMapperName,
                                 String userDN)
                          throws RemoteException
Description copied from interface: GUMSAPI
Removes a userDN from an account mapping

Specified by:
manualMappingRemove2 in interface GUMSAPI
Throws:
RemoteException

mapAccount

public String mapAccount(String accountName)
                  throws RemoteException
Description copied from interface: GUMSAPI
Map an account to a list of grid DNs

Specified by:
mapAccount in interface GUMSAPI
Returns:
Throws:
RemoteException

mapUser

public String mapUser(String hostname,
                      String userDN,
                      String fqan)
               throws RemoteException
Description copied from interface: GUMSAPI
Map a grid DN to an account

Specified by:
mapUser in interface GUMSAPI
Returns:
Throws:
RemoteException

mergeConfiguration

public void mergeConfiguration(Configuration conf,
                               String newConfUri,
                               String persistenceFactory,
                               String hostToGroupMapping)
                        throws RemoteException
Description copied from interface: GUMSAPI
Merge configuration into current configuration

Specified by:
mergeConfiguration in interface GUMSAPI
Throws:
RemoteException

removeAccountRange

public void removeAccountRange(String accountPoolMapperName,
                               String range)
                        throws RemoteException
Description copied from interface: GUMSAPI
Remove a range of pool accounts

Specified by:
removeAccountRange in interface GUMSAPI
Throws:
RemoteException

restoreConfiguration

public void restoreConfiguration(String name)
                          throws RemoteException
Description copied from interface: GUMSAPI
Restore a configuration by date

Specified by:
restoreConfiguration in interface GUMSAPI
Throws:
RemoteException

unassignAccountRange

public void unassignAccountRange(String accountPoolMapperName,
                                 String range)
                          throws RemoteException
Description copied from interface: GUMSAPI
Unassign all accounts in a pool

Specified by:
unassignAccountRange in interface GUMSAPI
Throws:
RemoteException

updateGroups

public void updateGroups()
                  throws RemoteException
Description copied from interface: GUMSAPI
Update members in user groups by querying VO servers - may be time consuming

Specified by:
updateGroups in interface GUMSAPI
Throws:
RemoteException

getCurrentDn

public String getCurrentDn()
                    throws RemoteException
Description copied from interface: GUMSAPI
Get currently logged in user DN

Specified by:
getCurrentDn in interface GUMSAPI
Throws:
RemoteException

manualGroupAdd

public void manualGroupAdd(String persistanceFactory,
                           String group,
                           String userDN)
                    throws RemoteException
Specified by:
manualGroupAdd in interface GUMSAPI
Throws:
RemoteException

manualGroupRemove

public void manualGroupRemove(String persistanceFactory,
                              String group,
                              String userDN)
                       throws RemoteException
Specified by:
manualGroupRemove in interface GUMSAPI
Throws:
RemoteException

manualMappingAdd

public void manualMappingAdd(String persistanceFactory,
                             String group,
                             String userDN,
                             String account)
                      throws RemoteException
Specified by:
manualMappingAdd in interface GUMSAPI
Throws:
RemoteException

manualMappingRemove

public void manualMappingRemove(String persistanceFactory,
                                String group,
                                String userDN)
                         throws RemoteException
Specified by:
manualMappingRemove in interface GUMSAPI
Throws:
RemoteException

poolAddAccount

public void poolAddAccount(String persistanceFactory,
                           String group,
                           String accountName)
                    throws RemoteException
Specified by:
poolAddAccount in interface GUMSAPI
Throws:
RemoteException

getVersion

public String getVersion()
                  throws RemoteException
Description copied from interface: GUMSAPI
Get current version of GUMS

Specified by:
getVersion in interface GUMSAPI
Returns:
Throws:
RemoteException


Copyright © 2004-2009. All Rights Reserved.