Hi Andrew,

I'm trying to debug this issue now.  I'm using a simple
'TestCacheManager' class I created that uses HashMaps to back its
caches and I'm no longer seeing the SoftHashMapCache instances created
(as expected).

I've got a debugger set up and I'm now trying to see if/when the cache
put/get methods would be called.  I'll let you know.

- Les

On Mon, Sep 14, 2009 at 4:49 PM, Les Hazlewood <[email protected]> wrote:
> Oops - I had meant to answer this Friday but I forgot.  My apologies.
>
> I'm connecting a debugger to some test cases to find out why the
> SoftHashMapCache might be overwriting your cache.  I'll report back
> what I find hopefully soon.
>
> - Les
>
> On Mon, Sep 14, 2009 at 4:15 PM, Andy Tripp <[email protected]> wrote:
>> Les,
>>
>> I still need some help on this - just some general guidance on where it
>> is that's supposed to be using the Cache to check for session data. My
>> custom
>> Cache's get() and put() methods are never called, and I can try tracking
>> down the problem, but I can't figure out what class should be making
>> these
>> calls.
>>
>> Thanks,
>> Andy
>>
>>> -----Original Message-----
>>> From: Andy Tripp [mailto:[email protected]]
>>> Sent: Tuesday, September 08, 2009 12:02 PM
>>> To: [email protected]
>>> Subject: RE: need help plugging in my own session cache
>>>
>>> Les,
>>>
>>> To workaround the ShiroFilter config problem, I've just overridden
>>> getAuthorizationCache() in my subclass of JdbcRealm. But I still see
>> no
>>> calls to any of the Cache methods.
>>>
>>> I need some help on understanding the "big picture" here. What class
>>> calls the Cache methods to see if the user has a session? I can't seem
>>> to track down any such calls.I tried overriding getAuthorizationInfo()
>>> in my JdbcRealm subclass, but that's never called. I've put tracing in
>>> the default SoftHashMapCache.get() method, and it's never called
>> either.
>>>
>>> Thanks,
>>> Andy
>>
>

Reply via email to