<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00009Y0g3DSAROkta Identity EngineAdvanced Server AccessAnswered2020-10-06T00:03:43.000Z2020-09-28T16:05:42.000Z2020-10-06T00:03:43.000Z
custom cache manager implementation with redis cache

I am trying to implement OKTA client with custom cache manager. am using redis cache in project. how do i use redis cache as custom cache manager in okta client creation

oktaClient = Clients.builder()

        .setOrgUrl(oktaDomainURL)

        .setClientCredentials(new TokenClientCredentials(oktaSSWSToken))

        .setConnectionTimeout(0)

        .setCacheManager(cacheManager) //which asking for OKTA cache manager

        .build();

 

Am not sure how to convert or use redis cache in setCacheManager

Can you please guide me to implement the custom cache manager in OKTA


  • Hi Anand, it looks like you're using the Okta Java Management SDK https://github.com/okta/okta-sdk-java From what I can tell, it doesn't look like there are any guides about how to implement the custom cache manager with Redis. I would recommend bringing your question to the GitHub repo and one of the developers there can offer better guidance.

This question is closed.
Loading
custom cache manager implementation with redis cache