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,
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,
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,
LicenseEnumeration licenseType,
String tenant)
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, LicenseEnumeration licenseType, String tenant) throws 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 tenantEcmException
public SaperionClient newClient(String userName, String password, LicenseEnumeration licenseType) throws 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 sessionEcmException
public SaperionClient changePassword(String userName, String oldPassword, String newPassword, LicenseEnumeration licenseType, String tenant) throws 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 tenantEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.