Package org.dcache.xrootd.plugins
Interface ProxyDelegationClient<C extends java.io.Serializable,K extends java.io.Serializable,P extends java.io.Serializable,R extends java.io.Serializable>
-
- Type Parameters:
C-
- All Known Implementing Classes:
X509ProxyDelegationClient
public interface ProxyDelegationClient<C extends java.io.Serializable,K extends java.io.Serializable,P extends java.io.Serializable,R extends java.io.Serializable>An internal interface which should be implemented by the code referencing this library in order to cache delegated credentials.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelProxyRequest(ProxyRequest<K,R> request)voidclose()Clean up any resources used by the client.CfinalizeProxyCredential(java.lang.String id, P proxyCert)ProxyRequest<K,R>getProxyRequest(K key)
-
-
-
Method Detail
-
cancelProxyRequest
void cancelProxyRequest(ProxyRequest<K,R> request) throws XrootdException
- Parameters:
request- current request to cancel- Throws:
XrootdException
-
finalizeProxyCredential
C finalizeProxyCredential(java.lang.String id, P proxyCert) throws XrootdException
- Parameters:
id- of the stored credential; this is the field of the ProxyRequest returned by #getProxyRequest.proxyCert- the proxy certificate- Returns:
- the full proxy credential
- Throws:
XrootdException
-
getProxyRequest
ProxyRequest<K,R> getProxyRequest(K key) throws XrootdException
- Parameters:
key- object containing the necessary identifying attributes- Returns:
- request to send to client.
- Throws:
XrootdException
-
close
void close()
Clean up any resources used by the client.
-
-