edu.ucsb.nceas.metacat.advancedsearch
Class MetacatLogin

java.lang.Object
  extended by edu.ucsb.nceas.metacat.advancedsearch.MetacatLogin

public class MetacatLogin
extends java.lang.Object

Author:
dcosta MetacatLogin class executes a Metacat login using the Metacat client.

Constructor Summary
MetacatLogin(LoginBean loginBean)
          Constructor.
 
Method Summary
 boolean executeLogin(java.lang.String metacatURL, Metacat metacat)
          Executes the Metacat login.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetacatLogin

public MetacatLogin(LoginBean loginBean)
Constructor. Initializes the loginBean object variable.

Parameters:
loginBean - the LoginBean object, holds username and password
Method Detail

executeLogin

public boolean executeLogin(java.lang.String metacatURL,
                            Metacat metacat)
Executes the Metacat login.

Parameters:
metacatURL - URL to the metacat servlet
metacat - a Metacat object, possibly null
Returns:
loginSuccess true if metacat login was successful, else false


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.