public UserInstance getUserInstance(String userInstanceUriId) throws SOAException { String rsUri = getBASE_URI() + "getUserInstance"; UserManagementAndSecurityModule userManagementAndSecurityModule = JAXRSClientFactory.create(rsUri, UserManagementAndSecurityModule.class); UserInstance userInstance = userManagementAndSecurityModule.getUserInstance(userInstanceUriId); logger.debug("userInstance: " + userInstance); return userInstance; }
public List<UserPaaSCredentials> readAllUserCredentialsForPaaS(String userInstanceUriId) throws SOAException { String rsUri = getBASE_URI(); UserManagementAndSecurityModule userManagementAndSecurityModule = JAXRSClientFactory.create(rsUri, UserManagementAndSecurityModule.class); List<UserPaaSCredentials> readAllUserCredentialsForPaaS = userManagementAndSecurityModule.readAllUserCredentialsForPaaS(userInstanceUriId); return readAllUserCredentialsForPaaS; }