|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.csa.dao.impl.LmngIdentifierDaoImpl
@Repository public class LmngIdentifierDaoImpl
Implementation for the DAO that stores identifiers for identityproviders for both local and LMNG scope.
| Constructor Summary | |
|---|---|
LmngIdentifierDaoImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LmngIdentifierDaoImpl()
| Method Detail |
|---|
public void setDataSource(DataSource dataSource)
public String getLmngIdForIdentityProviderId(String identityProviderId)
LmngIdentifierDao
getLmngIdForIdentityProviderId in interface LmngIdentifierDaoidentityProviderId - the identifier as used in this project for an IdP
public String getLmngIdForServiceProviderId(String spId)
LmngIdentifierDao
getLmngIdForServiceProviderId in interface LmngIdentifierDaospId - the identifier as used in this project for an SP
public void saveOrUpdateLmngIdForServiceProviderId(String spId,
String lmngId)
LmngIdentifierDao
saveOrUpdateLmngIdForServiceProviderId in interface LmngIdentifierDaospId - the id of the serviceproviderlmngId - the lmng corresponding identifier
public void saveOrUpdateLmngIdForIdentityProviderId(String idpId,
String lmngId)
LmngIdentifierDao
saveOrUpdateLmngIdForIdentityProviderId in interface LmngIdentifierDaoidpId - the id of the identityProviderlmngId - the lmng corresponding identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||