com.solidstategroup.cms.license
Class LicenseManager

java.lang.Object
  extended by com.solidstategroup.cms.license.LicenseManager
Direct Known Subclasses:
XMLLicenseManager

public class LicenseManager
extends java.lang.Object


Field Summary
protected static java.lang.String licenseFileLocation
           
protected static boolean outreachLicenseExists
           
protected static boolean outreachsmsLicenseExists
           
protected static boolean webdeckLicenseExists
           
protected static boolean webdeckliteLicenseExists
           
 
Constructor Summary
LicenseManager()
           
 
Method Summary
static java.lang.String getApplicationName()
           
static java.lang.String getClientContact()
           
static java.lang.String getClientName()
           
static javax.crypto.Cipher getDecryptCipher()
           
static java.lang.String getEncodingtype()
           
static javax.crypto.Cipher getEncryptCipher()
           
static java.lang.String getEncryptedString()
           
static java.lang.String getLicenseFileLocation()
           
static boolean isOutreachLicenseExists()
           
static boolean isOutReachLicenseValid()
           
static boolean isOutreachsmsLicenseExists()
           
static boolean isOutreachSMSLicenseExists()
           
static boolean isOutReachSMSLicenseValid()
           
static boolean isWebdeckLicenseExists()
           
static boolean isWebDeckLicenseValid()
           
static boolean isWebdeckliteLicenseExists()
           
static boolean isWebDeckLiteLicenseValid()
           
static java.util.Date outReachLicenseExpires()
           
static java.util.Date outReachSMSLicenseExpires()
           
static boolean retrieveLicenses()
           
static void setApplicationName(java.lang.String applicationName)
           
static void setClientContact(java.lang.String clientContact)
           
static void setClientName(java.lang.String clientName)
           
static void setEncryptedString(java.lang.String encryptedString)
           
static void setLicenseFileLocation(java.lang.String licenseFileLocation)
           
protected static void setupCiphers()
           
static boolean validateLicense(java.lang.String licenseToCheck)
           
static java.util.Date webDeckLicenseExpires()
           
static java.util.Date webDeckLiteLicenseExpires()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outreachLicenseExists

protected static boolean outreachLicenseExists

outreachsmsLicenseExists

protected static boolean outreachsmsLicenseExists

webdeckLicenseExists

protected static boolean webdeckLicenseExists

webdeckliteLicenseExists

protected static boolean webdeckliteLicenseExists

licenseFileLocation

protected static java.lang.String licenseFileLocation
Constructor Detail

LicenseManager

public LicenseManager()
Method Detail

setupCiphers

protected static void setupCiphers()

validateLicense

public static boolean validateLicense(java.lang.String licenseToCheck)

retrieveLicenses

public static boolean retrieveLicenses()

isWebDeckLicenseValid

public static boolean isWebDeckLicenseValid()

isWebDeckLiteLicenseValid

public static boolean isWebDeckLiteLicenseValid()

webDeckLicenseExpires

public static java.util.Date webDeckLicenseExpires()

webDeckLiteLicenseExpires

public static java.util.Date webDeckLiteLicenseExpires()

isOutReachSMSLicenseValid

public static boolean isOutReachSMSLicenseValid()

outReachSMSLicenseExpires

public static java.util.Date outReachSMSLicenseExpires()

isOutReachLicenseValid

public static boolean isOutReachLicenseValid()

outReachLicenseExpires

public static java.util.Date outReachLicenseExpires()

getClientName

public static java.lang.String getClientName()

setClientName

public static void setClientName(java.lang.String clientName)

getApplicationName

public static java.lang.String getApplicationName()

setApplicationName

public static void setApplicationName(java.lang.String applicationName)

getEncodingtype

public static java.lang.String getEncodingtype()

getEncryptCipher

public static javax.crypto.Cipher getEncryptCipher()

getDecryptCipher

public static javax.crypto.Cipher getDecryptCipher()

getEncryptedString

public static java.lang.String getEncryptedString()

setEncryptedString

public static void setEncryptedString(java.lang.String encryptedString)

isOutreachLicenseExists

public static boolean isOutreachLicenseExists()

isOutreachSMSLicenseExists

public static boolean isOutreachSMSLicenseExists()

isWebdeckLicenseExists

public static boolean isWebdeckLicenseExists()

isOutreachsmsLicenseExists

public static boolean isOutreachsmsLicenseExists()

isWebdeckliteLicenseExists

public static boolean isWebdeckliteLicenseExists()

getLicenseFileLocation

public static java.lang.String getLicenseFileLocation()

setLicenseFileLocation

public static void setLicenseFileLocation(java.lang.String licenseFileLocation)

getClientContact

public static java.lang.String getClientContact()

setClientContact

public static void setClientContact(java.lang.String clientContact)