public class SaperionClientFactoryImpl extends Object implements SaperionClientFactory
SaperionClientFactory.| Constructor and Description |
|---|
SaperionClientFactoryImpl(Connector connector) |
| Modifier and Type | Method and Description |
|---|---|
SaperionClient |
changePassword(String userName,
String oldPassword,
String newPassword,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenant)
This method creates a new saperion client with a new session in the context of the given user credentials.
|
SaperionClient |
newClient(String token,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenant)
This method creates a new saperion client with a new session in the context of the given user credentials.
|
SaperionClient |
newClient(String userName,
String password,
com.lexmark.saperion.LicenseEnumeration licenseType)
This method creates a new saperion client with a new session in the context of the given user credentials.
|
SaperionClient |
newClient(String userName,
String password,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenant)
This method creates a new saperion client with a new session in the context of the given user credentials.
|
SaperionClient |
newClient(String userName,
String password,
com.lexmark.saperion.LicenseEnumeration licenseType,
String tenant,
String impersonatedUser)
This method creates a new saperion client with a new session in the context of the given user credentials.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSaperionClientFactory, newInstancepublic SaperionClientFactoryImpl(Connector connector)
public SaperionClient newClient(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactorynewClient in interface SaperionClientFactoryuserName - the name of the userpassword - the password of the userlicenseType - the saperion license to use for the sessiontenant - the name of the tenantcom.lexmark.saperion.exceptions.EcmExceptionpublic SaperionClient newClient(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactorySaperionClientFactory.newClient(String, String, LicenseEnumeration, String) instead.newClient in interface SaperionClientFactoryuserName - the name of the userpassword - the password of the userlicenseType - the saperion license to use for the sessioncom.lexmark.saperion.exceptions.EcmExceptionpublic SaperionClient newClient(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant, String impersonatedUser) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactorynewClient in interface SaperionClientFactoryuserName - the name of the userpassword - the password of the userlicenseType - the saperion license to use for the sessiontenant - the name of the tenantimpersonatedUser - the name of the impersonated usercom.lexmark.saperion.exceptions.EcmExceptionpublic SaperionClient newClient(String token, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactorynewClient in interface SaperionClientFactorytoken - a token retrieved from an authorization servicelicenseType - the saperion license to use for the sessiontenant - the name of the tenantcom.lexmark.saperion.exceptions.EcmExceptionpublic SaperionClient changePassword(String userName, String oldPassword, String newPassword, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactorychangePassword in interface SaperionClientFactoryuserName - the name of the useroldPassword - the current (possibly expired) password of the usernewPassword - the new password of the userlicenseType - the saperion license to use for the sessiontenant - the name of the tenantcom.lexmark.saperion.exceptions.EcmExceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.