|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.priv.pro.integration.LocalLicensingFacade
public class LocalLicensingFacade
Default implementation of the LicensingFacade
that works with
product storage specified as the local file or input stream. This implementation
provides all the core methods for the licenses generation and activation and can be
used as the foundation for publishing license facade functionality using some remote
invocation technology such as RMI or Web Services
Nested Class Summary | |
---|---|
static class |
LocalLicensingFacade.Provider
LicensingFacadeProvider implementation aware of LocalLicensingFacade
instances providing |
Field Summary | |
---|---|
protected boolean |
fActivateLicenseEnabled
|
protected boolean |
fCommercialEnabled
|
protected boolean |
fDeactivateLicenseEnabled
|
protected int |
fDefaultDeliveryType
|
protected LicensingFacadeDelegate |
fDelegate
|
protected java.util.HashMap |
fDeliveryMap
|
protected boolean |
fEvaluationEnabled
|
protected LicensingFacadeExtension |
fExtension
|
protected boolean |
fExtEvaluationEnabled
|
protected boolean |
fGetByDescrEnabled
|
protected boolean |
fGetBySerialNumberEnabled
|
protected boolean |
fGetEnabled
|
protected LicenseReaderFacade |
fLicenseReaderFacade
|
protected LicenseWriterFacade |
fLicenseWriterFacade
|
protected LicensingFacadeConfig |
fLicensingFacadeConfig
|
protected java.lang.String |
fLogin
|
protected static int |
fLogLevel
|
protected java.lang.String |
fPassword
|
protected static java.util.Map |
fPluginFactoryMap
|
protected static com.jp.protection.utils.ProtectionLogger |
fProtectionLogger
|
protected java.lang.String |
fReadProtectionPassword
|
protected java.lang.String |
fVersion
|
static java.lang.String |
LOGGER_NAME
|
static java.lang.String |
SUB_VERSION
|
static java.lang.String |
VERSION
|
Fields inherited from interface com.jp.protection.pub.pro.integration.LicensingFacade |
---|
ARGUMENT_ACTIVATION_KEY, ARGUMENT_ACTIVATION_LOCK_KEY, ARGUMENT_HOST_NAME, ARGUMENT_IP_ADDRESS, ARGUMENT_LICENSE_FEATURE_PREFIX, ARGUMENT_LICENSE_PROPERTY_FREFIX, ARGUMENT_LOCALE, ARGUMENT_USE_COUNT_LEFT, ARGUMENT_USER |
Constructor Summary | |
---|---|
LocalLicensingFacade()
Creates new instance of the LocalLicensingFacade |
|
LocalLicensingFacade(java.io.File aProductsStorageFile)
Creates new instance of the LocalLicensingFacade and loads products storage
from the specified local file. |
|
LocalLicensingFacade(java.io.InputStream aProductsStorageInputStream)
Creates new instance of the LocalLicensingFacade and loads products storage
from the specified input stream. |
Method Summary | |
---|---|
LicensingFacadeResult |
activateLicense(byte[] aLicenseBytes,
dev.entities.Customer aCustomer,
java.lang.String anActivationKey,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Activates a license specified as an array of bytes. |
void |
addDelivery(int aDeliveryType,
LicensingFacadeDelivery aDelivery)
Registers delivery object for certain delivery type |
boolean |
checkActivateLicenseEnabled(LicensingFacadeSession aSession,
LicenseBase aLicenseInfo)
Checks whether license activation is enabled. |
boolean |
checkDeactivateLicenseEnabled(LicensingFacadeSession aSession,
LicenseBase aLicenseInfo)
Checks whether license deactivation is enabled. |
protected boolean |
checkGetLicenseEnabled(LicensingFacadeSession aSession,
LicenseBase aLicenseInfo)
|
static void |
closePluginFactories()
|
static void |
closePluginFactory(java.lang.String aPluginFactoryClassName)
|
protected LicenseImpl |
createLicense(LicenseDescr aLicenseDescr,
dev.entities.Customer aCustomer)
|
protected LicenseImpl |
createLicense(LicensingFacadeSession aSession,
LicenseBase aLicenseInfo,
dev.entities.Customer aCustomer)
|
protected LicenseImpl |
createLicense(java.lang.String aSerialNumber)
|
LicensingFacadeResult |
deactivateLicense(byte[] aLicenseBytes,
java.lang.String aDeactivationKey,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Deactivates a license at the vendors side. |
protected void |
finalize()
|
protected java.lang.String |
generateLicenseNumber(LicenseBase aLicenseInfo,
dev.entities.Customer aCustomer)
|
static java.lang.String |
getAPIVersion()
|
static java.lang.String |
getDeactivationKey(Product aProduct,
java.lang.String anActivationKey,
boolean isCompleted,
boolean isStrippedActivationKeyChars)
|
java.lang.String |
getDeactivationKey(java.lang.String aProductID,
java.lang.String anActivationKey,
boolean isCompleted,
boolean isStrippedActivationKeyChars)
|
int |
getDefaultDeliveryType()
Returns default delivery type |
LicensingFacadeDelegate |
getDelegate()
Returns 'delegate' plug-in used by this class to delegate all LicensingFacade functionality to |
LicensingFacadeDelivery |
getDelivery(int aDeliveryType)
Returns registered delivery object for the specified delivery type |
LicensingFacadeExtension |
getExtension()
Returns 'extension' plug-in used to extends the functionality of the class |
LicensingFacadeResult |
getLicense(LicenseDescr aLicenseDescr,
dev.entities.Customer aCustomer,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Generates a license according to the provided license descriptor. |
LicensingFacadeResult |
getLicense(LicenseInfo aLicenseInfo,
dev.entities.Customer aCustomer,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Generates a license according to provided license information. |
LicensingFacadeResult |
getLicense(java.lang.String aSerialNumber,
dev.entities.Customer aCustomer,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments)
Generates a license according to the provided Serial Number. |
protected byte[] |
getLicenseBytes(LicensingFacadeSession aSession,
LicenseBase aLicenseInfo,
dev.entities.Customer aCustomer)
|
LicenseReaderFacade |
getLicenseReaderFacade()
Returns license reader facade used to read licenses |
LicenseWriterFacade |
getLicenseWriterFacade()
Returns license writer facade used to write licenses |
LicensingFacadeConfig |
getLicensingFacadeConfig()
Returns configuration specified for this object |
protected LicensingFacadeResult |
getLicensingFacadeResult(LicensingFacadeSession aSession,
LicensingFacadeResultBase anExtensionResult,
License aLicense,
dev.entities.Customer aCustomer)
|
static com.jp.protection.utils.ProtectionLogger |
getLogger()
|
java.lang.String |
getLogin()
Returns login name |
java.lang.String |
getPassword()
Returns password |
protected LicensingFacadePluginFactory |
getPluginFactory()
|
static LicensingFacadePluginFactory |
getPluginFactory(java.lang.String aPluginFactoryClassName)
|
ProductsStorage |
getProductsStorage()
Returns products storage that this class is working with |
java.lang.String |
getReadProtectionPassword()
|
protected java.lang.String |
getSerialNumber(LicenseBase aLicenseInfo)
|
java.lang.String |
getVersion()
Returns the version of implementation. |
void |
init(java.io.File aProductsStorageFile)
Initialize an instance of the LocalLicensingFacade and loads products storage
from the specified local file. |
void |
init(java.io.InputStream aProductsStorageInputStream)
Initialize an instance of the LocalLicensingFacade and loads products storage
from the specified input stream. |
void |
init(LicensingFacadeConfig aLicensingFacadeConfig,
java.lang.Class aBaseClass)
Provides initialization according to the specified configuration |
protected void |
initPlugin()
|
boolean |
isActivateLicenseEnabled()
Returns whether license activation is enabled. |
boolean |
isCommercialEnabled()
Returns whether process of obtaining commercial licenses is enabled. |
boolean |
isDeactivateLicenseEnabled()
|
boolean |
isEvaluationEnabled()
Returns whether process of obtaining evaluation licenses is enabled. |
boolean |
isExtEvaluationEnabled()
Returns whether process of obtaining extended evaluation licenses is enabled. |
boolean |
isGetByDescrEnabled()
|
boolean |
isGetBySerialNumberEnabled()
Returns whether process of obtaining licenses by Serial Number is enabled. |
boolean |
isGetEnabled()
|
boolean |
isGetLicenseEnabled(LicensingFacadeSession aSession,
LicenseBase aLicenseInfo)
Returns whether ability of obtaining licenses of a certain type (specified by supplied license information) is enabled |
boolean |
isLoginEnabled(LicenseBase aLicenseInfo,
java.lang.String aLogin,
java.lang.String aPassword)
Checks whether login information is correct and it is possible to execute the LicensingFacade methods |
static boolean |
isSerialNumberOrigin(LicenseBase aLicenseInfo)
|
void |
log(LicensingFacadeResultBase aResult)
|
void |
log(LicensingFacadeSession aSession)
|
protected LicensingFacadeSession |
login(LicenseBase aLicenseInfo,
java.lang.String aLogin,
java.lang.String aPassword,
java.util.Map anArguments,
int anOperation)
|
protected LicensingFacadeResult |
loginFailedError(java.lang.String aLogin,
java.lang.String aPassword)
|
boolean |
lsLicenseProperlyDeactivated(java.lang.String aProductID,
java.lang.String anActivationKey,
java.lang.String aDeactivationKey)
|
protected LicensingFacadeResult |
notAllowedError(java.lang.String anAccessType)
|
protected LicensingFacadeResult |
notEligibleError()
|
void |
passwordMismatch()
|
protected void |
putActivationKey(LicenseImpl aLicense,
java.util.Map anArguments)
|
LicensingFacadeDelivery |
removeDelivery(int aDeliveryType)
Unregisters delivery object for certain delivery type |
java.lang.String |
resolvePassword()
|
protected LicensingFacadeResult |
sendByEmail(byte[] aLicenseBytes,
dev.entities.Customer aCustomer)
|
void |
setActivateLicenseEnabled(boolean aActivateLicenseEnabled)
Specifies whether license activation should be enabled. |
void |
setCommercialEnabled(boolean aCommercialEnabled)
Specifies whether process of obtaining commercial licenses should be enabled. |
void |
setDeactivateLicenseEnabled(boolean aDeactivateLicenseEnabled)
|
void |
setDefaultDeliveryType(int aDefaultDeliveryType)
Specifies default delivery type |
void |
setDelegate(LicensingFacadeDelegate aLocalLicensingFacadeDelegate)
Specifies 'delegate' plug-in used by this class to delegate all LicensingFacade functionality to |
void |
setEvaluationEnabled(boolean aEvaluationEnabled)
Specifies whether process of obtaining evaluation licenses should be enabled. |
void |
setExtension(LicensingFacadeExtension aLocalLicensingFacadeExtension)
Specifies 'extension' plug-in used to extend the functionality of the class |
void |
setExtEvaluationEnabled(boolean aExtEvaluationEnabled)
Specifies whether process of obtaining extended evaluation licenses should be enabled. |
void |
setGetByDescrEnabled(boolean aGetByDescrEnabled)
|
void |
setGetBySerialNumberEnabled(boolean aGetBySerialNumberEnabled)
Specifies whether process of obtaining licenses by Serial Number should be enabled. |
void |
setGetEnabled(boolean aGetEnabled)
|
static void |
setLogger(com.jp.protection.utils.ProtectionLogger aLogger)
|
void |
setLogin(java.lang.String aLogin)
Specifies login name |
void |
setPassword(java.lang.String aPassword)
Specifies password used by default to decide whether it is possible to execute any of the LicensingFacade methods |
void |
setReadProtectionPassword(java.lang.String aReadProtectionPassword)
|
void |
setVersion(java.lang.String aVersion)
Specifies version information |
protected void |
unableToReadLicenseError()
|
byte[] |
writeLicense(License aLicense)
Writes license to array of bytes |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
public static final java.lang.String SUB_VERSION
protected int fDefaultDeliveryType
protected boolean fCommercialEnabled
protected boolean fEvaluationEnabled
protected boolean fExtEvaluationEnabled
protected boolean fGetBySerialNumberEnabled
protected boolean fGetEnabled
protected boolean fGetByDescrEnabled
protected boolean fActivateLicenseEnabled
protected boolean fDeactivateLicenseEnabled
protected java.lang.String fLogin
protected java.lang.String fPassword
protected java.lang.String fVersion
protected LicenseWriterFacade fLicenseWriterFacade
protected LicenseReaderFacade fLicenseReaderFacade
protected LicensingFacadeDelegate fDelegate
protected LicensingFacadeExtension fExtension
public static final java.lang.String LOGGER_NAME
protected static com.jp.protection.utils.ProtectionLogger fProtectionLogger
protected static int fLogLevel
protected java.util.HashMap fDeliveryMap
protected LicensingFacadeConfig fLicensingFacadeConfig
protected static java.util.Map fPluginFactoryMap
protected java.lang.String fReadProtectionPassword
Constructor Detail |
---|
public LocalLicensingFacade()
LocalLicensingFacade
public LocalLicensingFacade(java.io.InputStream aProductsStorageInputStream) throws java.io.IOException
LocalLicensingFacade
and loads products storage
from the specified input stream.
aProductsStorageInputStream
- input stream to load products storage from
java.io.IOException
- in case of any errors during products storage load processpublic LocalLicensingFacade(java.io.File aProductsStorageFile) throws java.io.IOException
LocalLicensingFacade
and loads products storage
from the specified local file.
aProductsStorageFile
- local file to load products storage from
java.io.IOException
- in case of any errors during products storage load processMethod Detail |
---|
public static java.lang.String getAPIVersion()
public void init(java.io.InputStream aProductsStorageInputStream) throws java.io.IOException
LocalLicensingFacade
and loads products storage
from the specified input stream.
aProductsStorageInputStream
- input stream to load products storage from
java.io.IOException
- in case of any errors during products storage load processpublic void init(java.io.File aProductsStorageFile) throws java.io.IOException
LocalLicensingFacade
and loads products storage
from the specified local file.
aProductsStorageFile
- local file to load products storage from
java.io.IOException
- in case of any errors during products storage load processpublic ProductsStorage getProductsStorage()
public LicensingFacadeDelegate getDelegate()
LicensingFacadeDelegate
instancepublic void setDelegate(LicensingFacadeDelegate aLocalLicensingFacadeDelegate)
aLocalLicensingFacadeDelegate
- a LicensingFacadeDelegate
instancepublic LicenseReaderFacade getLicenseReaderFacade()
public LicenseWriterFacade getLicenseWriterFacade()
public LicensingFacadeExtension getExtension()
public void setExtension(LicensingFacadeExtension aLocalLicensingFacadeExtension)
aLocalLicensingFacadeExtension
- a LicensingFacadeExtension
instancepublic boolean checkActivateLicenseEnabled(LicensingFacadeSession aSession, LicenseBase aLicenseInfo)
checkActivateLicenseEnabled(null)
method else it returns value specified by the call of the
setActivateLicenseEnabled()
method
aSession
- a session object obtained as the result of the login()
method call.aLicenseInfo
- license information to activate
true
if license activation is enabled; false
otherwisepublic boolean checkDeactivateLicenseEnabled(LicensingFacadeSession aSession, LicenseBase aLicenseInfo)
checkDeactivateLicenseEnabled(null)
method
else it returns value specified by the call of the setDeactivateLicenseEnabled()
method
aSession
- a session object obtained as the result of the login()
method call.aLicenseInfo
- license information to deactivate
true
if license deactivation is enabled; false
otherwisepublic boolean isDeactivateLicenseEnabled()
public void setDeactivateLicenseEnabled(boolean aDeactivateLicenseEnabled)
public boolean isActivateLicenseEnabled()
true
if license activation is enabled; false
otherwisepublic void setActivateLicenseEnabled(boolean aActivateLicenseEnabled)
aActivateLicenseEnabled
- enable valuepublic boolean isCommercialEnabled()
true
if process of obtaining commercial licenses is enabled; false
otherwisepublic void setCommercialEnabled(boolean aCommercialEnabled)
aCommercialEnabled
- enable valuepublic boolean isGetByDescrEnabled()
public void setGetByDescrEnabled(boolean aGetByDescrEnabled)
public boolean isGetEnabled()
public void setGetEnabled(boolean aGetEnabled)
public boolean isGetBySerialNumberEnabled()
true
if process of obtaining commercial licenses by Serial Number is enabled;
false
otherwisepublic void setGetBySerialNumberEnabled(boolean aGetBySerialNumberEnabled)
aGetBySerialNumberEnabled
- enabled valuepublic boolean isEvaluationEnabled()
true
if getting of evaluation licenses is enabled;
false
otherwisepublic void setEvaluationEnabled(boolean aEvaluationEnabled)
aEvaluationEnabled
- enable valuepublic java.lang.String getPassword()
public void setPassword(java.lang.String aPassword)
LicensingFacade
methods
aPassword
- passwordpublic boolean isExtEvaluationEnabled()
true
if process of obtaining extended evaluation licenses is enabled;
false
otherwisepublic void setExtEvaluationEnabled(boolean aExtEvaluationEnabled)
aExtEvaluationEnabled
- enable valueprotected java.lang.String generateLicenseNumber(LicenseBase aLicenseInfo, dev.entities.Customer aCustomer)
protected LicensingFacadeResult loginFailedError(java.lang.String aLogin, java.lang.String aPassword)
protected LicensingFacadeResult notAllowedError(java.lang.String anAccessType)
protected LicensingFacadeResult notEligibleError()
protected LicensingFacadeResult sendByEmail(byte[] aLicenseBytes, dev.entities.Customer aCustomer)
protected java.lang.String getSerialNumber(LicenseBase aLicenseInfo)
protected LicensingFacadeSession login(LicenseBase aLicenseInfo, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments, int anOperation)
public boolean isLoginEnabled(LicenseBase aLicenseInfo, java.lang.String aLogin, java.lang.String aPassword)
LicensingFacade
methods
aLicenseInfo
- license informationaLogin
- login nameaPassword
- password
true
if login information is correct and it is possible to
execute the LicensingFacade
methods;
otherwisepublic static void setLogger(com.jp.protection.utils.ProtectionLogger aLogger)
public static com.jp.protection.utils.ProtectionLogger getLogger()
public void log(LicensingFacadeSession aSession)
public void log(LicensingFacadeResultBase aResult)
protected LicenseImpl createLicense(LicensingFacadeSession aSession, LicenseBase aLicenseInfo, dev.entities.Customer aCustomer)
protected LicenseImpl createLicense(java.lang.String aSerialNumber) throws SerialNumberException
SerialNumberException
protected LicenseImpl createLicense(LicenseDescr aLicenseDescr, dev.entities.Customer aCustomer)
public LicensingFacadeResult getLicense(LicenseDescr aLicenseDescr, dev.entities.Customer aCustomer, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
getLicense
in interface LicensingFacade
aLicenseDescr
- describes license to getaCustomer
- specifies customer information, which requests a licenseaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license getting
LicensingFacadeResult
instance.public LicensingFacadeResult getLicense(LicenseInfo aLicenseInfo, dev.entities.Customer aCustomer, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
getLicense
in interface LicensingFacade
aLicenseInfo
- describes license to getaCustomer
- specifies customer information, which requests a licenseaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license getting
LicensingFacadeResult
instance.protected void putActivationKey(LicenseImpl aLicense, java.util.Map anArguments)
public LicensingFacadeResult getLicense(java.lang.String aSerialNumber, dev.entities.Customer aCustomer, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
getLicense
in interface LicensingFacade
aSerialNumber
- serial numberaCustomer
- specifies customer information, which requests a licenseaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license getting
LicensingFacadeResult
instance.protected void unableToReadLicenseError()
public LicensingFacadeResult activateLicense(byte[] aLicenseBytes, dev.entities.Customer aCustomer, java.lang.String anActivationKey, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
activateLicense
in interface LicensingFacade
aLicenseBytes
- license to activate passed as array of bytesaCustomer
- specifies customer information, which requests a licenseanActivationKey
- activation keyaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license activation
LicensingFacadeResult
instance.public boolean lsLicenseProperlyDeactivated(java.lang.String aProductID, java.lang.String anActivationKey, java.lang.String aDeactivationKey)
public LicensingFacadeResult deactivateLicense(byte[] aLicenseBytes, java.lang.String aDeactivationKey, java.lang.String aLogin, java.lang.String aPassword, java.util.Map anArguments)
LicensingFacade
LicenseHostPro.deactivateLicense()
Valid login and password values should be specified to ensure that the user is eligible to
activate certain type of license.
deactivateLicense
in interface LicensingFacade
aLicenseBytes
- license to deactivate passed as array of bytesaDeactivationKey
- deactivation key returned by LicenseHostPro.deactivateLicense()
callaLogin
- login nameaPassword
- passwordanArguments
- additional arguments can be needed for proper license deactivation
LicensingFacadeResult
instance.protected LicensingFacadeResult getLicensingFacadeResult(LicensingFacadeSession aSession, LicensingFacadeResultBase anExtensionResult, License aLicense, dev.entities.Customer aCustomer)
protected boolean checkGetLicenseEnabled(LicensingFacadeSession aSession, LicenseBase aLicenseInfo)
public static boolean isSerialNumberOrigin(LicenseBase aLicenseInfo)
public boolean isGetLicenseEnabled(LicensingFacadeSession aSession, LicenseBase aLicenseInfo)
aSession
- sessionaLicenseInfo
- license information
true
if ability of obtaining licenses of a certain type is enabled; false
otherwiseprotected byte[] getLicenseBytes(LicensingFacadeSession aSession, LicenseBase aLicenseInfo, dev.entities.Customer aCustomer)
public byte[] writeLicense(License aLicense)
aLicense
- license to write
public java.lang.String getLogin()
public void setLogin(java.lang.String aLogin)
aLogin
- login namepublic java.lang.String getVersion()
LicensingFacade
getVersion
in interface LicensingFacade
public void setVersion(java.lang.String aVersion)
aVersion
- version informationpublic LicensingFacadeDelivery getDelivery(int aDeliveryType)
aDeliveryType
- delivery type
LicensingFacadeDelivery
public void addDelivery(int aDeliveryType, LicensingFacadeDelivery aDelivery)
aDeliveryType
- delivery typeaDelivery
- delivery object to registerpublic LicensingFacadeDelivery removeDelivery(int aDeliveryType)
aDeliveryType
- delivery type
public int getDefaultDeliveryType()
public void setDefaultDeliveryType(int aDefaultDeliveryType)
aDefaultDeliveryType
- delivery typepublic LicensingFacadeConfig getLicensingFacadeConfig()
LicensingFacadeConfig
public void init(LicensingFacadeConfig aLicensingFacadeConfig, java.lang.Class aBaseClass)
aLicensingFacadeConfig
- configurationaBaseClass
- base class to load products storageprotected void initPlugin()
protected LicensingFacadePluginFactory getPluginFactory()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public static LicensingFacadePluginFactory getPluginFactory(java.lang.String aPluginFactoryClassName)
public static void closePluginFactory(java.lang.String aPluginFactoryClassName)
public static void closePluginFactories()
public java.lang.String getDeactivationKey(java.lang.String aProductID, java.lang.String anActivationKey, boolean isCompleted, boolean isStrippedActivationKeyChars)
public static final java.lang.String getDeactivationKey(Product aProduct, java.lang.String anActivationKey, boolean isCompleted, boolean isStrippedActivationKeyChars)
public java.lang.String resolvePassword()
resolvePassword
in interface ProductsStorage.PasswordResolver
public void passwordMismatch()
passwordMismatch
in interface ProductsStorage.PasswordResolver
public java.lang.String getReadProtectionPassword()
public void setReadProtectionPassword(java.lang.String aReadProtectionPassword)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |