org.glite.security.voms.service.compatibility
Class VOMSCompatibilitySoapBindingImpl

java.lang.Object
  extended byorg.glite.security.voms.service.compatibility.VOMSCompatibilitySoapBindingImpl
All Implemented Interfaces:
VOMSCompatibility

public class VOMSCompatibilitySoapBindingImpl
extends java.lang.Object
implements VOMSCompatibility

Server side of the VOMS Compatibility service.

Author:
Akos Frohner, Karoly Lorentey

Constructor Summary
VOMSCompatibilitySoapBindingImpl()
           
 
Method Summary
 java.lang.String[] getGridmapUsers()
          Returns the DN of the users in the VOMS database.
 java.lang.String[] getGridmapUsers(java.lang.String container)
          Returns the DN of the users who have the given container in the VOMS database.
 int getMajorVersionNumber()
          Returns the major version number.
 int getMinorVersionNumber()
          Returns the minor version number.
 int getPatchVersionNumber()
          Returns the patch version number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VOMSCompatibilitySoapBindingImpl

public VOMSCompatibilitySoapBindingImpl()
Method Detail

getGridmapUsers

public java.lang.String[] getGridmapUsers()
                                   throws VOMSException
Description copied from interface: VOMSCompatibility
Returns the DN of the users in the VOMS database. It is used by mkgridmap++ to provide compatibility layer with the VO-LDAP database. This method is equivalent to calling getGridmapUsers(String) with the VO group name as its parameter.

Specified by:
getGridmapUsers in interface VOMSCompatibility
Returns:
list of DNs
Throws:
VOMSException

getGridmapUsers

public java.lang.String[] getGridmapUsers(java.lang.String container)
                                   throws VOMSException
Description copied from interface: VOMSCompatibility
Returns the DN of the users who have the given container in the VOMS database. It is used by mkgridmap++ to provide compatibility layer with the VO-LDAP database.

Specified by:
getGridmapUsers in interface VOMSCompatibility
Parameters:
container - A fully qualified container name.
Returns:
list of DNs
Throws:
VOMSException

getMajorVersionNumber

public int getMajorVersionNumber()
Description copied from interface: VOMSCompatibility
Returns the major version number.

Specified by:
getMajorVersionNumber in interface VOMSCompatibility

getMinorVersionNumber

public int getMinorVersionNumber()
Description copied from interface: VOMSCompatibility
Returns the minor version number.

Specified by:
getMinorVersionNumber in interface VOMSCompatibility

getPatchVersionNumber

public int getPatchVersionNumber()
Description copied from interface: VOMSCompatibility
Returns the patch version number.

Specified by:
getPatchVersionNumber in interface VOMSCompatibility