org.glite.security.delegation
Interface Delegation


public interface Delegation

Delegation service interface


Method Summary
 java.lang.String getProxyReq(java.lang.String delegationID)
          Starts the delegation procedure by asking for a certificate signing request from the server.
 void putProxy(java.lang.String delegationID, java.lang.String proxy)
          Finishes the delegation procedure by sending the signed proxy certificate to the server.
 

Method Detail

getProxyReq

public java.lang.String getProxyReq(java.lang.String delegationID)
Starts the delegation procedure by asking for a certificate signing request from the server. The server answers with a certificate signing request which includes the public key for the new delegated credentials.

Parameters:
delegationID - the id used to identify the delegation process and the resulting delegated credentials in the server
Returns:
The certificate signing request for the client to sign using the user's credentials.

putProxy

public void putProxy(java.lang.String delegationID,
                     java.lang.String proxy)
Finishes the delegation procedure by sending the signed proxy certificate to the server.

Parameters:
delegationID - the id used to identify the delegation process and the resulting delegated credentials in the server
proxy - the signed proxy certificate