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, java.rmi.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
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(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 void addAccountRange2(java.lang.String accountPoolMapperName, java.lang.String range)
          Add a range of pool accounts
 void backupConfiguration()
          Backup current configuration
protected  org.apache.axis.client.Call createCall()
           
 void deleteBackupConfiguration(java.lang.String dateStr)
          Delete a backup configuration by date
 java.lang.String generateFqanMapfile(java.lang.String hostname)
          Generate fqanmap file used to validate mappings
 java.lang.String generateGrid3UserVoMap(java.lang.String hostname)
          Generate the inverse entry->VO map used by OSG.
 java.lang.String generateGridMapfile(java.lang.String hostname)
          Generate gridmap file used by gateway in case GUMS is down and by certain applications like dCache
 java.lang.String generateOsgUserVoMap(java.lang.String hostname)
          Generate the inverse entry->VO map used by OSG.
 java.lang.String generateVoGridMapfile(java.lang.String hostname)
          Genereate Vo grid map file used for accounting purposes
 java.lang.Object[] getBackupConfigDates()
          Get a list of dates for which there is a backup
 Configuration getConfiguration()
          Get current configuration
 java.lang.String getCurrentDn()
          Get currently logged in user DN
 java.lang.String getPoolAccountAssignments(java.lang.String accountPoolMapperName)
          Get current pool account assignments
 java.lang.String getVersion()
          Get current version of GUMS
 void manualGroupAdd(java.lang.String persistanceFactory, java.lang.String group, java.lang.String userDN)
           
 void manualGroupAdd2(java.lang.String manualUserGroupName, java.lang.String userDN)
          Add a userDN to a manual user group
 void manualGroupRemove(java.lang.String persistanceFactory, java.lang.String group, java.lang.String userDN)
           
 void manualGroupRemove2(java.lang.String manualUserGroupName, java.lang.String userDN)
          Remove a userDN from a manual user group
 void manualMappingAdd(java.lang.String persistanceFactory, java.lang.String group, java.lang.String userDN, java.lang.String account)
           
 void manualMappingAdd2(java.lang.String manualAccountMapperName, java.lang.String userDN, java.lang.String account)
          Add a userDN to account mapping
 void manualMappingRemove(java.lang.String persistanceFactory, java.lang.String group, java.lang.String userDN)
           
 void manualMappingRemove2(java.lang.String manualAccountMapperName, java.lang.String userDN)
          Removes a userDN from an account mapping
 java.lang.String mapAccount(java.lang.String accountName)
          Map an account to a list of grid DNs
 java.lang.String mapUser(java.lang.String hostname, java.lang.String userDN, java.lang.String fqan)
          Map a grid DN to an account
 void poolAddAccount(java.lang.String persistanceFactory, java.lang.String group, java.lang.String username)
           
 void removeAccountRange(java.lang.String accountPoolMapperName, java.lang.String range)
          Remove a range of pool accounts
 void restoreConfiguration(java.lang.String dateStr)
          Restore a configuration by date
 void setConfiguration(Configuration configuration)
          Set the configuration
 void unassignAccountRange(java.lang.String accountPoolMapperName, java.lang.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
_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(java.net.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 java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setConfiguration

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

Specified by:
setConfiguration in interface GUMSAPI
Throws:
java.rmi.RemoteException

getConfiguration

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

Specified by:
getConfiguration in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException

addAccountRange2

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

Specified by:
addAccountRange2 in interface GUMSAPI
Throws:
java.rmi.RemoteException

backupConfiguration

public void backupConfiguration()
                         throws java.rmi.RemoteException
Description copied from interface: GUMSAPI
Backup current configuration

Specified by:
backupConfiguration in interface GUMSAPI
Throws:
java.rmi.RemoteException

deleteBackupConfiguration

public void deleteBackupConfiguration(java.lang.String dateStr)
                               throws java.rmi.RemoteException
Description copied from interface: GUMSAPI
Delete a backup configuration by date

Specified by:
deleteBackupConfiguration in interface GUMSAPI
Throws:
java.rmi.RemoteException

generateFqanMapfile

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

Specified by:
generateFqanMapfile in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException

generateGrid3UserVoMap

public java.lang.String generateGrid3UserVoMap(java.lang.String hostname)
                                        throws java.rmi.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:
java.rmi.RemoteException

generateGridMapfile

public java.lang.String generateGridMapfile(java.lang.String hostname)
                                     throws java.rmi.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:
java.rmi.RemoteException

generateOsgUserVoMap

public java.lang.String generateOsgUserVoMap(java.lang.String hostname)
                                      throws java.rmi.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:
java.rmi.RemoteException

generateVoGridMapfile

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

Specified by:
generateVoGridMapfile in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException

getBackupConfigDates

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

Specified by:
getBackupConfigDates in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException

getPoolAccountAssignments

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

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

manualGroupAdd2

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

Specified by:
manualGroupAdd2 in interface GUMSAPI
Throws:
java.rmi.RemoteException

manualGroupRemove2

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

Specified by:
manualGroupRemove2 in interface GUMSAPI
Throws:
java.rmi.RemoteException

manualMappingAdd2

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

Specified by:
manualMappingAdd2 in interface GUMSAPI
Throws:
java.rmi.RemoteException

manualMappingRemove2

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

Specified by:
manualMappingRemove2 in interface GUMSAPI
Throws:
java.rmi.RemoteException

mapAccount

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

Specified by:
mapAccount in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException

mapUser

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

Specified by:
mapUser in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException

removeAccountRange

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

Specified by:
removeAccountRange in interface GUMSAPI
Throws:
java.rmi.RemoteException

restoreConfiguration

public void restoreConfiguration(java.lang.String dateStr)
                          throws java.rmi.RemoteException
Description copied from interface: GUMSAPI
Restore a configuration by date

Specified by:
restoreConfiguration in interface GUMSAPI
Throws:
java.rmi.RemoteException

unassignAccountRange

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

Specified by:
unassignAccountRange in interface GUMSAPI
Throws:
java.rmi.RemoteException

updateGroups

public void updateGroups()
                  throws java.rmi.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:
java.rmi.RemoteException

getCurrentDn

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

Specified by:
getCurrentDn in interface GUMSAPI
Throws:
java.rmi.RemoteException

manualGroupAdd

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

manualGroupRemove

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

manualMappingAdd

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

manualMappingRemove

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

poolAddAccount

public void poolAddAccount(java.lang.String persistanceFactory,
                           java.lang.String group,
                           java.lang.String username)
                    throws java.rmi.RemoteException
Specified by:
poolAddAccount in interface GUMSAPI
Throws:
java.rmi.RemoteException

getVersion

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

Specified by:
getVersion in interface GUMSAPI
Returns:
Throws:
java.rmi.RemoteException


Copyright © 2004-2008. All Rights Reserved.