au.edu.jcu.hermes.core.filesystem
Class GSIProxyManager

java.lang.Object
  extended by au.edu.jcu.hermes.core.filesystem.GSIProxyManager

public class GSIProxyManager
extends java.lang.Object

Author: Mathew Wyatt Organisation: James Cook University Date: May 6, 2008 Time: 11:02:48 AM


Constructor Summary
GSIProxyManager()
           
 
Method Summary
static org.ietf.jgss.GSSCredential checkProxyAndGetCredential()
          Checks if a gsi proxy is valid, and returns a valid gsi proxy cert
static org.ietf.jgss.GSSCredential getMyProxyCredential(java.lang.String server, java.lang.String username, char[] password)
           
static org.ietf.jgss.GSSCredential getShibCredential()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSIProxyManager

public GSIProxyManager()
Method Detail

checkProxyAndGetCredential

public static org.ietf.jgss.GSSCredential checkProxyAndGetCredential()
                                                              throws org.ietf.jgss.GSSException,
                                                                     GlobusCredentialException
Checks if a gsi proxy is valid, and returns a valid gsi proxy cert

Throws:
org.ietf.jgss.GSSException
GlobusCredentialException

getShibCredential

public static org.ietf.jgss.GSSCredential getShibCredential()
Returns:

getMyProxyCredential

public static org.ietf.jgss.GSSCredential getMyProxyCredential(java.lang.String server,
                                                               java.lang.String username,
                                                               char[] password)
                                                        throws MyProxyException
Throws:
MyProxyException