I'm trying to setup a CAS 6.2.1 with CAS Management for manage services.
Actually I have a 6.2.1-SNAPSHOT CAS Management which start up well.
At the first load, it redirect me to CAS login page, where I use my login/password.
After, i get the message : "authorizationFailure"
And in the log it appear thar the user roles are empty :
WARN [org.apereo.cas.mgmt.authz.CasRoleBasedAuthorizer] - Unable to authorize access, since the authenticated profile [#CasProfile# | id: julien.sabatier | attributes: {credentialType=UsernamePasswordCredential, isFromNewLogin=true, authenticationDate=2020-08-18T08:07:35.737859Z, authenticationMethod=LdapAuthenticationHandler, successfulAuthenticationHandlers=LdapAuthenticationHandler, longTermAuthenticationRequestTokenUsed=false} | roles: [] | permissions: [] | isRemembered: false | clientName: CasClient | linkedId: null |] does not contain any required roles
I want to use LDAP for managing auth.
I have a role : cn=ADMINISTRATOR,ou=roles,dc=lepuyenvelay,dc=fr
And my user is a member of this groupOfMember
At the compilation of CAS Management, I added following modules :
compile "org.apereo.cas:cas-server-support-jdbc-drivers:${casMgmtServerVersion}"
compile "org.apereo.cas:cas-server-support-jpa-service-registry:${casMgmtServerVersion}"
compile "org.apereo.cas:cas-server-support-ldap:${casMgmtServerVersion}"
Can anyone help me to make it work ?
Did I miss some dependencies ?
Is my configuration false ?