Add CAS sample

Closes #125
This commit is contained in:
Marcus Da Coregio
2023-03-03 13:38:40 -03:00
parent c7f379e13a
commit f27d800bcf
18 changed files with 845 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
version: '3.8'
networks:
samples:
driver: bridge
services:
cas:
image: apereo/cas:6.6.6
container_name: cas
restart: always
ports:
- "8090:8080"
command: >
--cas.standalone.configuration-directory=/etc/cas/config
--server.ssl.enabled=false
--server.port=8080
--cas.service-registry.core.init-from-json=true
--cas.service-registry.json.location=file:/etc/cas/services
volumes:
- ./services/http-1.json:/etc/cas/services/http-1.json
networks:
- samples

View File

@@ -0,0 +1,8 @@
{
"@class": "org.apereo.cas.services.CasRegisteredService",
"serviceId": "^(https?)://.*",
"name": "HTTP/HTTPS",
"id": 1,
"description": "This service definition authorizes all application urls that support HTTP and HTTPS protocols.",
"evaluationOrder": 10000
}