How to get password policy and expiry from okta using java sdk?

Hi All,

How to get password policy and expiry in okta using the sdk in Spring.

I could able to get the policy by using the API. But I could not able to find any java code related to this. https://developer.okta.com/docs/api/resources/policy

Any inputs would be appreciated.

@tittuvarghese1409 The Java SDK doesn’t have built-in support for managing policies yet. It’s something we’ll definitely be adding. In the mean time, you’d have to make a raw HTTP call for this particular API.