java.lang.Object
java.util.EventObject
de.codecamp.vaadin.security.spring.authentication.AuthenticationChangeEvent
All Implemented Interfaces:
Serializable

public class AuthenticationChangeEvent extends EventObject
Event object containing information about the changed authentication.
See Also:
  • Constructor Details

    • AuthenticationChangeEvent

      public AuthenticationChangeEvent(com.vaadin.flow.server.VaadinSession session, org.springframework.security.core.Authentication authentication)
  • Method Details

    • getSession

      public com.vaadin.flow.server.VaadinSession getSession()
      Returns the session for which the authentication changed.
      Returns:
      the session for which the authentication changed
    • getAuthentication

      public org.springframework.security.core.Authentication getAuthentication()
      Returns the new authentication.
      Returns:
      the new authentication