Class SigningKeyRowMapper
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
SigningKeyRowMapper
public SigningKeyRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.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
nullwhen the columns are. - Throws:
SQLException- if a column cannot be read.
-