code: protected void checkAuthenticatedAccount(UserIdentityContext userIdentityContext) {
          if (userIdentityContext.getEffectiveAccount() == null) {
              throw new WebApplicationException(Response.status(Response.Status.UNAUTHORIZED).header("WWW-Authenticate", "Basic realm=\"Restcomm realm\"").build());
          }
      }
docs: Grants general purpose access if any valid token exists in the request