public interface ImpersonationNotifier
Modifier and Type | Method and 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.
|
void notify(java.util.Date date, java.lang.String userId, java.lang.String action, java.util.Map<java.lang.String,java.lang.Object> props)
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)."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"