public interface Connector
Modifier and Type | Method and Description |
---|---|
ServiceFactory |
changePassword(String userName,
String oldPassword,
String newPassword,
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 userName,
String password,
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, LicenseEnumeration licenseType, String tenantName) throws 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 userEcmException
ServiceFactory changePassword(String userName, String oldPassword, String newPassword, LicenseEnumeration licenseType, String tenantName) throws 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 userEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.