You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: config-templates/processFilterConfigurations-example.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ Example how to enable filter AttributeMap:
166
166
Filter is intended to extract an attribute specified by set of keys forming the chain of keys in the `$request` variable into the configured destination attribute.
167
167
168
168
Configuration options:
169
-
*`attr_name`: specifies attribute name, into which the extracted value will be stored
169
+
*`destination_attr_name`: specifies attribute name, into which the extracted value will be stored
170
170
*`request_keys`: string, which contains a semicolon (`;`) separated chain of keys that are examined in the state. Numeric keys are automatically treated as array indexes. For instance, value `'saml:AuthenticatingAuthority;0'` will be treated as code `$request['saml:AuthenticatingAuthority'][0]`. In case of this value being empty, exception is thrown. Otherwise, extracted value is stored into the configured destination attribute.
171
171
*`fail_on_nonexisting_keys`: `true` or `false`, specifies if in case of missing key in the request variable the filter should terminate with an exception or not
172
172
*`default_value`: array, which will be set as default value, if the configured keys did not lead to value
@@ -175,10 +175,10 @@ Configuration options:
175
175
// EXTRACT AUTHENTICATING ENTITY INTO authenticating_idp attribute
@@ -75,9 +75,7 @@ public function process(&$request)
75
75
}
76
76
if (!array_key_exists($key, $value)) {
77
77
Logger::warning(
78
-
self::DEBUG_PREFIX . 'Cannot find key \'' .
79
-
$key . '\' in the supposed path towards the value. Did you configure the right path of keys ' .
80
-
'to extract it?'
78
+
self::DEBUG_PREFIX . 'Cannot find key \'' . $key . '\' in the supposed path towards the value. Did you configure the right path of keys to extract it?'
81
79
);
82
80
if ($this->failOnNonExistingKey) {
83
81
thrownewException(self::DEBUG_PREFIX . 'Specified chain of keys does not exist');
@@ -99,9 +97,9 @@ public function process(&$request)
0 commit comments