spring-cloud-netflix
spring-cloud-netflix copied to clipboard
custom route property
Is there a way to have custom property in a Route definition at configuration and then I can use it later in a filter. ----Config File-----
route-x:
path: /v1.0/route/x/**
service-id: route-x
strip-prefix: false
custom-property-x: value-x
I dont believe so
No, what is the property for and how is it to be used?
@spencergibb the property name will be authenticationRequired (true/false). Custom Authentication filter will read that value and it will authenticate the request if that route has this custom value. if the value is false then filter knows that this is a public resource and there shouldnt be any authentication