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

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

public class SRBUsernamePasswordConnector
extends SRBConnector

Author: Mathew Wyatt Organisation: James Cook University Date: Jun 25, 2008 Time: 4:59:47 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
SRBUsernamePasswordConnector(SRBAccount srbAccount, java.lang.String displayName)
          Takes an exisitng account
SRBUsernamePasswordConnector(java.lang.String host, int port, java.lang.String username, char[] password, java.lang.String home, java.lang.String domain, java.lang.String resource, java.lang.String zone, java.lang.String displayName)
          Username and password 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

SRBUsernamePasswordConnector

public SRBUsernamePasswordConnector(SRBAccount srbAccount,
                                    java.lang.String displayName)
Takes an exisitng account

Parameters:
srbAccount -

SRBUsernamePasswordConnector

public SRBUsernamePasswordConnector(java.lang.String host,
                                    int port,
                                    java.lang.String username,
                                    char[] password,
                                    java.lang.String home,
                                    java.lang.String domain,
                                    java.lang.String resource,
                                    java.lang.String zone,
                                    java.lang.String displayName)
Username and password constructor

Parameters:
host -
port -
username -
password -
home -
domain -
resource -
zone -
displayName -
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()