public class AdminUsersClient extends NodeManagerClient
debug| Constructor and Description |
|---|
AdminUsersClient(ConnectionContext cc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.vordel.api.adminusers.model.AdminUserStore |
getAdminUserStore() |
com.vordel.domain.rbac.AdminUsersVersion |
getAdminUsersVersion()
Gets the AdminUsersVersion by via the rest API
|
void |
resetOwnPassword(java.lang.String newPassword)
This method calls the Admin Users REST API in the Node Manager
to reset the password of the logged in user.
|
com.vordel.security.password.PasswordStatus |
strongPassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
Check if a given password matches the Node Managers password policy
|
com.vordel.api.adminusers.model.AdminUserStore |
updateAdminUserStore(com.vordel.api.adminusers.model.AdminUserStore adminUserStore,
boolean propagateStore)
Use to update the Admin User Store
|
createConnectionContext, createConnectionContext, createConnectionContext, getRootWebResource, getUrl, handleError, logDebug, path, setConnectTimeout, setDebug, setReadTimeoutpublic AdminUsersClient(ConnectionContext cc) throws NodeManagerAPIException
cc - The ConnectionContext, encapsulating all connectivity details to the Node ManagerNodeManagerAPIException - If the client could not be instantiated.public void resetOwnPassword(java.lang.String newPassword)
throws NodeManagerAPIException
newPassword - The new pasword.NodeManagerAPIException - If the new password cannot be set.public com.vordel.domain.rbac.AdminUsersVersion getAdminUsersVersion()
throws NodeManagerAPIException
NodeManagerAPIException - If the version cannot be determined.public com.vordel.api.adminusers.model.AdminUserStore getAdminUserStore()
throws NodeManagerAPIException
NodeManagerAPIExceptionpublic com.vordel.api.adminusers.model.AdminUserStore updateAdminUserStore(com.vordel.api.adminusers.model.AdminUserStore adminUserStore,
boolean propagateStore)
throws NodeManagerAPIException
adminUserStore - The updated AdminUserStorepropagateStore - Set this to true if the Admin Node Manager should propagate the store to other Node ManagersNodeManagerAPIException - If update failedpublic com.vordel.security.password.PasswordStatus strongPassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
throws NodeManagerAPIException
userName - The user whose new password is for verificationoldPassword - The old password for verificationnewPassword - The new password to see if it conforms to password policyNodeManagerAPIException - If the passwords strength could not be evaluated
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel