Package org.bgerp.event

# Class AuthEvent

java.lang.Object
org.bgerp.event.AuthEvent

All Implemented Interfaces:
  `Event`

public class AuthEvent extends Object implements Event
User authorization event.

- ## Field Summary

  ### Fields inherited from interface org.bgerp.app.event.iface.Event

  `KEY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AuthEvent(String login, String password, User user)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getLogin()`
  `String`
  `getPassword()`
  `User`
  `getUser()`
  `boolean`
  `isProcessed()`
  `void`
  `setProcessed(boolean processed)`
  Sets the event processed.
  `void`
  `setUser(User user)`
  Sets newly created local user.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.bgerp.app.event.iface.Event

  `processing`

- ## Constructor Details

  - ### AuthEvent

    public AuthEvent(String login, String password, User user)

- ## Method Details

  - ### getLogin

    public String getLogin()
    Returns:
      user login.

  - ### getPassword

    public String getPassword()
    Returns:
      user password.

  - ### isProcessed

    public boolean isProcessed()
    Returns:
      the event was processed, newly created user available via `getUser()`.

  - ### setProcessed

    public void setProcessed(boolean processed)
    Sets the event processed. Authorization was successfully done by one of plugins.
    Parameters:
      `processed` -

  - ### getUser

    public User getUser()
    Returns:
      already existing local user with `getLogin()`.

  - ### setUser

    public void setUser(User user)
    Sets newly created local user.
    Parameters:
      `user` -