Skip to content

Commit 05ea8a8

Browse files
committed
Allow attributes config item to be set per SP
1 parent b67bc3f commit 05ea8a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/module_casserver.php.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ $config = [
2626
'https://host2.domain:5678/path2/path3',
2727
// So is regex
2828
'|^https://.*\.domain.com/|',
29-
// ONLY the FOLLOWING configuration options can be overridden
29+
// ONLY the FOLLOWING configuration options can be overridden. See OverrideConfigPropertiesEnum.
3030
'https://override.example.com' => [
3131
'attrname' => 'uid',
3232
'attributes_to_transfer' => ['cn'],
33+
//'attributes' => false,
3334
//'authproc' => [],
3435
//'service_ticket_expire_time' => 5,
3536
],

src/Codebooks/OverrideConfigPropertiesEnum.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
enum OverrideConfigPropertiesEnum: string
88
{
9+
case Attributes = 'attributes';
910
case Attrname = 'attrname';
1011
case AttributesToTransfer = 'attributes_to_transfer';
1112
case Authproc = 'authproc';

0 commit comments

Comments
 (0)