Skip to content
New issue

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

XACML configuration files #21

Open
tvdijen opened this issue Aug 12, 2019 · 1 comment
Open

XACML configuration files #21

tvdijen opened this issue Aug 12, 2019 · 1 comment

Comments

@tvdijen
Copy link
Contributor

tvdijen commented Aug 12, 2019

I have an issue with the xacml.properties-file and the xacml-directory because I can't seem to override the default location of these files from the application.properties..

Setting them as below doesn't work:

xacml.properties.path=file:/some/path/xacml.conext.properties
policy.base.dir=file:/some/path/xacml/policies

The only solution I have right now is to copy my modified files to pdp-server/src/main/resources and run mvn build..

@tvdijen tvdijen closed this as completed Jul 7, 2021
@tvdijen tvdijen reopened this Sep 18, 2023
@tvdijen
Copy link
Contributor Author

tvdijen commented Nov 1, 2023

I was able to spend a bit of time to investigate this, and the issue is limited to the files in the xacml/attributes directory. Those files are loaded using new ClassPathResource("xacml/attributes/allowed_attributes.json") and therefore they have to build into the jar-file.

It would be great if we could configure a location for the two json-files in application.properties so they can be stored on an alternative location, outside the jar-file.

@thijskh thijskh moved this from New to Icebox in OpenConext-pdp Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Icebox
Development

No branches or pull requests

1 participant