Commit 2e136305 authored by naji's avatar naji
Browse files

create pastis app in cas db

parent 50f156aa
db = db.getSiblingDB('cas')
print("START 220_cas_services_pastis_ref.js");
var nbInsert = db.services.insert({
"_id" : NumberInt(7),
"_class": "org.apereo.cas.services.RegexRegisteredService",
{% if vitamui.pastis.base_url is defined %}
"serviceId": "^{{ vitamui.pastis.base_url }}/.*",
{% else %}
"serviceId": "^{{ url_prefix }}/pastis/.*",
{% endif %}
"name": "Pastis Application",
"logoutType" : "FRONT_CHANNEL",
{% if vitamui.pastis.base_url is defined %}
"logoutUrl": "{{ vitamui.pastis.base_url }}/logout",
{% else %}
"logoutUrl": "{{ url_prefix }}/pastis/logout",
{% endif %}
"attributeReleasePolicy": {
"_class": "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
}
});
print("inserted: " + nbInsert);
print("END 220_cas_services_pastis_ref.js");
......@@ -17,8 +17,8 @@ server:
scheme: https
ssl:
key-store: ../../dev-deployment/environments/keystores/server/localhost/keystore_ui-pastis.jks
key-store-password: BDjtZqdOx5obBkAsFpQ97zV92m3Ov1xA37oq2C4WkdwFW8kP
key-password: BDjtZqdOx5obBkAsFpQ97zV92m3Ov1xA37oq2C4WkdwFW8kP
key-store-password: changme
key-password: changeme
servlet.session.cookie.path: /pastis-api
management:
server:
......@@ -47,7 +47,7 @@ ui-pastis:
ssl-configuration:
keystore:
key-path: ../../dev-deployment/environments/keystores/server/localhost/keystore_ui-pastis.jks
key-password: BDjtZqdOx5obBkAsFpQ97zV92m3Ov1xA37oq2C4WkdwFW8kP
key-password: changeme
type: JKS
truststore:
key-path: ../../dev-deployment/environments/keystores/server/truststore_server.jks
......@@ -60,7 +60,7 @@ ui-pastis:
ssl-configuration:
keystore:
key-path: ../../dev-deployment/environments/keystores/server/localhost/keystore_ui-pastis.jks
key-password: BDjtZqdOx5obBkAsFpQ97zV92m3Ov1xA37oq2C4WkdwFW8kP
key-password: changeme
type: JKS
truststore:
key-path: ../../dev-deployment/environments/keystores/server/truststore_server.jks
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment