}
@Deprecated
// This is a dark corner of the OpenStack API
protected void checkDomainAdmin() {
Auth auth = getAuth();
Domain domainAdmin = auth.findDomainWithAdminRole();
if (domainAdmin == null) {
log.debug("Expected domain admin: {}", auth);
throw new WebApplicationException(Status.FORBIDDEN);
}
}