tx.begin();
publisher = em.find(Publisher.class, authorizedName);
if (publisher == null)
throw new UnknownUserException(new ErrorMessage("errors.auth.NoPublisher", authorizedName));
AuthToken at = em.find(AuthToken.class, authInfo);
if (at == null)
throw new AuthTokenRequiredException(new ErrorMessage("E_authTokenRequired", authInfo));
} finally {
if (tx.isActive()) {
tx.rollback();