java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.x509.CertificateBindingRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<CertificateBinding>

@Component public class CertificateBindingRowMapper extends Object implements org.springframework.jdbc.core.RowMapper<CertificateBinding>
Maps a row of x509_certificates to a CertificateBinding.
  • Constructor Details

    • CertificateBindingRowMapper

      public CertificateBindingRowMapper()
  • Method Details

    • mapRow

      public CertificateBinding mapRow(ResultSet rs, int rowNum) throws SQLException
      Maps the current row.
      Specified by:
      mapRow in interface org.springframework.jdbc.core.RowMapper<CertificateBinding>
      Parameters:
      rs - result set positioned on the row.
      rowNum - number of the row.
      Returns:
      the binding.
      Throws:
      SQLException - if a column cannot be read.