Posts by adyjr • 201 points
2 posts
-
1
votes1
answer738
viewsA: Permissions Spring Security
I’ve spent a lot of time trying to solve this problem. I hope it’s the same as what I’ve been through. Next, you have two options: 1° - Tell Spring to ignore ROLE prefix_. @Override public void…
-
6
votes1
answer282
viewsA: Hashmap sorting by value and assigning to a dto using java 8
Try to use the method map Stream and create a constructor or something to initialize the Dto class, as shown below: Map<String, Integer> counts = new HashMap<>(); studios.forEach(studio…