Jérémie,
Provided you have not configured  persistent service storage with jpa, ldap, 
etc…. you can find an example service definition file
At this location <cas-overlay-directory> 
target/war/work/org.apereo.cas/cas-server-webapp-tomcat/WEB-INF/classes/services/HTTPSandIMAPS-10000001.json
For example,
{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|http)://cas-server.some.edu/cas-management.*",
  "name" : "CAS Services",
  "id" : 10000004,
  "description" : "This service definition authorizes the cas services 
management application.",
  "evaluationOrder" : 10000
}
I’ve made sweeping assumptions here,  but hopefully this will give you enough 
to get going.
https://apereo.github.io/cas/5.1.x/installation/JSON-Service-Management.html

Good luck!

Erik Mallory
Server Analyst
Wichita State University


From: <[email protected]> on behalf of Jérémie Pilette 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Tuesday, August 29, 2017 at 7:16 AM
To: CAS Community <[email protected]>
Subject: Re: [cas-user] cas5.1.1 + cas-services-management-overlay

Hello Seshu,
thank you for your response.

I begin with CAS Server and I don't know all we need to know to install a CAS 
server.

Could you tell me where I have to add the CAS Management application URL (Which 
file) ? Where is the CAS Server Services ?

Thanks a lot,

Jérémie

Le lundi 28 août 2017 10:20:05 UTC+2, sesharaju sv a écrit :
Hello Jérémie

I think you have missed to configure the cas-management application in
CAS Server services.  Please do add the CAS Management application URL
in your services registry and try log you should be able to login.

Thanks
Seshu

On 27 August 2017 at 22:27, Jérémie Pilette <[email protected]<javascript:>> 
wrote:
> Hello,
>
> I installed "cas-services-management-overlay".
> When I connect to the url "https://myurl/cas-management";, I have the page
> that indicate :
>
> Application Not Authorized to Use CAS
>
> The services registry of CAS is empty and has no service definitions.
> Applications that wish to authenticate with CAS must explicitly be defined
> in the services registry.
>
>
> Could you help me please ?
>
> ==management.properties==
> # CAS server that management app will authenticate with
> # This server will authenticate for any app (service) and you can login as
> casuser/Mellon
> cas.server.name<http://cas.server.name>: https://myurl
> cas.server.prefix: https://myurl/cas
>
> cas.mgmt.adminRoles=ROLE_ADMIN
> cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties
>
> # Update this URL to point at server running this management app
> cas.mgmt.serverName=https://myurl
>
> server.context-path=/cas-management
> server.port=443
>
> spring.thymeleaf.mode=HTML
> logging.config=file:/etc/cas/config/log4j2-management.xml
>
> ==cas.properties==
> cas.server.name<http://cas.server.name>=https://myurl
> cas.server.prefix=https://myurl/cas
>
> cas.adminPagesSecurity.ip=127\.0\.0\.1
> logging.config=file:/etc/cas/config/log4j2.xml
> # cas.serviceRegistry.config.location: classpath:/services
> cas.authn.accept.users=
>
> Thanks a lot
>
> Jérémie
>
> --
> - 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 [email protected]<javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/dec52428-deaa-4913-ade8-d730f64edd8b%40apereo.org.



--
Venkata S Sadhu (Seshu)
India (Mobile) : +91 7032638062 (WhatsApp)
INDIA
--
- 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 [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e4d827cc-34b3-403e-a9e2-4bfddb3be5e6%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/e4d827cc-34b3-403e-a9e2-4bfddb3be5e6%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/51A30F1B-D504-42B6-9DD5-9C8C51A82671%40wichita.edu.

Reply via email to