Skip to content

Commit 6011cbe

Browse files
committed
Update default configuration.
Take into account specific ECAS parameters.
1 parent a6fcd7d commit 6011cbe

File tree

1 file changed

+50
-9
lines changed

1 file changed

+50
-9
lines changed

Resources/config/packages/dev/cas_bundle.yaml

+50-9
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,51 @@ cas:
77
- service
88
- renew
99
- gateway
10+
- acceptStrengths
1011
default_parameters:
12+
# Comma separated list of user strengths: PASSWORD, MOBILE_APP, PASSWORD_SMS, PASSWORD_TOKEN, PASSWORD_TOKEN_CRAM, PASSWORD_SOFTWARE_TOKEN, PASSWORD_MOBILE_APP, CLIENT_CERT, BASIC
13+
# For a mock-up server, use BASIC, default is PASSWORD.
14+
acceptStrengths: "PASSWORD"
15+
# Redirect the user to this path or URL after authentication.
16+
# This could be an URL or a Symfony route.
1117
service: cas_bundle_homepage
1218
serviceValidate:
1319
allowed_parameters:
14-
- service
15-
- ticket
20+
- assuranceLevel
21+
- format
22+
- groups
1623
- pgtUrl
1724
- renew
18-
- format
19-
- userDetails
25+
- service
26+
- ticket
2027
- ticketTypes
21-
path: /serviceValidate
28+
- userDetails
29+
# Could be /serviceValidate, /strictValidate, /interinstitutionalValidate, /sponsorValidate, /laxValidate
30+
# Make sure to read the "ECAS Client Installation and Configuration Guide - Advanced.pdf" before changing those parameters.
31+
path: /laxValidate
2232
default_parameters:
23-
userDetails: "true"
33+
# Type of assurance level: TOP, HIGH, MEDIUM, LOW
34+
# Default is TOP.
35+
assuranceLevel: "LOW"
36+
# Do not change this parameter, it won't work with ECAS.
2437
format: XML
38+
# Allowed user groups. "*" means all the groups.
39+
groups: "*"
40+
# Enable proxy authentication by setting this parameter.
41+
# Make sure you know what you're doing if you change this parameter.
2542
#pgtUrl: cas_bundle_proxy_callback
43+
# Comma separated list of allowed ticket types: SERVICE, DESKTOP, PROXY.
44+
# Default is SERVICE,PROXY
45+
ticketTypes: "SERVICE,PROXY"
46+
# Boolean. If true, all the user fields will be retrieved from ECAS.
47+
userDetails: "true"
2648
logout:
2749
path: /logout
2850
allowed_parameters:
2951
- service
3052
default_parameters:
53+
# Redirect the user to this path or URL after logout.
54+
# This could be an URL or a Symfony route.
3155
service: cas_bundle_homepage
3256
proxy:
3357
path: /proxy
@@ -37,12 +61,29 @@ cas:
3761
proxyValidate:
3862
path: /proxyValidate
3963
allowed_parameters:
64+
- assuranceLevel
65+
- format
66+
- groups
67+
- pgtUrl
68+
- renew
4069
- service
4170
- ticket
71+
- ticketTypes
4272
- userDetails
43-
- pgtUrl
44-
- format
73+
- userStrengths
4574
default_parameters:
46-
userDetails: "true"
75+
# Type of assurance level: TOP, HIGH, MEDIUM, LOW
76+
# Default is LOW.
77+
assuranceLevel: "LOW"
78+
# Do not change this parameter, it won't work with ECAS.
4779
format: XML
80+
# Allowed user groups. "*" means all the groups.
81+
groups: "*"
82+
# Enable proxy authentication by setting this parameter.
83+
# Make sure you know what you're doing if you change this parameter.
4884
#pgtUrl: cas_bundle_proxy_callback
85+
# Comma separated list of allowed ticket types: SERVICE, DESKTOP, PROXY.
86+
# Default is SERVICE,PROXY
87+
ticketTypes: "SERVICE,PROXY"
88+
# Boolean. If true, all the user fields will be retrieved from ECAS.
89+
userDetails: "true"

0 commit comments

Comments
 (0)