Class UserAuthenticated

java.lang.Object
org.jgrapes.core.internal.EventBase<Void>
org.jgrapes.core.Event<Void>
org.jgrapes.webconsole.base.events.UserAuthenticated
All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class UserAuthenticated extends Event<Void>
The Class UserAuthenticated.
  • Constructor Details

    • UserAuthenticated

      public UserAuthenticated(Event<?> forLogin, Subject subject)
      Instantiates successful user authentication.
      Parameters:
      forLogin - the for login
  • Method Details

    • forLogin

      public Event<?> forLogin()
      Gets the event that initiated the login process.
      Returns:
      the for login
    • subject

      public Subject subject()
      Gets the subject.
      Returns:
      the subject
    • by

      Add the name of a component that has authenticated the user or added roles.
      Parameters:
      by - the by
      Returns:
      the user authenticated
    • by

      public List<String> by()
      Return the names of the components that have authenticated the user or added roles.
      Returns:
      the list