org.nees.repo.chef.servlets
Class FileTransferConfig
java.lang.Object
org.nees.repo.chef.servlets.FileTransferConfig
- public class FileTransferConfig
- extends java.lang.Object
Utilities for configuring the FileTransfer servlet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTransferConfig
public FileTransferConfig()
getUserProxy
public static org.ietf.jgss.GSSCredential getUserProxy(RunData runData)
- Get the user's proxy. The user is retrieved from
the runData.
- Parameters:
runData - the runData passed to a teamlet's buildXXContext or
doXX method.
- Returns:
- the user's default proxy, or null if it cannot be retrieved.
setHttpSessionProxy
public static void setHttpSessionProxy(RunData data)
throws java.lang.Exception
- Stash the user's proxy in the Http session, for the benefit
of the FileTransfer servlet
- Throws:
java.lang.Exception
setHttpSessionNFMSFacade
public static void setHttpSessionNFMSFacade(RunData data,
NFMSFacade f)
throws java.lang.Exception
- Throws:
java.lang.Exception