Comments (4)
Should work with Java 8. Looks like you are skipping the step before that?
mvn install:install-file -Dfile=target/voter-1.0-SNAPSHOT.jar -DpomFile=pom.xml
The jar isn't published to Maven Central, so you'll need to build and deploy it to your own repository.
from contrib.
That's great. you are right, It works now.
Can we use it to authorize the user as well or it can be only use to communicate between the microservers or application?
If we can use it to authorize the user then how could I dynamically verify the permission of the user by database? I mean I don't have only one user, I have multiple users in the database and I want to allow only if the subject Id equal to the one of the id exists in my database.
Can you guide me here or show me the tutorial from where I can learn. Thanks!
from contrib.
Sure you can! The input
object provided to OPA is built here, so you could modify that to include whatever you need.
See the documentation on external data for how to get data from e.g. a database into your OPA instances. For most cases the bundle model is a pretty good default choice.
from contrib.
Anything left unanswered here or are we good to close this @ameerhu?
from contrib.
Related Issues (20)
- Migrate to GitHub Actions
- Kong-OPA Authz plugin does not send headers information to HOT 5
- Fix currently ignored build issues in two sub-modules
- Docker file for demo-kafka HOT 4
- Deal with new Kafka authorizer interface HOT 1
- Error when no JWT token provided
- Add config API endpoint to Open API specs HOT 4
- Not able to verify NodeSelector Exists or not HOT 19
- Error on Apple M1: iptables v1.6.0: can't initialize iptables table `nat': iptables HOT 4
- Broken Elasticsearch Data Filtering Example HOT 2
- `pam_opa` build is failing in GH Actions
- `gatekeeper_mtail_violations_exporter` build is broken
- `k8s_authorization` build is broken
- Support `OTP` while using the `pam_opa` HOT 8
- Update spring_authz README to include some additional information HOT 1
- kong_api_authz build is broken
- kong_api_authz: Latest Rocks Build HOT 18
- contrib/data_filter_mongo example test case for employees/john example not working as advertised in README.md (returns empty)
- PAM module pam_sm_acct_mgmt call always returns success
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contrib.