@Repository public class LmngIdentifierDaoImpl extends Object implements LmngIdentifierDao
| Constructor and Description |
|---|
LmngIdentifierDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentityProviderIdForLmngId(String lnmgId)
Method that returns a identifier for the IdP belonging to the given LMNG-Id
|
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 getIdentityProviderIdForLmngId(String lnmgId)
LmngIdentifierDaogetIdentityProviderIdForLmngId in interface LmngIdentifierDaolnmgId - the identifier as used in LMNG 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 identifierCopyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.