@Repository public class LmngIdentifierDaoImpl extends Object implements LmngIdentifierDao
| Constructor and Description |
|---|
LmngIdentifierDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<MappingEntry> |
findAllIdentityProviders() |
List<MappingEntry> |
findAllServiceProviders() |
String |
getLmngIdForIdentityProviderId(String identityProviderId)
Method that returns a identifier for the IdP in LMNG belonging to the given IdP-Id
|
String |
getLmngIdForServiceProviderId(String spId)
Method that returns a identifier for the SP in LMNG belonging to the given SP-Id
|
void |
saveOrUpdateLmngIdForIdentityProviderId(String idpId,
String lmngId)
Save or update an lmngId for the identityProvider with the given ID
|
void |
saveOrUpdateLmngIdForServiceProviderId(String spId,
String lmngId)
Save or update an lmngId for the serviceprovider with the given ID
|
void |
setDataSource(DataSource dataSource) |
public void setDataSource(DataSource dataSource)
public String getLmngIdForIdentityProviderId(String identityProviderId)
LmngIdentifierDaogetLmngIdForIdentityProviderId in interface LmngIdentifierDaoidentityProviderId - the identifier as used in this project for an IdPpublic String getLmngIdForServiceProviderId(String spId)
LmngIdentifierDaogetLmngIdForServiceProviderId in interface LmngIdentifierDaospId - the identifier as used in this project for an SPpublic void saveOrUpdateLmngIdForServiceProviderId(String spId, String lmngId)
LmngIdentifierDaosaveOrUpdateLmngIdForServiceProviderId in interface LmngIdentifierDaospId - the id of the serviceproviderlmngId - the lmng corresponding identifierpublic void saveOrUpdateLmngIdForIdentityProviderId(String idpId, String lmngId)
LmngIdentifierDaosaveOrUpdateLmngIdForIdentityProviderId in interface LmngIdentifierDaoidpId - the id of the identityProviderlmngId - the lmng corresponding identifierpublic List<MappingEntry> findAllIdentityProviders()
findAllIdentityProviders in interface LmngIdentifierDaopublic List<MappingEntry> findAllServiceProviders()
findAllServiceProviders in interface LmngIdentifierDaoCopyright © 2012–2016 Pivotal Software, Inc.. All rights reserved.