com.konakart.bl
Class LoginIntegrationMgr

java.lang.Object
  extended by com.konakart.bl.BaseMgr
      extended by com.konakart.bl.LoginIntegrationMgr
All Implemented Interfaces:
LoginIntegrationMgrInterface

public class LoginIntegrationMgr
extends BaseMgr
implements LoginIntegrationMgrInterface

Used to provide an integration point when a customer attempts a login so that custom security logic can be implemented.


Field Summary
protected static org.apache.commons.logging.Log log
          the log
 
Fields inherited from class com.konakart.bl.BaseMgr
templateBaseDir
 
Constructor Summary
LoginIntegrationMgr(KKEngIf eng)
          Constructor
 
Method Summary
 int checkCredentials(java.lang.String emailAddr, java.lang.String password)
          Called whenever a login attempt is made.
 
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
 

Field Detail

log

protected static org.apache.commons.logging.Log log
the log

Constructor Detail

LoginIntegrationMgr

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

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

checkCredentials

public int checkCredentials(java.lang.String emailAddr,
                            java.lang.String password)
                     throws KKException
Called whenever a login attempt is made. This method should return:

Specified by:
checkCredentials in interface LoginIntegrationMgrInterface
Parameters:
emailAddr - The user name required to log in
password - The log in password
Returns:
Returns an integer
Throws:
KKException


Copyright © 2011 DS Data Systems UK Ltd.