Closed NeilMadden closed 3 years ago
An implementation of this approach is available from branch https://github.com/NeilMadden/apisecurityinaction/blob/chapter08-stateless/natter-api/src/main/java/com/manning/apisecurityinaction/controller/DroolsAccessController.java
The
StatelessKieSession
is a better fit for the example in chapter 8. ThecheckPermitted
method can be simplified using this class (and probably with better performance):If there's ever a second edition, this should be considered.