grouper-users - [grouper-users] PSP : using string value attribute
Subject: Grouper Users - Open Discussion List
List archive
- From: Gagné Sébastien <>
- To: <>
- Subject: [grouper-users] PSP : using string value attribute
- Date: Wed, 23 Jan 2013 13:02:52 -0500
Hi, How can I set a group attribute to be a single constant string value ? Our use case is for always setting the Active Directory groupType attribute to “Universal” instead of the default “Global” value. Right now I did it using a dummy script (see below), but there must be a way to simply define to define something like “<attribute name="groupType" value="-2147483646" />” Thanks In psp.xml : <attribute name="groupType" /> Which references a script attribute in psp-resolver.xml : <resolver:AttributeDefinition id="groupType" xsi:type="ad:Script"> <ad:Script><![CDATA[ // Import Shibboleth attribute provider. importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider); // Create the attribute to be returned. groupType = new BasicAttribute("groupType"); groupType.getValues().add("-2147483646"); ]]></ad:Script> </resolver:AttributeDefinition> Sébastien Gagné, | Analyste en informatique 514-343-6111 x33844 | Université de Montréal, | Pavillon Roger-Gaudry, local X-100-11 |
- [grouper-users] PSP : using string value attribute, Gagné Sébastien, 01/23/2013
- Re: [grouper-users] PSP : using string value attribute, Tom Zeller, 01/23/2013
- RE: [grouper-users] PSP : using string value attribute, Gagné Sébastien, 01/24/2013
- Re: [grouper-users] PSP : using string value attribute, Tom Zeller, 01/23/2013
Archive powered by MHonArc 2.6.16.