Class AuthenticationChangeEvent

  • All Implemented Interfaces:
    Serializable

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

      • AuthenticationChangeEvent

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

      • 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