Hi.
Thank you.
I checked it, too. It woked well.
I confirmed the accesstoken remaining while authority server shut down.
By the way, if accesstoken changed in Active Directory, when does the cache manager refresh?
Regards,
Shinichiro Abe
On 2011/04/18, at 10:18, Karl Wright wrote:
> I did some testing on my own and think everything works as expected.
> So I merged the changes into trunk.
>
> Karl
>
> On Sat, Apr 16, 2011 at 5:21 PM, Karl Wright <daddywri@gmail.com> wrote:
>> I fixed a couple of bugs in the cache manager, so if you've already
>> gotten started you'll need to start again.
>>
>> Karl
>>
>> On Sat, Apr 16, 2011 at 5:48 AM, Karl Wright <daddywri@gmail.com> wrote:
>>> The code in the branch is ready to use.
>>> Please bear in mind that there are some core changes too, so you'll
>>> need to build and test the whole thing.
>>>
>>> Thanks!
>>> Karl
>>>
>>> On Thu, Apr 14, 2011 at 8:56 PM, Karl Wright <daddywri@gmail.com> wrote:
>>>> Excellent!
>>>> I've created the branch - it can be found at
>>>> https://svn.apache.org/repos/asf/incubator/lcf/branches/CONNECTORS-32.
>>>> I'll let you know when I think the code is done.
>>>>
>>>> Karl
>>>>
>>>> On Thu, Apr 14, 2011 at 8:03 PM, Shinichiro Abe
>>>> <shinichiro.abe.1@gmail.com> wrote:
>>>>> Hi, Thank you.
>>>>> I'm interested in this arrangement, of course.
>>>>> if you will provide code, I will try to test it in my environment next
week.
>>>>>
>>>>> Shinichiro Abe
>>>>>
>>>>> On 2011/04/14, at 22:23, Karl Wright wrote:
>>>>>
>>>>>> I'm actually working on a ManifoldCF in Action example for caching
for
>>>>>> authority connectors this weekend, so one way or another I'm going
to
>>>>>> be writing caching code very soon. If you are willing to test things
>>>>>> out in your environment, I'm thinking it might make sense to create
a
>>>>>> branch for this ticket, and then I can easily provide code that you
>>>>>> can try out. Are you interested in this arrangement?
>>>>>>
>>>>>> Karl
>>>>>>
>>>>>> On Thu, Apr 14, 2011 at 4:51 AM, Karl Wright <daddywri@gmail.com>
wrote:
>>>>>>> There is a long-standing ticket open for adding such caching,
>>>>>>> CONNECTORS-32. The implementation proposal, as stated in the
ticket,
>>>>>>> would require changes to the AuthorizationResponse object as
well as
>>>>>>> to each individual connector (to signal the lifetime of the cached
>>>>>>> tokens). An alternative architecture would be to implement caching
on
>>>>>>> a per-authority-connector basis, which would be more flexible
but
>>>>>>> require potential duplication of code and structures. Nevertheless,
>>>>>>> I'm leaning toward the latter approach now.
>>>>>>>
>>>>>>> If you are interested in contributing, and you've read Chapter
5 of
>>>>>>> ManifoldCF in Action (which discusses the ManifoldCF caching
>>>>>>> architecture, and is due out in about 2 weeks), you could potentially
>>>>>>> contribute a fix. Are you interested?
>>>>>>>
>>>>>>> Karl
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Apr 14, 2011 at 2:09 AM, Shinichiro Abe
>>>>>>> <shinichiro.abe.1@gmail.com> wrote:
>>>>>>>> Hi.
>>>>>>>> In "mcf-authority-service", can it cache user's accesstoken
for a certain period?
>>>>>>>>
>>>>>>>> As far as I was tested, when I requests to mcf-authority-service
every time, it seemed that it connects authorities(Active Directory) each time.
>>>>>>>> I do not want to request authorities each time(for reducing
load), is there cache mechanism in mcf-authority-service?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Shinichiro Abe
>>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
|