org.cagrid.gaards.cds.client
Class DelegatedCredentialUserClient
java.lang.Object
org.cagrid.gaards.cds.client.DelegatedCredentialUserClient
public class DelegatedCredentialUserClient
- extends java.lang.Object
|
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 |
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
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