I have a controller that uses the CrossOrigin request annotation and adds come config like this.
CrossOrigin
@CrossOrigin( origins = {"http://example.