We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to update a model from outside the local network. Since I am not in localhost I am not an admin.
My question is, how can I override this, is there any option/configuration I can modify?
Thanks one more time.
The text was updated successfully, but these errors were encountered:
JAX-RS component NetworkSecurityContextFilter, which is responsible for granting the "admin" role based on the IP address, takes a configuration option trustedAddresses. If this option is set, then it will override the default behaviour: https://github.com/openscoring/openscoring/blob/master/openscoring-service/src/main/java/org/openscoring/service/NetworkSecurityContextFilter.java#L58-L65
NetworkSecurityContextFilter
trustedAddresses
For example:
networkSecurityContextFilter { trustedAddresses = ["127.0.0.1", "22.33.44.55"] }
Sorry, something went wrong.
Thanks, as usual :)
No branches or pull requests
I am trying to update a model from outside the local network. Since I am not in localhost I am not an admin.
My question is, how can I override this, is there any option/configuration I can modify?
Thanks one more time.
The text was updated successfully, but these errors were encountered: