java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.keys.SigningKeyRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<SigningKey>

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

    • SigningKeyRowMapper

      public SigningKeyRowMapper()
  • Method Details

    • mapRow

      public SigningKey mapRow(ResultSet rs, int rowNum) throws SQLException
      Maps the current row.
      Specified by:
      mapRow in interface org.springframework.jdbc.core.RowMapper<SigningKey>
      Parameters:
      rs - result set positioned on the row.
      rowNum - number of the row.
      Returns:
      the key; its activation and retirement instants are null when the columns are.
      Throws:
      SQLException - if a column cannot be read.