public AuthenticateResult authenticate(Authenticate parameters) throws java.rmi.RemoteException {
boolean authenticated = tokenStore.confirmToken(parameters.getUsername(), parameters.getPassword());
logger.info("User " + parameters.getUsername() + " has been authenticated");
return new AuthenticateResult(authenticated);
}