* {@inheritDoc}
*/
@Override
public Serializable execute(final TaskHandlerActionContext<PrincipalActionContext> inActionContext)
{
RequestForGroupMembershipRequest request = (RequestForGroupMembershipRequest) inActionContext
.getActionContext().getParams();
mapper.execute(request);
// send notification
inActionContext.getUserActionRequests().add(
new UserActionRequest(CreateNotificationsRequest.ACTION_NAME, null,
new GroupMembershipResponseNotificationsRequest(RequestType.REQUEST_GROUP_ACCESS_DENIED,
inActionContext.getActionContext().getPrincipal().getId(), request.getGroupId(),
request.getPersonId())));
return null;
}