Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Custom Rule Validation

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Custom Rule Validation


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "" <>, "" <>
  • Subject: RE: [grouper-users] Custom Rule Validation
  • Date: Fri, 24 Mar 2017 17:27:24 +0000
  • Accept-language: en-US
  • Authentication-results: terpmail.umd.edu; dkim=none (message not signed) header.d=none;terpmail.umd.edu; dmarc=none action=none header.from=isc.upenn.edu;
  • Ironport-phdr: 9a23:PoLkbRVI1fxpUEJCN4UHbX39UUTV8LGtZVwlr6E/grcLSJyIuqrYbRGDt8tkgFKBZ4jH8fUM07OQ6PG9HzNdqsfR+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG2oAnLtMQbgYRuJ6IyxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuBKvqQJizY7Ibo+bN/R+caHcfdwGSmROUd1cVzBYAo+gc4cDE/YNMfheooLgp1UOtxy+BQy0Ce/hyDFJhn730rMg0+g5DArLwgwgH8gPsHTPotn+KaAfUeWpw6nIzTTCbu1Z2S3m5YjJaRAuveuAXa9occXPz0kvERnJgUuNpoz4Jj6Y0PkGvWuD7+d4S+6gkXIrpxx0rzSy28sgl4zEhowax1zY6Sl0xYQ4KsO3RUN6ZNOpFYVcuz2HO4duX88vTX1ktDw+x7Ebo5K3YjUGxZA9yxLCafGKco6F6Q/5WumLOzd3nndldaq/hxms9UigzfXxWNGo3VhNsiZJjMDAu20L2RDN88SHTeBy8Vm71TaIygDT9vpLIUcplardNpEt2KYwloAUsUTfACD5hFn2jK6RdkUi4OSo7PnnYqnipp+bMI90iRvyPbgpmsy6Geg4Mw4OUHaH+emkyrHs51H1TKhPg/Erj6XVrZXXJcoUq6KlHwNY14Qu5AiwAjqn1dkVmGcLIE5YdB6fiojmIVDOIPT2DfelhFSslS9mx/XaMb3hApTML2bMkK36cLZ88E5T1BA/zc1H551KDLEBJuj/VVHsu9zFFhM5KRC7w/77CNVh0YMTQW2PArWeMKPPqV+H+PgvL/CRZI8Opjn9MeMl6uXqjX84gl8dYbKp0YUNZHC5GPRmP1uWYWDqgtgfDWcGoBAyQ/L3h12fAnZvYCP4RK41+DAgUduOEYrZXoWkgbjHwSK3WJBaeyoOXkuAGGnpbNzdc+sBcjqXK85l1CEBWf6sR5J3kVnkuxX91qJqNK/J4SACrrri0sR4/eveiUt0+DBpRYzJ3HuKUnl5hCYVXDIsx4h+p1Bw0FGOzfI+jvBFQ499/fRMB00aJIzR1agyINDoWxmLNoOMQ1a3UNi8KTAqRZQs29IIZQBwF8j03UOL5DajH7JAz+/DP5cz6K+Jh3U=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

If you want a scheduled task, and you are in 2.3, you can configure something
in the grouper-loader.properties called "otherJob" which can have a cron
schedule and run like another grouper daemon or loader job or whatever.

However, in 2.2.2, that doesnt exist. Can I suggest just writing a java
program and running it with unix cron command line? :) It would be run
something like this:

java -Xmx500m -classpath
${GROUPER_HOME}/classes:${GROUPER_HOME}/lib/*:/location/to/your.jar
some.package.YourClass

Thanks
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of

Sent: Wednesday, March 08, 2017 2:30 PM
To:

Subject: [grouper-users] Custom Rule Validation

We are currently looking at a rule validation tool for Grouper v2.2.2. This
should run once a day and it would make sure that every folder down a certain
path contains groups X,Y and Z or every group has "these" privileges. If it
doesn't contain one of these, then it will fix it. We were wondering what is
the best way to do this.

The Grouper Rule Consumer uses the changelog and since we want this to run
daily, we may not have an event occurring at the time of day we want this to
occur, the tool should also check for preexisting groups. Would just creating
some grouper rules be the best way to do this?



Archive powered by MHonArc 2.6.19.

Top of Page