grouper-users - Re: [grouper-users] Grouper 2.2.2 PSP and baseStem
Subject: Grouper Users - Open Discussion List
List archive
- From: Scott Koranda <>
- To: Andrew Morgan <>
- Cc: grouper-users <>
- Subject: Re: [grouper-users] Grouper 2.2.2 PSP and baseStem
- Date: Thu, 12 Jan 2017 18:19:02 -0600
- Ironport-phdr: 9a23:RiMA8RSov+0GvYlcPwYOck6j49psv+yvbD5Q0YIujvd0So/mwa6ybRaN2/xhgRfzUJnB7Loc0qyN4vymAjVLu8jJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/fu8ULjoduNKc8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaLDMy7n3ZhdJsg6JauBKhpgJww4jIYIGOKfFyerrRcc4GSWZdW8pcUTFKDIGhYIsVF+cPM+ZWoZfgqVUNoxuxChWjC/7txTBGnXL2wbE23v49HQ3axgEsAdQDu2nUotXvM6cSVPi4wrTUwjXEc/NWxSr25o3PchA7u/6MW69/ftDMwkQoDAPFjVKQqZb/MDOTy+sCqXOW7+VlVe21im4nrxt9rSSoxscpk4TEgJ8exF7D9SV82ok1JNu4RVZgYd6kEZtfrDqVN4xyQsw8X2FouDw2yrsYtp6neiUB1ZcpxwbHZvCZcoWE/hDuWeOfITp7n31pZLeyihmu/US81+HxU9W73EpLoydAl9TAqH4A2wLL5sWFSvZx5ESs1DeV2wzO5exIP1o4mbfFJ5I9xLM7i4Advl7ZHiDsnUX7lK+WeVsg+uiv8+nnZ6/ppp6YN4NtiwH+NbgiltWwAOgmPAUCQXKX+eu71L3k8k35RKtFgucqnanetZDWPcUbpqinDA9Jyosv9ReyAyuk3dkdk3kKL0lKdA6CgoXmJ13CPO30APKjjFiwkTpmwvXLMqPvD5nTNnTDla3ufbd5605S0gozytVf6opPCrECJ/LzQFX+tNrFARAjKAG0zOPnB8981oMaQ26AHqiZMKbKvV+S+u0vO/WMZJMSuDvlJPgl/fnujWIhmVADZ6mlxIYXaGumEfR8OEWUen7sgtYaEWcWpQoyUvbmiFyEUT5PeXmyRaQ86S8nCI64F4vMWJ2igKHSlBu8S7RQanpLFRipFm3nfoPMD/ILci2bJOdmiCcYE7WtVtly+wupsVrBwL17MqL3/TcRs57qnIxu5OrJnBc+/BR7Cs2c1yeGSGQizTBAfCM/wK0q+R818VyEy6UtxqUATdE=
> >I am attempting now to extend the MemberDataConnector to
> >include filtering.
Got it.
For the archives, I edited psp-resolver.xml and changed
<resolver:AttributeDefinition
id="memberIsMemberOf"
xsi:type="grouper:Group"
sourceAttributeID="groups">
<resolver:Dependency ref="MemberDataConnector" />
<grouper:Attribute id="name" />
</resolver:AttributeDefinition>
to be (just changed the id value)
<resolver:AttributeDefinition
id="memberIsMemberOfUnfiltered"
xsi:type="grouper:Group"
sourceAttributeID="groups">
<resolver:Dependency ref="MemberDataConnector" />
<grouper:Attribute id="name" />
</resolver:AttributeDefinition>
and then added
<resolver:AttributeDefinition
id="memberIsMemberOf"
xsi:type="Mapped" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
sourceAttributeID="name">
<resolver:Dependency ref="memberIsMemberOfUnfiltered" />
<ValueMap>
<ReturnValue>$1</ReturnValue>
<SourceValue>(^My\sStem:.+)</SourceValue>
</ValueMap>
</resolver:AttributeDefinition>
I am sure there are other ways of doing the same. Note that the above
uses the Mapped AttributeDefinition directly from the Shibboleth IdP
V2 libraries/classes, upon which the PSP was built, so you can follow
the documentation at
https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAddAttribute
Thanks,
Scott K
- [grouper-users] Grouper 2.2.2 PSP and baseStem, Scott Koranda, 01/12/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Andrew Morgan, 01/12/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Scott Koranda, 01/12/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Andrew Morgan, 01/13/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Scott Koranda, 01/13/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Andrew Morgan, 01/13/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Scott Koranda, 01/12/2017
- Re: [grouper-users] Grouper 2.2.2 PSP and baseStem, Andrew Morgan, 01/12/2017
Archive powered by MHonArc 2.6.19.