Class FederatedIdentityRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.social.FederatedIdentityRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<FederatedIdentity>
@Component
public class FederatedIdentityRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<FederatedIdentity>
Maps a row of
federated_identities to a FederatedIdentity.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
FederatedIdentityRowMapper
public FederatedIdentityRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<FederatedIdentity>- Parameters:
rs- result set positioned on the row.rowNum- number of the row.- Returns:
- the identity; its e-mail address and last sign-in are
nullwhen none was stored. - Throws:
SQLException- if a column cannot be read.IllegalArgumentException- if the stored provider is not a known one.
-