Class UserSubstitutedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.core.security.event.UserSubstitutedEvent
All Implemented Interfaces:
Serializable

public class UserSubstitutedEvent extends org.springframework.context.ApplicationEvent
Event published after user substituted and new Authentication is set to current SecurityContext.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserSubstitutedEvent(org.springframework.security.core.userdetails.UserDetails authenticatedUser, org.springframework.security.core.userdetails.UserDetails substitutedUser)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.userdetails.UserDetails
     
    org.springframework.security.core.userdetails.UserDetails
     

    Methods inherited from class org.springframework.context.ApplicationEvent

    getTimestamp

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UserSubstitutedEvent

      public UserSubstitutedEvent(org.springframework.security.core.userdetails.UserDetails authenticatedUser, org.springframework.security.core.userdetails.UserDetails substitutedUser)
  • Method Details

    • getAuthenticatedUser

      public org.springframework.security.core.userdetails.UserDetails getAuthenticatedUser()
    • getSubstitutedUser

      public org.springframework.security.core.userdetails.UserDetails getSubstitutedUser()