protected void forceAuthentication(Args args) throws ClientServicesException {
if (endpoint != null) {
endpoint.authenticate(true);
} else {
String msg = StringUtil.format("Authorization needed for service {0}", getUrlPath(args));
throw new NoAccessSignal(msg);
}
}