i m sure i have looked at this error when i was installing the management app.
Please look into the properties file some where you have provide the
user ROLE defined

management.properties file :
=====================
cas.mgmt.adminRoles=ROLE_ADMIN
cas.mgmt.userPropertiesFile=file:/C:/Users/IBM_ADMIN/Documents/GitHub/cas-config/cas-config/users.properties

IF you look at the above properties (cas.mgmt.adminRoles) it says the
users who is having the ROLE_ADMIN should be able to access the pages.
so, please provide your addition roles which you use in your
environment.

users.properties file :
===============
casuser=notused,ROLE_ADMIN
user.0=admin,ROLE_ADMIN

This is how i was able to make it working please check the same and
let me know if you still have any issues.

Thanks
Seshu

On 10 May 2017 at 22:08, bobbintb <[email protected]> wrote:
> I have CAS 5 set up and am trying to add a service to manage with the CAS
> services management app. When doing so I get "An error has occurred while
> attempting to save the service. Please try again later."
> Catalina.out also shows "[org.pac4j.cas.client.CasClient] - <AJAX request
> detected -> returning 401>" which I assume is some authorization error. I do
> have the user set to ROLE_ADMIN in the user.properties file though. Any idea
> what is wrong?
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines:
> https://apereo.github.io/cas/Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/32c2ee87-f29a-4a27-a81d-acf66d449bad%40apereo.org.



-- 
Venkata S Sadhu (Seshu)
India (Mobile) : +91 7032638062 (WhatsApp)
INDIA

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAABZGc3b4WcWOH0UsiFjSwpDhn%2BA9ehOepMrN9rt3HVsOBg%3DfQ%40mail.gmail.com.

Reply via email to