grouper-users - RE: [grouper-users] Grouper filter question
Subject: Grouper Users - Open Discussion List
List archive
- From: SUN Michael <>
- To: Shilen Patel <>
- Cc: "" <>
- Subject: RE: [grouper-users] Grouper filter question
- Date: Thu, 4 Sep 2014 16:32:25 +0000
- Accept-language: en-GB, en-US
Many thanks to Shilen @ duke.edu ;-) my problem is fixed, steps are as below, just in case anyone find this is useful in the future. (1). Locate sources.xml
/grouper/grouper.apiBinary-2.2.0/conf/sources.xml
Update
<init-param>
<param-name>searchAttribute0</param-name>
<param-value>uun</param-value>
</init-param>
To
<init-param>
<param-name>subjectVirtualAttribute_0_searchAttribute0</param-name>
<param-value>${subjectUtils.defaultIfBlank(subject.getAttributeValue('UUN'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValue('Full Name'),
"")}</param-value> </init-param>
<init-param>
<param-name>searchAttribute0</param-name>
<param-value>searchAttribute0</param-value>
</init-param>
<internal-attribute>searchAttribute0</internal-attribute>
(2). Run
$ ./gsh.sh
gsh 0%
gsh 1% usdu() <-- this may take quite a while! usdu completed successfully
gsh 2%
(3). Rebuild and Redeploy Grouper UI as
cd /grouper/grouper.ui-2.2.0
ant war
cp /grouper/grouper.ui-2.2.0/dist/grouper.war /apache-tomcat-8.0.9/webapps
Thanks, Michael Application Developer The University of Edinburgh From: Shilen Patel [mailto:]
I think you just need to adjust your sources.xml: From: <init-param> <param-name>searchAttribute0</param-name> <param-value>uun</param-value> </init-param> To something like: <init-param> <param-name>subjectVirtualAttribute_0_searchAttribute0</param-name> <param-value>${subjectUtils.defaultIfBlank(subject.getAttributeValue('UUN'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValue('Full Name'),
"")}</param-value> </init-param> <init-param> <param-name>searchAttribute0</param-name> <param-value>searchAttribute0</param-value> </init-param> <internal-attribute>searchAttribute0</internal-attribute> After making the config change, you'll have to refresh the member data in grouper, which can be done by running usdu() using gsh. Let me know if that works? Thanks! -- Shilen From:
SUN Michael <>
|
Scotland, with registration number SC005336.
- [grouper-users] Grouper filter question, SUN Michael, 09/02/2014
- Re: [grouper-users] Grouper filter question, Shilen Patel, 09/02/2014
- RE: [grouper-users] Grouper filter question, SUN Michael, 09/04/2014
- Re: [grouper-users] Grouper filter question, Shilen Patel, 09/02/2014
Archive powered by MHonArc 2.6.16.