https://github.com/backbase/access-control-data-extension
https://github.com/backbase/access-control-data-extension
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/backbase/access-control-data-extension
- Owner: Backbase
- Created: 2020-09-04T11:32:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T11:56:13.000Z (about 5 years ago)
- Last Synced: 2025-11-20T20:02:49.634Z (4 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Access control extension
## Extend the data model for Access control.
[Example: Extend the data model for Access control from Community](https://community.backbase.com/documentation/DBS/latest/access_control_extend_data_model)
## Description
This example shows you how to modify the default behavior of the Access control service.
This modification allows to extend the data model for Access control using additions.
## How to use
To use your service extension, you include the property file to the CLASSPATH and define
`spring.config.additional-location` environment variable when the service is started.
[When you run a service as a bootable jar](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#executable-jar-property-launcher-features),
you can configure custom config location. For example:
java -Dspring.config.additional-location=C:\Backbase\access-control-data-extension\src\main\resources\apiExtensionAccessControl.yml -jar access-control.jar
If you are not running the Service as a war, use the mechanism available in your application server.
### Docker
As an example we include a [Dockerfile](Dockerfile) showing how we could extend our Backbase Docker images
with additional configuration we just created.
mvn package -Pdocker
After the build finishes we will have a Docker image with our additional configuration inside.
Set the following environment variable when running the docker image.
SPRING_CONFIG_ADDITIONAL-LOCATION: "classpath:/apiExtensionAccessControl.yml"