Hi Prabath,

Currently only the methods available in the Caching implementation are used
to clear the cache with in the other methods of UserStoreManager - like
deleteRole, updateRole etc..

I will add methods to UserAdminService to be called externally to clear
AuthorizationCache and the UserRoleCache, as discussed offline.

Thanks for pointing out the requirement.

Thanks,
Hasini.

On Tue, Sep 20, 2011 at 5:47 PM, Prabath Siriwardena <[email protected]>wrote:

> Hi Hasini,
>
> Do we have an API to clear the cache..?
>
> Thanks & regards,
> -Prabath
>
> On Tue, Sep 20, 2011 at 5:13 PM, Hasini Gunasinghe <[email protected]>
> wrote:
> > Hi,
> > FYI.
> > $subject was implemented in all three UserStoreManagers in user core,
> since
> > there were occasions where performance issues occurred due to fetching
> user
> > roles from the user store for each authorization decision of the same
> user.
> > By default, UserRolesCache is enabled and if some one wants to disable
> it,
> > following configuration parameter is added to user-mgt.xml.
> > <Property name="UserRolesCacheEnabled">true</Property>
> > One may wants to disable the above, if user roles are modified by
> external
> > means other than through carbon UI and want those modifications to be
> > reflected in carbon server immediately.
> > related jira:
> > [1] https://wso2.org/jira/browse/CARBON-11073
> > Thanks,
> > Hasini.
> >
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to