Package com.jk.core.security
Interface JKAuthenticaor
public interface JKAuthenticaor
This interface is for authentication providers responsible for user
 authentication in an application.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String applicationName, int loginRetries) This method authenticates a user based on the application name and login retries.authenticate(String userName, String password) This method authenticates a user based on the provided user name and password. 
- 
Method Details
- 
authenticate
This method authenticates a user based on the application name and login retries.- Parameters:
 applicationName- Specifies the name of the application requesting authentication.loginRetries- Specifies the number of login retries attempted.- Returns:
 - the authenticated user (or null if authentication fails).
 
 - 
authenticate
This method authenticates a user based on the provided user name and password.- Parameters:
 userName- Specifies the user name of the user.password- Specifies the password of the user.- Returns:
 - the authenticated user (or null if authentication fails).
 
 
 -