Hi all, Caching for user core has been implemented for the identity store and for the authorization store. Credential store has been opted out from caching because we do not cache user credentials as a practice. For the identity store and for the authorization store, following caches have been added.
Identity Store: - USER_USERNAME - Store user using username. - USER_USERID - Store user using user id. - GROUP_GROUPNAME - Store group using group name. - GROUP_GROUPID - Store group using group id. - GROUPS_USERID_IDENTITYSTOREID - Store set of groups using user id and the identity store id. Authorization Store: - ROLE_ROLENAME - Store role using role name. - ROLES_USERID_IDENTITYSTOREID - Store set of roles using user id and the identity store id. - ROLES_GROUPID_IDENTITYSTOREID - Store set of roles using group id and the identity store id. - PERMISSION_REOURCEID_ACTION - Store pemision using resource id and the action. - PERMISSIONS_ROLEID_AUTHORIZATIONSTOREID - Store set of permissions using role id and the authorization store id. The rationale behind choosing above caches is the frequency of use. User, Group, Role and Permissions related operations are the more frequently used operations in the user core. Please share your thoughts. Thanks! *Jayanga Kaushalya* Software Engineer Mobile: +94777860160 WSO2 Inc. | http://wso2.com lean.enterprise.middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
