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

java.lang.Object
  extended by au.edu.jcu.hermes.core.filesystem.SRBConnector
      extended by au.edu.jcu.hermes.core.filesystem.SRBGSIConnector
All Implemented Interfaces:
IFileSystemConnector, java.io.Serializable

public class SRBGSIConnector
extends SRBConnector

Author: Mathew Wyatt Organisation: James Cook University Date: Jun 25, 2008 Time: 4:59:19 PM

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class au.edu.jcu.hermes.core.filesystem.SRBConnector
SRBConnector.SerializedSRBAccount
 
Field Summary
 
Fields inherited from class au.edu.jcu.hermes.core.filesystem.SRBConnector
authenticationType, displayName, serializedAccount
 
Constructor Summary
SRBGSIConnector(SRBAccount srbAccount, java.lang.String displayName)
          Takes an exising account
SRBGSIConnector(java.lang.String host, int port, java.lang.String resource, java.lang.String displayName)
          GSI auth constructor
 
Method Summary
 java.lang.String getAuthServer()
           
 java.lang.String getAuthUsername()
           
 FileObject getFileObject()
           
 
Methods inherited from class au.edu.jcu.hermes.core.filesystem.SRBConnector
getAuthType, getDisplayName, getDomain, getHome, getHost, getPort, getResource, getZone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRBGSIConnector

public SRBGSIConnector(SRBAccount srbAccount,
                       java.lang.String displayName)
Takes an exising account

Parameters:
srbAccount -
displayName -

SRBGSIConnector

public SRBGSIConnector(java.lang.String host,
                       int port,
                       java.lang.String resource,
                       java.lang.String displayName)
                throws GlobusCredentialException,
                       org.ietf.jgss.GSSException
GSI auth constructor

Parameters:
host -
port -
resource -
displayName -
Throws:
org.globus.gsi.GlobusCredentialException
org.ietf.jgss.GSSException
GlobusCredentialException
Method Detail

getFileObject

public FileObject getFileObject()
                         throws FileSystemException
Specified by:
getFileObject in interface IFileSystemConnector
Overrides:
getFileObject in class SRBConnector
Throws:
FileSystemException

getAuthServer

public java.lang.String getAuthServer()

getAuthUsername

public java.lang.String getAuthUsername()