cas-eleves/cas_eleves/fixtures/patterns.json

146 lines
2.9 KiB
JSON

[
{
"model": "cas_server.servicepattern",
"pk": 1,
"fields": {
"pos": 100,
"name": "ENS-PSL",
"pattern": "^https?://[a-z0-9.\\-]+\\.ens\\.(fr|psl\\.eu)(/.*)?$",
"user_field": "",
"restrict_users": false,
"proxy": false,
"proxy_callback": false,
"single_log_out": false,
"single_log_out_callback": ""
}
},
{
"model": "cas_server.servicepattern",
"pk": 2,
"fields": {
"pos": 100,
"name": "ENS related groups",
"pattern": "^https?://([a-z0-9.\\-]+\\.)?(dgnum\\.(fr|eu)|hackens\\.org)(/.*)?$",
"user_field": "",
"restrict_users": false,
"proxy": false,
"proxy_callback": false,
"single_log_out": false,
"single_log_out_callback": ""
}
},
{
"model": "cas_server.servicepattern",
"pk": 3,
"fields": {
"pos": 90,
"name": "localhost",
"pattern": "^https?://(127\\.0\\.0\\.1|localhost)(:\\d+)?(/.*)?$",
"user_field": "",
"restrict_users": false,
"proxy": false,
"proxy_callback": false,
"single_log_out": false,
"single_log_out_callback": ""
}
},
{
"model": "cas_server.replaceattributname",
"pk": 1,
"fields": {
"name": "mail",
"replace": "email",
"service_pattern": 1
}
},
{
"model": "cas_server.replaceattributname",
"pk": 2,
"fields": {
"name": "cn",
"replace": "",
"service_pattern": 1
}
},
{
"model": "cas_server.replaceattributname",
"pk": 3,
"fields": {
"name": "homeDirectory",
"replace": "",
"service_pattern": 1
}
},
{
"model": "cas_server.replaceattributname",
"pk": 4,
"fields": {
"name": "gecos",
"replace": "name",
"service_pattern": 1
}
},
{
"model": "cas_server.replaceattributname",
"pk": 5,
"fields": {
"name": "gecos",
"replace": "name",
"service_pattern": 2
}
},
{
"model": "cas_server.replaceattributname",
"pk": 6,
"fields": {
"name": "mail",
"replace": "email",
"service_pattern": 2
}
},
{
"model": "cas_server.replaceattributname",
"pk": 7,
"fields": {
"name": "cn",
"replace": "",
"service_pattern": 2
}
},
{
"model": "cas_server.replaceattributname",
"pk": 8,
"fields": {
"name": "homeDirectory",
"replace": "",
"service_pattern": 2
}
},
{
"model": "cas_server.replaceattributname",
"pk": 9,
"fields": {
"name": "gecos",
"replace": "name",
"service_pattern": 3
}
},
{
"model": "cas_server.replaceattributname",
"pk": 10,
"fields": {
"name": "mail",
"replace": "email",
"service_pattern": 3
}
},
{
"model": "cas_server.replaceattributname",
"pk": 11,
"fields": {
"name": "*",
"replace": "",
"service_pattern": 3
}
}
]