org.cagrid.gaards.cds.client
Class DelegatedCredentialUserClient

java.lang.Object
  extended by org.cagrid.gaards.cds.client.DelegatedCredentialUserClient

public class DelegatedCredentialUserClient
extends java.lang.Object


Constructor Summary
DelegatedCredentialUserClient(DelegatedCredentialReference ref)
           
DelegatedCredentialUserClient(DelegatedCredentialReference ref, org.globus.gsi.GlobusCredential cred)
           
DelegatedCredentialUserClient(org.apache.axis.message.addressing.EndpointReferenceType ref)
           
DelegatedCredentialUserClient(org.apache.axis.message.addressing.EndpointReferenceType ref, org.globus.gsi.GlobusCredential cred)
           
 
Method Summary
 org.globus.gsi.GlobusCredential getDelegatedCredential()
          This method allow an authorized user to obtain a delegated credential
 org.globus.gsi.GlobusCredential getDelegatedCredential(int keySize)
          This method allow an authorized user to obtain a delegated credential
 void suspend()
          This method suspends this credential, no further credentials will be issued or delegated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatedCredentialUserClient

public DelegatedCredentialUserClient(org.apache.axis.message.addressing.EndpointReferenceType ref)
                              throws java.lang.Exception
Throws:
java.lang.Exception

DelegatedCredentialUserClient

public DelegatedCredentialUserClient(DelegatedCredentialReference ref)
                              throws java.lang.Exception
Throws:
java.lang.Exception

DelegatedCredentialUserClient

public DelegatedCredentialUserClient(DelegatedCredentialReference ref,
                                     org.globus.gsi.GlobusCredential cred)
                              throws java.lang.Exception
Throws:
java.lang.Exception

DelegatedCredentialUserClient

public DelegatedCredentialUserClient(org.apache.axis.message.addressing.EndpointReferenceType ref,
                                     org.globus.gsi.GlobusCredential cred)
                              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

suspend

public void suspend()
             throws java.rmi.RemoteException,
                    org.globus.wsrf.ResourceException
This method suspends this credential, no further credentials will be issued or delegated.

Throws:
java.rmi.RemoteException
org.globus.wsrf.ResourceException

getDelegatedCredential

public org.globus.gsi.GlobusCredential getDelegatedCredential()
                                                       throws java.rmi.RemoteException,
                                                              CDSInternalFault,
                                                              DelegationFault,
                                                              PermissionDeniedFault
This method allow an authorized user to obtain a delegated credential

Returns:
The delegated credential.
Throws:
java.rmi.RemoteException
CDSInternalFault
DelegationFault
PermissionDeniedFault

getDelegatedCredential

public org.globus.gsi.GlobusCredential getDelegatedCredential(int keySize)
                                                       throws java.rmi.RemoteException,
                                                              CDSInternalFault,
                                                              DelegationFault,
                                                              PermissionDeniedFault
This method allow an authorized user to obtain a delegated credential

Parameters:
keySize - The size (bits) of the delegated credential's private key.
Returns:
The delegated credential.
Throws:
java.rmi.RemoteException
CDSInternalFault
DelegationFault
PermissionDeniedFault