Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] [ldappcng] incremental provisioning : pointInTime ?

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] [ldappcng] incremental provisioning : pointInTime ?


Chronological Thread 
  • From: Tom Zeller <>
  • To: Shilen Patel <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] [ldappcng] incremental provisioning : pointInTime ?
  • Date: Thu, 28 Apr 2011 16:46:34 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=B3j1PKhBQBFXCN46/Meim8r+omEKF/KbAliy7Gm/Mn67MNPCdNqeiFQ94+07LH2xva ud61CuEPjRb2LReoLB2We8zAhbn3te7ZiIIECzgIYimjQTmbWbgaujmSrss3fZdQ2Wgi 0kj+n+AYJmSuaLGjf+DGoGJ2tE1jWV+QyKGVM=

How do I get the time the change occurred from a ChangeLogEntry ?

changeLogEntry.getCreatedOnDb() ?

On Thu, Apr 28, 2011 at 4:39 PM, Shilen Patel
<>
wrote:
> In addition to the group name, you have the group id too since it's in the
> change log, right?  If so, you can use findById(String id, boolean
> exceptionIfNotFound).
>
> Otherwise, I think the "from" and "to" timestamps would be the same and they
> would be the time at which the membership was deleted (which is also in the
> change log).  That would give you the group (by name) at the time the
> membership was deleted.
>
> Thanks!
>
> -- Shilen
>
> On 4/28/11 5:23 PM, Tom Zeller wrote:
>>
>> When processing the grouper changelog, I think I would like to access
>> grouper objects as they were immediately before they were changed. Is
>> that possible ?
>>
>> For example, when provisioning an incremental change
>>
>>  "remove member M from group G"
>>
>> I want the grouper-shibboleth data connectors to return member M and
>> group G as they were at a specific time, that time being immediately
>> before they were changed.
>>
>> I see that PITGroupFinder.findByName() has a timestamp range. I'm not
>> sure what range I would use.
>>
>> Set<PITGroup>  findByName(String name, Timestamp pointInTimeFrom,
>> Timestamp pointInTimeTo,
>>       boolean exceptionIfNotFound, boolean orderByStartTime)
>>
>> Thoughts ?
>>
>> TomZ
>>
>
>



Archive powered by MHonArc 2.6.16.

Top of Page