public class AdminUsersClient
extends com.vordel.api.nm.NodeManagerClient
| Constructor and Description |
|---|
AdminUsersClient(java.lang.String url,
java.lang.String username,
java.lang.String password,
boolean debug)
Constructor.
|
AdminUsersClient(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String trustStoreFilename,
java.lang.String trustStorePassword,
boolean debug)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.vordel.api.adminusers.model.AdminUserStore |
getAdminUserStore() |
com.vordel.api.adminusers.model.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(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String trustStoreFilename,
java.lang.String trustStorePassword,
boolean debug)
throws com.vordel.api.nm.NodeManagerAPIException
url - The Node Manager URL, e.g. https://localhost:8090/api.username - The usernamepassword - The passwordtrustStoreFilename - SSL trust storetrustStorePassword - SSL trust store passworddebug - Debug trace on/offcom.vordel.api.nm.NodeManagerAPIExceptionpublic AdminUsersClient(java.lang.String url,
java.lang.String username,
java.lang.String password,
boolean debug)
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.NodeManagerAPIExceptionpublic void resetOwnPassword(java.lang.String newPassword)
throws com.vordel.api.nm.NodeManagerAPIException
newPassword - The new pasword.com.vordel.api.nm.NodeManagerAPIExceptionpublic com.vordel.api.adminusers.model.AdminUsersVersion getAdminUsersVersion()
throws com.vordel.api.nm.NodeManagerAPIException
com.vordel.api.nm.NodeManagerAPIExceptionpublic com.vordel.api.adminusers.model.AdminUserStore getAdminUserStore()
throws com.vordel.api.nm.NodeManagerAPIException
com.vordel.api.nm.NodeManagerAPIExceptionpublic 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.NodeManagerAPIExceptionpublic 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