Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
9b15fde3
"simplesamlphp-sp" did not exist on "21e5b057ea3da4553e5b0432225fbb5da947c8ff"
Commit
9b15fde3
authored
7 years ago
by
Thijs Kinkhorst
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Improve documentation formatting
parent
dffe63c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/core/docs/authproc_attributevaluemap.md
+12
-11
12 additions, 11 deletions
modules/core/docs/authproc_attributevaluemap.md
with
12 additions
and
11 deletions
modules/core/docs/authproc_attributevaluemap.md
+
12
−
11
View file @
9b15fde3
...
...
@@ -3,17 +3,18 @@
Filter that creates a target attribute based on one or more value(s) in source attribute.
%replace can be used to replace all existing values in target with new ones (any existing values will be lost)
%keep can be used to keep the source attribute, otherwise it will be removed.
Besides the mapping of source values to target values, the filter has the following options:
*
`%replace`
can be used to replace all existing values in target with new ones (any existing values will be lost)
*
`%keep`
can be used to keep the source attribute, otherwise it will be removed.
Examples
--------
Add student affiliation based on LDAP groupmembership
.
Will add eduPersonAffiliation containing value "student" if memberOf attribute contains
either 'cn=student,o=some,o=organization,dc=org' or 'cn=student,o=other,o=organization,dc=org'.
'
memberOf' attribute will be removed (use %keep, to keep it) and existing values in
'eduPersonAffiliation' will be merged (use %replace to replace them).
###
Add student affiliation based on LDAP groupmembership
Will add eduPersonAffiliation containing value "
`
student
`
" if
the
`
memberOf
`
attribute contains
either '
`
cn=student,o=some,o=organization,dc=org
`
' or '
`
cn=student,o=other,o=organization,dc=org
`
'.
The '
`
memberOf
`
' attribute will be removed (use
`
%keep
`
, to keep it) and existing values in
'
`
eduPersonAffiliation
`
' will be merged (use
`
%replace
`
to replace them).
'authproc' => array(
50 => array(
...
...
@@ -29,8 +30,8 @@ either 'cn=student,o=some,o=organization,dc=org' or 'cn=student,o=other,o=organi
),
)
Multiple assignments
.
Add student, employee and both affiliation based on LDAP groupmembership in memberOf attribute.
###
Multiple assignments
Add
`
student
`
,
`
employee
`
and
`
both
`
affiliation based on LDAP groupmembership in
the
`
memberOf
`
attribute.
'authproc' => array(
50 => array(
...
...
@@ -58,8 +59,8 @@ Add student, employee and both affiliation based on LDAP groupmembership in memb
),
)
Replace and Keep
.
Replace any existing 'affiliation' attribute values and keep
'
groups' attribute.
###
Replace and Keep
Replace any existing '
`
affiliation
`
' attribute values and keep
the '
`
groups
`
' attribute.
'authproc' => array(
50 => array(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment