fr.paris.lutece.plugins.mylutece.modules.openiddatabase.authentication.business
Class PasswordRecoveryByLinkDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.openiddatabase.authentication.business.PasswordRecoveryByLinkDAO
All Implemented Interfaces:
IPasswordRecoveryService

public class PasswordRecoveryByLinkDAO
extends java.lang.Object
implements IPasswordRecoveryService


Constructor Summary
PasswordRecoveryByLinkDAO()
           
 
Method Summary
 int getUserId(java.lang.String strIdToken, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 void insertDependency(int nUserId, java.lang.String strIdOperation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Inserts the depedency between the user and the operation
 boolean isExpired(java.lang.String strIdToken, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 java.lang.String newOperationKey()
           
 void processOperations(OpenIdDatabaseUser user, java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 void storeOperation(OpenIdDatabaseUser user, java.lang.String strOperationId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 boolean verifyOperationValid(java.lang.String strOperationId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordRecoveryByLinkDAO

public PasswordRecoveryByLinkDAO()
Method Detail

verifyOperationValid

public boolean verifyOperationValid(java.lang.String strOperationId,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)

newOperationKey

public java.lang.String newOperationKey()

insertDependency

public void insertDependency(int nUserId,
                             java.lang.String strIdOperation,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Inserts the depedency between the user and the operation

Parameters:
nUserId - The id of the user
strIdOperation - The id of the operation
plugin - The plugin

storeOperation

public void storeOperation(OpenIdDatabaseUser user,
                           java.lang.String strOperationId,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)

processOperations

public void processOperations(OpenIdDatabaseUser user,
                              java.util.Locale locale,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
processOperations in interface IPasswordRecoveryService
Parameters:
user - The user
plugin - The plugin

getUserId

public int getUserId(java.lang.String strIdToken,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
getUserId in interface IPasswordRecoveryService

isExpired

public boolean isExpired(java.lang.String strIdToken,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
isExpired in interface IPasswordRecoveryService


Copyright © 2010 Mairie de Paris. All Rights Reserved.