Perfect Role-Based Access Authorization

Being new to the ideal server side, I cannot find packages that help with role-based authorization. Spring has for example

.antMatchers("/homePage").access("hasRole('ROLE_USER') or hasRole('ROLE_ADMIN')")
.antMatchers("/adminPage").access("hasRole('ROLE_ADMIN')")

Is there anything already perfect to help with this? Is there a recommended way to control access in perfect mode?

+4
source share
2 answers
+1
source

Perfect provides a system level of authentication.

-, github PerfectlySoft/Perfect-LocalAuthentication , , .

. , Perfect-LDAP LDAP- .

0

Source: https://habr.com/ru/post/1690244/


All Articles