com.konakart.bl
Interface LoginIntegrationMgrInterface
- All Known Implementing Classes:
- LoginIntegrationMgr
public interface LoginIntegrationMgrInterface
The interface that must be implemented by a Login Integration Manager
|
Method Summary |
int |
checkCredentials(java.lang.String emailAddr,
java.lang.String password)
Called whenever a login attempt is made. |
checkCredentials
int checkCredentials(java.lang.String emailAddr,
java.lang.String password)
throws KKException
- Called whenever a login attempt is made. This method should return:
- A negative number in order for the login attempt to fail. The KonaKart login() method
will return a null sessionId
- Zero to signal that this method is not implemented. The KonaKart login() method will
perform the credential check.
- A positive number for the login attempt to pass. The KonaKart login() will not check
credentials, and will log in the customer, returning a valid session id.
- Parameters:
emailAddr - The user name required to log inpassword - The log in password
- Returns:
- Returns an integer
- Throws:
KKException
Copyright © 2011 DS Data Systems UK Ltd.