Subject: Grouper Users - Open Discussion List
- From: Chris Hyzer <>
- To: "" <>, "" <>
- Subject: RE: Re: [grouper-users] RE: Unix GID's in Grouper
- Date: Fri, 28 May 2010 12:07:19 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
I think this document should answer all your questions:
> What I don't understand is where I have to register the UnixGroupHook.java
> in my grouper.properties
Anywhere, preferably where the hooks examples are commented out, just do
something like this:
Note if you have multiple, they must be comma separated on the same line, you
cant define multiple properties in a properties file with the same name or
they will overwrite
> and where and how I should call the setUnixGroupId function.
In the example you see: group.setAttribute("gid", "2");
Instead of that, you want to run your query, something like this:
String sequenceNumber =
"select some_col from some_table");
> Where do I have to define the groupPostInsert? I couldn't find anything in
> the documentation about this.
That method is in the UnixGroupHook
Feel free to write back to the list, we will get this working (though I will
be out for a few days).
Sent: Friday, May 28, 2010 6:32 AM
Subject: Re: Re: [grouper-users] RE: Unix GID's in Grouper
I don't want to misuse the documentation feedback thread with this, so I'm
using this old thread:
Mirko Tasler wrote:
> Here's a solution. It is for Grouper 1.4, but should work with 1.5 too:
> To use this class, create table, sequence, group type as stated in the
> comments, > then call public static void setUnixGroupId(Group group) from
> your Hook in groupPostInsert and groupPostUpdate.
I created a database table with an auto-increment gid field and a new
groupType for unix groups. What I don't understand is where I have to
register the UnixGroupHook.java in my grouper.properties and where and how I
should call the setUnixGroupId function. Where do I have to define the
groupPostInsert? I couldn't find anything in the documentation about this.
- Re: Re: [grouper-users] RE: Unix GID's in Grouper, dirk . kastens, 05/28/2010
- RE: Re: [grouper-users] RE: Unix GID's in Grouper, Chris Hyzer, 05/28/2010
- Re: Re: [grouper-users] RE: Unix GID's in Grouper, tasler, 05/28/2010
Archive powered by MHonArc 2.6.16.