devondragon / SpringUserFramework

Easy User Management Framework/Starter App for Spring. Providing registration, login, logout, and more built on top of Spring Security.
Apache License 2.0
88 stars 28 forks source link

chore: Refactor roleHierarchy method in WebSecurityConfig #102

Closed devondragon closed 4 months ago

devondragon commented 4 months ago

Refactor the roleHierarchy method in WebSecurityConfig to use the static factory method RoleHierarchyImpl.fromHierarchy(). This improves code readability and simplifies the configuration process.