org.globus.exec.service.utils
Class UserProxyCreator
java.lang.Object
org.globus.exec.service.utils.UserProxyCreator
- All Implemented Interfaces:
- java.lang.Runnable
- public class UserProxyCreator
- extends java.lang.Object
- implements java.lang.Runnable
|
Method Summary |
private static java.io.InputStream |
getDERRequest(java.io.InputStream in)
|
void |
run()
Create a new credential with a new key pair signed by the
delegation private key and including the delegated cert chain. |
private static void |
writePEM(java.io.OutputStream out,
java.security.cert.X509Certificate cert)
|
private static void |
writeProxy(java.security.cert.X509Certificate proxy,
java.security.cert.X509Certificate[] chain,
java.io.OutputStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static org.apache.commons.logging.Log logger
i18n
private static org.globus.util.I18n i18n
performanceLogger
private static PerformanceLog performanceLogger
credential
private DelegatedCredential credential
UserProxyCreator
public UserProxyCreator(DelegatedCredential credential)
run
public void run()
- Create a new credential with a new key pair signed by the
delegation private key and including the delegated cert chain.
The credential is used for outbound transactions from processes
running under a user account.
- Specified by:
run in interface java.lang.Runnable
writePEM
private static final void writePEM(java.io.OutputStream out,
java.security.cert.X509Certificate cert)
throws java.security.cert.CertificateEncodingException,
java.io.IOException
- Throws:
java.security.cert.CertificateEncodingException
java.io.IOException
writeProxy
private static void writeProxy(java.security.cert.X509Certificate proxy,
java.security.cert.X509Certificate[] chain,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
getDERRequest
private static java.io.InputStream getDERRequest(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException