code: public void addAllowedOrigin(String origin) {
  
  		Constraint.ensureNotEmpty(origin, String.format("Invalid origin '%s'", origin));
  		allowedOrigins.add(origin);
  	}
docs: Add an origin allowed by the resource
  
  @param origin