Ray,

That did it, thank you !!

Now I can see the main page (cas-management/management/registry) with a 
menu bar on the left (CAS Services, OAuth Services ...).
But I can't do anything, and I have a new error in the log : 

[org.springframework.web.util.NestedServletException: Request processing 
failed; nested exception is java.lang.IllegalAccessException: You do not 
have permission to the domain 'default']

It is related to the services registry, which is ruled globally (default) 
or by domain.
The only place I see to set permissions is the users json file :

{
  "casuser" : {
    "@class" : "org.apereo.cas.mgmt.authz.json.UserAuthorizationDefinition",
    "roles" : [ "ROLE_ADMIN" ],
    "permissions" : [ "DOMAIN1" ,"DOMAIN2" ]
  }
}

I changed the permissions to "default" for my user, with no change.
Is this the right way to set permissions ?

management.properties :
mgmt.userPropertiesFile=file:/etc/cas/users/users.json
tomcat has read permission on the folder and the file

Any idea ?

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9587e12f-b904-4b4b-b8ec-e8c39b205b06n%40apereo.org.

Reply via email to