public interface Connector
| Modifier and Type | Method and Description |
|---|---|
ServiceFactory |
changePassword(String userName,
String oldPassword,
String newPassword,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenantName)
This method connects to the saperion server, authenticates the given credentials, changes the password and
creates a
ServiceFactory that uses the user context of the given credentials. |
ServiceFactory |
connect(String token,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenantName)
This method connects to the saperion server, authenticates the given credentials and creates a
ServiceFactory that uses the user context of the given credentials. |
ServiceFactory |
connect(String userName,
String password,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenantName)
This method connects to the saperion server, authenticates the given credentials and creates a
ServiceFactory that uses the user context of the given credentials. |
ServiceFactory |
connect(String userName,
String password,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenantName,
String impersonatedUser)
This method connects to the saperion server, authenticates the given credentials and creates a
ServiceFactory that uses the user context of the given credentials. |
ServiceFactory connect(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType, String tenantName) throws com.lexmark.saperion.exceptions.EcmException
ServiceFactory that uses the user context of the given credentials.userName - the name of the userpassword - the password of the userlicenseType - the license usedtenantName - the name of the tenant of the usercom.lexmark.saperion.exceptions.EcmExceptionServiceFactory connect(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType, String tenantName, String impersonatedUser) throws com.lexmark.saperion.exceptions.EcmException
ServiceFactory that uses the user context of the given credentials.userName - the name of the userpassword - the password of the userlicenseType - the license usedtenantName - the name of the tenant of the userimpersonatedUser - the name of the impersonated usercom.lexmark.saperion.exceptions.EcmExceptionServiceFactory connect(String token, com.lexmark.saperion.LicenseEnumeration licenseType, String tenantName) throws com.lexmark.saperion.exceptions.EcmException
ServiceFactory that uses the user context of the given credentials.token - a token retrieved from an authorization servicelicenseType - the license usedtenantName - the name of the tenant of the usercom.lexmark.saperion.exceptions.EcmExceptionServiceFactory changePassword(String userName, String oldPassword, String newPassword, com.lexmark.saperion.LicenseEnumeration licenseType, String tenantName) throws com.lexmark.saperion.exceptions.EcmException
ServiceFactory that uses the user context of the given credentials. For a user that whose
password is expired this is the only option to log in (and change the password) again.userName - the name of the useroldPassword - the old (possibly expired) password of the usernewPassword - the new password of the userlicenseType - the license usedtenantName - the name of the tenant of the usercom.lexmark.saperion.exceptions.EcmExceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.