https://github.com/commonjava/indy-security
https://github.com/commonjava/indy-security
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/commonjava/indy-security
- Owner: Commonjava
- License: apache-2.0
- Created: 2022-09-06T02:07:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T01:32:35.000Z (about 2 years ago)
- Last Synced: 2025-06-14T08:11:19.317Z (about 1 year ago)
- Language: Java
- Size: 76.2 KB
- Stars: 0
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Indy Security setttings
This lib will provide a solution to do authorization in indy microservices.
## Prerequisite for building
1. jdk11
2. mvn 3.6.2+
## Configure
There are two basic config items:
* enabled: decide if to enable the security checking
* security_bindings_yaml: decide where is the security-bindings.yaml file
A sample quarkus configuration file is here: [application.yaml](src/test/resources/application.yaml)
## security-bindings.yaml
This lib uses security-bindings.yaml to decide the security constraints. A sample file is here [security-bindings.yaml](src/test/resources/security-bindings.yaml)
The lib will load this file from two locations:
* classpath: this is default location if second one is not specified
* security_bindings_yaml in config: a file path to specify the location.