CAS Management user roles

31 views
Skip to first unread message

Napoleon Ponaparte

unread,
Aug 26, 2020, 10:58:47 AM8/26/20
to CAS Community

Hi all,

I have trouble with user role in CAS Management
If I use user.json file store in directory /etc/cas/config like below, CAS Management worked well.
Here is user.json file
{

      "casuser" : {

      "@class" : "org.apereo.cas.mgmt.authz.json.UserAuthorizationDefinition",

      "roles" : [ "ROLE_ADMIN" ]

       }

}
But, how to apply this properties as CAS Overlay properties store in MongoDB?
Or how to indicate CAS-managment or CAS Overlay user's roles always is "ROLE_ADMIN"?
Please help me.
Thank you in advance.
Reply all
Reply to author
Forward
0 new messages