public class AdminUsersClient
extends com.vordel.api.nm.NodeManagerClient
Constructor and Description |
---|
AdminUsersClient(com.vordel.api.nm.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
|
public AdminUsersClient(com.vordel.api.nm.ConnectionContext cc) throws com.vordel.api.nm.NodeManagerAPIException
url
- The Node Manager URL, e.g. https://localhost:8090/api.username
- The usernamepassword
- The passworddebug
- Debug trace on/offcom.vordel.api.nm.NodeManagerAPIException
public void resetOwnPassword(java.lang.String newPassword) throws com.vordel.api.nm.NodeManagerAPIException
newPassword
- The new pasword.com.vordel.api.nm.NodeManagerAPIException
public com.vordel.domain.rbac.AdminUsersVersion getAdminUsersVersion() throws com.vordel.api.nm.NodeManagerAPIException
com.vordel.api.nm.NodeManagerAPIException
public com.vordel.api.adminusers.model.AdminUserStore getAdminUserStore() throws com.vordel.api.nm.NodeManagerAPIException
com.vordel.api.nm.NodeManagerAPIException
public com.vordel.api.adminusers.model.AdminUserStore updateAdminUserStore(com.vordel.api.adminusers.model.AdminUserStore adminUserStore, boolean propagateStore) throws com.vordel.api.nm.NodeManagerAPIException
adminUserStore
- The updated AdminUserStorepropagateStore
- Set this to true if the Admin Node Manager should propagate the store to other Node Managerscom.vordel.api.nm.NodeManagerAPIException
public com.vordel.security.password.PasswordStatus strongPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword) throws com.vordel.api.nm.NodeManagerAPIException
userName
- The user whose new password is for verificationnewPassword
- The old password for verificationnewPassword
- The new password to see if it conforms to password policycom.vordel.api.nm.NodeManagerAPIException
This documentation and all its contents and graphics, copyright � 1999 - 2011 Vordel