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, wait
getSaperionClientFactory, newInstance
public SaperionClientFactoryImpl(Connector connector)
public SaperionClient newClient(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactory
newClient
in interface SaperionClientFactory
userName
- 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.EcmException
public SaperionClient newClient(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactory
SaperionClientFactory.newClient(String, String, LicenseEnumeration, String)
instead.newClient
in interface SaperionClientFactory
userName
- the name of the userpassword
- the password of the userlicenseType
- the saperion license to use for the sessioncom.lexmark.saperion.exceptions.EcmException
public SaperionClient newClient(String userName, String password, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant, String impersonatedUser) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactory
newClient
in interface SaperionClientFactory
userName
- 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.EcmException
public SaperionClient newClient(String token, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactory
newClient
in interface SaperionClientFactory
token
- a token retrieved from an authorization servicelicenseType
- the saperion license to use for the sessiontenant
- the name of the tenantcom.lexmark.saperion.exceptions.EcmException
public SaperionClient changePassword(String userName, String oldPassword, String newPassword, com.lexmark.saperion.LicenseEnumeration licenseType, String tenant) throws com.lexmark.saperion.exceptions.EcmException
SaperionClientFactory
changePassword
in interface SaperionClientFactory
userName
- 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.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.