Class SecondFactorLockoutRowMapper

java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecondFactorLockoutRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<SecondFactorLockout>

@Component public class SecondFactorLockoutRowMapper extends Object implements org.springframework.jdbc.core.RowMapper<SecondFactorLockout>
Maps a row of the second_factor_attempts table to a SecondFactorLockout.
  • Constructor Details

    • SecondFactorLockoutRowMapper

      public SecondFactorLockoutRowMapper()
  • Method Details

    • mapRow

      public SecondFactorLockout mapRow(ResultSet rs, int rowNum) throws SQLException
      Maps the current row.
      Specified by:
      mapRow in interface org.springframework.jdbc.core.RowMapper<SecondFactorLockout>
      Parameters:
      rs - result set positioned on the row.
      rowNum - number of the row.
      Returns:
      the state; its lock end is null when the second factor is not locked.
      Throws:
      SQLException - if a column cannot be read.