If you want to decide in runtime after that your configuration has been fetch you can use if the FilterRegistrationBean.setEnabled method.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.