fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service.security
Interface IMyluteceDirectorySecurityService

All Known Implementing Classes:
MyluteceDirectorySecurityService

public interface IMyluteceDirectorySecurityService

IMyluteceDirectorySecurityService


Method Summary
 boolean checkActivated(String strUserName)
          Check if the account is activated or not
 boolean checkPassword(String strUserName, String strUserPassword)
          Check the password.
 

Method Detail

checkPassword

boolean checkPassword(String strUserName,
                      String strUserPassword)
Check the password.
This method first check if there is the password encryption is activated. If so, then it encrypts the password and compares it to the one stored in DB.

Parameters:
strUserName - the user name
strUserPassword - the user password
Returns:
true if the password is correct, false otherwise

checkActivated

boolean checkActivated(String strUserName)
Check if the account is activated or not

Parameters:
strUserName - the user name
Returns:
true if the account is activated, false otherwise


Copyright © 2014 Mairie de Paris. All Rights Reserved.