Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixdes/java-dop-example
Simple example of fine access implemented with new Java DOP paradigm
https://github.com/felixdes/java-dop-example
dop gradle java security spring-boot
Last synced: 10 days ago
JSON representation
Simple example of fine access implemented with new Java DOP paradigm
- Host: GitHub
- URL: https://github.com/felixdes/java-dop-example
- Owner: FelixDes
- License: mit
- Created: 2024-04-25T18:52:26.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-09-08T16:24:25.000Z (4 months ago)
- Last Synced: 2024-11-08T14:49:38.665Z (2 months ago)
- Topics: dop, gradle, java, security, spring-boot
- Language: Java
- Homepage: https://jokerconf.com/talks/c2214c26c900415fb48c5862248e3b94/?referer=%2Fschedule%2Fdays%2F
- Size: 89.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java DOP example
Fine-grained access resolution system implemented in __Java 21__ with new Java __DOP__ (Data Oriented Programming) featuresProject was used at [Joker conference talk](https://jokerconf.com/en/talks/c2214c26c900415fb48c5862248e3b94/?referer=%2Fschedule%2Fdays%2F) as an example
## Usage
1) Run with:
```shell
./gradlew bootRun
```
2) Then open [swagger page](http://localhost:8080/swagger-ui.html)## Points of interest
- [CompositeAccessResolutionService](src/main/java/com/jug/joker/javadopexample/service/CompositeAccessResolutionService.java)
- [Entity tree walker](src/main/java/com/jug/joker/javadopexample/service/EntityWalkerService.java)
- [Default users](src/main/java/com/jug/joker/javadopexample/config/SecurityConfig.java)