org.edg.security.voms.service.core
Class VOMSCoreSoapBindingImpl

java.lang.Object
  |
  +--org.edg.security.voms.service.core.VOMSCoreSoapBindingImpl
All Implemented Interfaces:
java.rmi.Remote, VOMSCore

public class VOMSCoreSoapBindingImpl
extends java.lang.Object
implements VOMSCore

Server side of the VOMS Core service.

Version:
$Name: v0_7_0 $

Field Summary
protected  org.apache.log4j.Logger log
           
 
Constructor Summary
VOMSCoreSoapBindingImpl()
           
 
Method Summary
 java.lang.String[] getAttributes(java.lang.String[] roles)
          Returns the user attributes as a list of strings.
 byte[] getAttributesAsAC(java.lang.String[] roles)
          Returns the user attributes as an Attribute Certificate.
 int getMajorVersionNumber()
          Returns the major version number.
 int getMinorVersionNumber()
          Returns the minor version number.
 int getPatchVersionNumber()
          Returns the patch version number.
 User getUser()
          Returns information about a user in the VOMS database.
 java.lang.String[] listCapabilities()
          Returns a list of capabilities that the client has.
 java.lang.String[] listGroups()
          Returns a list of groups that the client is a member of, including the VO group.
 QualifiedRole[] listRoles()
          Returns a list of roles that the client has, along with their associated groups.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.log4j.Logger log
Constructor Detail

VOMSCoreSoapBindingImpl

public VOMSCoreSoapBindingImpl()
Method Detail

getUser

public User getUser()
             throws java.rmi.RemoteException
Description copied from interface: VOMSCore
Returns information about a user in the VOMS database.

Specified by:
getUser in interface VOMSCore
Returns:
All information about the user that is known to VOMS.
java.rmi.RemoteException

getAttributesAsAC

public byte[] getAttributesAsAC(java.lang.String[] roles)
                         throws java.rmi.RemoteException
Description copied from interface: VOMSCore
Returns the user attributes as an Attribute Certificate.

Specified by:
getAttributesAsAC in interface VOMSCore
Parameters:
roles - requested role(s)
Returns:
a signed Attribute Certificate
java.rmi.RemoteException

getAttributes

public java.lang.String[] getAttributes(java.lang.String[] roles)
                                 throws java.rmi.RemoteException
Description copied from interface: VOMSCore
Returns the user attributes as a list of strings.

Specified by:
getAttributes in interface VOMSCore
Parameters:
roles - requested role(s)
Returns:
list of attributes
java.rmi.RemoteException

listGroups

public java.lang.String[] listGroups()
                              throws java.rmi.RemoteException
Description copied from interface: VOMSCore
Returns a list of groups that the client is a member of, including the VO group.

Specified by:
listGroups in interface VOMSCore
java.rmi.RemoteException

listRoles

public QualifiedRole[] listRoles()
                          throws java.rmi.RemoteException
Description copied from interface: VOMSCore
Returns a list of roles that the client has, along with their associated groups.

Specified by:
listRoles in interface VOMSCore
java.rmi.RemoteException

listCapabilities

public java.lang.String[] listCapabilities()
                                    throws java.rmi.RemoteException
Description copied from interface: VOMSCore
Returns a list of capabilities that the client has.

Specified by:
listCapabilities in interface VOMSCore
java.rmi.RemoteException

getMajorVersionNumber

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

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

getMinorVersionNumber

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

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

getPatchVersionNumber

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

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