Skip to content
Snippets Groups Projects
Commit 603020c1 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Deprecate the core:AttributeRealm module.

`core:ScopeFromAttribute` is a generalised version of this.

Closes: #512
parent 411993d3
No related branches found
No related tags found
No related merge requests found
......@@ -767,9 +767,6 @@ $config = array(
// Adopts language from attribute to use in UI
30 => 'core:LanguageAdaptor',
/* Add a realm attribute from edupersonprincipalname
40 => 'core:AttributeRealm',
*/
45 => array(
'class' => 'core:StatisticsWithAttribute',
'attributename' => 'realm',
......
......@@ -50,7 +50,6 @@ The configuration of *Auth Proc Filters* is a list of filters with priority as *
'addurnprefix'
),
20 => 'core:TargetedID',
40 => 'core:AttributeRealm',
50 => 'core:AttributeLimit',
90 => array(
'class' => 'consent:Consent',
......@@ -112,7 +111,7 @@ Filters can be added both in `hosted` and `remote` metadata. Here is an example
'certificate' => 'example.org.crt',
'auth' => 'feide',
'authproc' => array(
40 => 'core:AttributeRealm',
40 => 'preprodwarning:Warning',
),
)
......@@ -132,7 +131,7 @@ The following filters are included in the SimpleSAMLphp distribution:
- [`core:AttributeAlter`](./core:authproc_attributealter): Do search-and-replace on attributevalues.
- [`core:AttributeLimit`](./core:authproc_attributelimit): Limit the attributes in the response.
- [`core:AttributeMap`](./core:authproc_attributemap): Change the name of the attributes.
- [`core:AttributeRealm`](./core:authproc_attributerealm): Create an attribute with the realm of the user.
- [`core:AttributeRealm`](./core:authproc_attributerealm): (deprecated) Create an attribute with the realm of the user.
- [`core:GenerateGroups`](./core:authproc_generategroups): Generate a `group` attribute for the user.
- [`core:LanguageAdaptor`](./core:authproc_languageadaptor): Transfering language setting from IdP to SP.
- [`core:PHP`](./core:authproc_php): Modify attributes with custom PHP code.
......
`core:AttributeRealm`
=====================
*NOTE:* This filter has been deprecated and will be removed in a future release. Please use
`core:ScopeFromAttribute` instead.
This filter creates a new attribute with the realm of the user.
The new attribute is names `realm` by default, but can be controlled by the `attributename` option.
......
......@@ -6,6 +6,7 @@
*
* @author Andreas Åkre Solberg, UNINETT AS.
* @package SimpleSAMLphp
* @deprecated Use ScopeFromAttribute instead.
*/
class sspmod_core_Auth_Process_AttributeRealm extends SimpleSAML_Auth_ProcessingFilter {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment