public interface LmngService
| Modifier and Type | Method and Description |
|---|---|
List<Article> |
getArticlesForServiceProviders(List<String> serviceProviderEntityIds)
Get articles for the given serviceProviders.
|
String |
getInstitutionName(String guid)
Get the name of the institution in LMNG belonging to given GUID
|
List<License> |
getLicensesForIdpAndSp(IdentityProvider identityProvider,
String articleIdentifier,
Date validOn)
Gets a list with Licenses for the given
identityProvider and services (lmngIdentifiers) which are valid on the given day
|
String |
getServiceName(String lmngId)
Get the name of the service/product in LMNG belonging to given GUID
|
boolean |
isActiveMode()
Is the LMNG service active? If not then no calls should be made and the
entire distribution channel runs without license / article information from
LMNG.
|
List<License> getLicensesForIdpAndSp(IdentityProvider identityProvider, String articleIdentifier, Date validOn) throws LmngException
identityProvider - the identityProvider to get the licenses forlmngIdentifier - lmngIdentifier (belonging to SP's) where the licenses are for.validOn - Date on which the license should be validLmngException - If connection or call fails (rethrows all exceptions)List<Article> getArticlesForServiceProviders(List<String> serviceProviderEntityIds) throws LmngException
serviceProviderEntityIds - list of ID's of serviceproviders to get the lmng article forLmngExceptionString getInstitutionName(String guid)
guid - guid of the IDP to checkString getServiceName(String lmngId)
lmngId - boolean isActiveMode()
Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.