com.konakartadmin.bl
Interface AdminLoginIntegrationMgrInterface
- All Known Implementing Classes:
- AdminLoginIntegrationMgr
public interface AdminLoginIntegrationMgrInterface
Used to provide an integration point when a customer attempts a login so that custom security
logic can be implemented.
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 KKAdminException
- 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 credentials 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:
KKAdminException
Copyright © 2011 DS Data Systems UK Ltd.