Class SecurityEventRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecurityEventRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<SecurityEvent>
@Component
public class SecurityEventRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<SecurityEvent>
Maps a row of the
security_events table to a SecurityEvent.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
SecurityEventRowMapper
public SecurityEventRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<SecurityEvent>- Parameters:
rs- result set positioned on the row.rowNum- number of the row.- Returns:
- the event; its user, username and detail are
nullwhen the column is null. - Throws:
SQLException- if a column cannot be read.
-