Interface ImpersonationNotifier


  • public interface ImpersonationNotifier
    ImpersonationNotifier...
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void notify​(java.util.Date date, java.lang.String userId, java.lang.String action, java.util.Map<java.lang.String,​java.lang.Object> props)
      Notify the implementation about an user impersonating another user or reverting the impersonation back.
    • Method Detail

      • notify

        void notify​(java.util.Date date,
                    java.lang.String userId,
                    java.lang.String action,
                    java.util.Map<java.lang.String,​java.lang.Object> props)
        Notify the implementation about an user impersonating another user or reverting the impersonation back.
        Parameters:
        date - The date of the action.
        userId - The ID of the user being target of the request.
        action - The impersonation operation that was executed. The value may be either "sudo" or "revert" reflecting the two actions related to impersonation.
        props - The properties related to the operation. The map is empty if the action is "revert" and a single-valued map indicating who will be impersonated (key: "sudo", the value being the id of the user to impersonate as).