I have implemented Preprocessor for one of my use case to detect the activity and do some processing. Something like
public void preprocess(ReplicationAction replicationAction, ReplicationOptions replicationOptions) throws ReplicationException {
if (replicationAction.getType().equals(ReplicationActionType.ACTIVATE)){
// Need to get the logged in user detail
}
}
I can get the admin session/details here but i need access to the current logged in user. How can i get that.
Can someone help me with this.
Thanks