Hi, We are leveraging geode security-manager implementation for authentication/authz for authentication we use active directory and for Authorization we have roles like DATA:READ etc in database. Now we would like to store those roles into geode regions itself to avoid operational overhead of keeping roles into database. My question is if we create a geode region like say Roles and store the roles there then how should we go about accessing those roles? Use ClientCacheFactory to get roles or Functions since this will run on server side. I am not sure as I have not tried this it may work or not but in the init () method I can put the logic to initialize ClientCache and then proceed further. Also I should have the ability to pickup the roles on the fly if a new role is added.
Or try something like this in init() method. CacheFactory.getAnyInstance().createClientRegionFactory(ClientRegionShortcut.PROXY).create("region-name") Thoughts? Thanks, Ashish