'Keycloak Java API: managing client resources

I can’t figure out how to retrieve the resources under the "Authorization” section within the oidc confidential clients. I need them because I have to delete them and insert them from the code, is that possible? Looking at the Javadocs makes me I think that a ResourceServer object will be containing all of the Resource objects in Keycloak, but how to instantiate them?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source