au.edu.jcu.hermes.plugin.icat
Class ICATConnector

java.lang.Object
  extended by au.edu.jcu.hermes.plugin.icat.ICATConnector
All Implemented Interfaces:
IICATConnector, java.io.Serializable

public class ICATConnector
extends java.lang.Object
implements IICATConnector

See Also:
Serialized Form

Constructor Summary
ICATConnector(java.lang.String url, java.lang.String srbUrl, java.lang.String username, java.lang.String password)
          Constructor using username-password based authentication.
 
Method Summary
 java.lang.String getAuthType()
          Get the authentication method.
 GlobusCredential getCert()
          Get the certificate.
 java.lang.String getPassword()
          Get the password entered.
 java.lang.String getSRBHostURL()
          Get the SRB Host URL.
 java.lang.String getUrl()
          Get the ICAT host URL.
 java.lang.String getUsername()
          Get the username entered.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICATConnector

public ICATConnector(java.lang.String url,
                     java.lang.String srbUrl,
                     java.lang.String username,
                     java.lang.String password)
Constructor using username-password based authentication.

Parameters:
url - - ICAT host URL
username -
password -
Method Detail

getAuthType

public java.lang.String getAuthType()
Get the authentication method.

Specified by:
getAuthType in interface IICATConnector
Returns:

getCert

public GlobusCredential getCert()
Get the certificate.

Specified by:
getCert in interface IICATConnector
Returns:

getPassword

public java.lang.String getPassword()
Get the password entered.

Specified by:
getPassword in interface IICATConnector
Returns:

getUrl

public java.lang.String getUrl()
Get the ICAT host URL.

Specified by:
getUrl in interface IICATConnector
Returns:

getUsername

public java.lang.String getUsername()
Get the username entered.

Specified by:
getUsername in interface IICATConnector
Returns:

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getSRBHostURL

public java.lang.String getSRBHostURL()
Get the SRB Host URL.

Specified by:
getSRBHostURL in interface IICATConnector
Returns: