com.konakart.bl
Class SecurityMgrEE

java.lang.Object
  extended by com.konakart.bl.BaseMgr
      extended by com.konakart.bl.SecurityMgr
          extended by com.konakart.bl.SecurityMgrEE
All Implemented Interfaces:
SecurityMgrIf

public class SecurityMgrEE
extends SecurityMgr
implements SecurityMgrIf

Security Management


Field Summary
 
Fields inherited from class com.konakart.bl.SecurityMgr
log
 
Fields inherited from class com.konakart.bl.BaseMgr
templateBaseDir
 
Constructor Summary
SecurityMgrEE(KKEngIf eng)
          Constructor
 
Method Summary
 void addCustomDataToSession(java.lang.String sessionId, java.lang.String data, int position)
          A sessionId is created when a customer logs in to KonaKart using the login() API call.
 java.lang.String getCustomDataFromSession(java.lang.String sessionId, int position)
          A sessionId is created when a customer logs in to KonaKart using the login() API call.
 
Methods inherited from class com.konakart.bl.SecurityMgr
byteToHex, changePassword, checkPassword, checkSession, createSessionId, enableCustomer, encrypt, getExpiryTimeInSecs, getLDAPMgr, getLoginIntegrationMgr, getRandomPassword, getSessionDurationInSecs, getSSOToken, getTimeInSecs, insertSessionId, login, login, loginByAdmin, logout, saveSSOToken, sendNewPassword, sendNewPassword1, toHexChar
 
Methods inherited from class com.konakart.bl.BaseMgr
addInsertAttr, addInsertAttr, checkRequired, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getLangMgr, getManuMgr, getMiscItemMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getPromMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, isEnterprise, isMultiStoreShareCustomers, isMultiStoreShareProducts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.konakart.blif.SecurityMgrIf
changePassword, checkSession, enableCustomer, encrypt, getRandomPassword, getSSOToken, getTimeInSecs, login, loginByAdmin, logout, saveSSOToken, sendNewPassword, sendNewPassword1
 

Constructor Detail

SecurityMgrEE

public SecurityMgrEE(KKEngIf eng)
              throws java.lang.Exception
Constructor

Parameters:
eng -
Throws:
java.lang.Exception
Method Detail

addCustomDataToSession

public void addCustomDataToSession(java.lang.String sessionId,
                                   java.lang.String data,
                                   int position)
                            throws org.apache.torque.TorqueException,
                                   KKException
A sessionId is created when a customer logs in to KonaKart using the login() API call. This sessionId is persisted in the database in a table which has 5 custom fields. This method allows you to store data in these custom fields which can later be retrieved by using the sessionId as the key.

Specified by:
addCustomDataToSession in interface SecurityMgrIf
Overrides:
addCustomDataToSession in class SecurityMgr
Parameters:
sessionId - The sessionId
data - The data to be saved
position - This must be in the range of 1-5 to identify custom1 to custom5
Throws:
org.apache.torque.TorqueException
KKException

getCustomDataFromSession

public java.lang.String getCustomDataFromSession(java.lang.String sessionId,
                                                 int position)
                                          throws KKException,
                                                 org.apache.torque.TorqueException,
                                                 com.workingdogs.village.DataSetException
A sessionId is created when a customer logs in to KonaKart using the login() API call. This sessionId is persisted in the database in a table which has 5 custom fields. This method allows you to retrieve the data in these custom fields by passing the sessionId as the key and a pointer to identify the custom field to be used.

Specified by:
getCustomDataFromSession in interface SecurityMgrIf
Overrides:
getCustomDataFromSession in class SecurityMgr
Parameters:
sessionId - The sessionId
position - This must be in the range of 1-5 to identify custom1 to custom5
Returns:
Returns the custom data
Throws:
KKException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException


Copyright © 2011 DS Data Systems UK Ltd.