WorkflowParticipant participant = realmDatabase.authenticate(username, password);
if (participant == null)
{
throw new WorkflowException("login workflow engine unsuccessfully.username=" + username + ",password=" + password);
}
this.session = manager.createSession();
this.session.setParticipant(participant);
}
}
private boolean authenticate(WorkflowService workflowService, String userid, String password) throws WorkflowException
{