User Management
The Java SDK lets you create users, assign them roles and associated privileges, and remove them from the system.
User-Management APIs
Users who have been assigned the Admin role for the cluster are able to create, edit, and remove users. The Java SDK provides APIs to support these activities. A high-level summary of the APIs can be found in User-Management, and details of all options in the UserManager API docs.
Using the UserManager API
The most common uses of the UserManager
API are creating and listing users:
Unresolved include directive in modules/howtos/pages/sdk-user-management-example.adoc - include::example$UserManagementExample.java[]
Unresolved include directive in modules/howtos/pages/sdk-user-management-example.adoc - include::example$UserManagementExample.java[]
Using a user created in the SDK to access data:
Unresolved include directive in modules/howtos/pages/sdk-user-management-example.adoc - include::example$UserManagementExample.java[]
Further Reading
The SDK also contains management APIs for dealing with Cluster resources.