edu.ucsb.nceas.metacat.advancedsearch

## Class MetacatLogin

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `MetacatLogin(LoginBean loginBean)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2020 Regents of the University of California. All Rights Reserved.