maggiomj
maggiomj

Reputation: 174

WSO2IS 5.3.0 - identity claims caching

I believe I am seeing some caching of the identity claims in my application, which is using WSO2IS 5.3.0 . When an identity claim is changed via UserStoreManager.setUserClaimValues (for example, http://wso2.org/claims/identity/accountDisabled ) , it takes some time for that change to be reflected in subsequent calls to UserStoreManager.getUserClaimValues

I've searched for the configuration mentioned here https://docs.wso2.com/display/IS530/Configuring+Cache+Layers but don't see that in our setup. I'm also not seeing any other configuration that I could attribute to this behavior.

Looking for an explanation, thanks in advance.

Upvotes: 1

Views: 158

Answers (1)

maggiomj
maggiomj

Reputation: 174

Copying this out from my comment

For others' reference, the identity claims are managed by the configured IdentityUserStore, the configuration of which can be found by this line in conf/identity/identity-mgt.properties Identity.Mgt.User.Data.Store=org.wso2.carbon.identity.mgt.store.JDBCIdentityDataStore

(JDBCIdentityDataStore does do some amount of caching to prevent unnecessary DB hits, and does invalidate that cache upon writing)

Upvotes: 0

Related Questions