@Component public class CompoundSPService extends Object
| Constructor and Description |
|---|
CompoundSPService() |
| Modifier and Type | Method and Description |
|---|---|
CompoundServiceProvider |
getCSPById(IdentityProvider idp,
long compoundSpId,
boolean refreshCache)
Get a CSP by its ID, for the given IDP.
|
CompoundServiceProvider |
getCSPById(String serviceProviderEntityId)
Get a CSP by its ServiceProvider
|
List<CompoundServiceProvider> |
getCSPsByIdp(IdentityProvider identityProvider) |
protected org.joda.time.DateTime |
getNow() |
void |
setLmngArticleCacheExpireSeconds(int lmngArticleCacheExpireSeconds) |
void |
setLmngLicenseCacheExpireSeconds(int lmngLicenseCacheExpireSeconds) |
public List<CompoundServiceProvider> getCSPsByIdp(IdentityProvider identityProvider)
public CompoundServiceProvider getCSPById(IdentityProvider idp, long compoundSpId, boolean refreshCache)
idp - the IDPcompoundSpId - longpublic CompoundServiceProvider getCSPById(String serviceProviderEntityId)
serviceProviderEntityId - the ServiceProviderprotected org.joda.time.DateTime getNow()
public void setLmngArticleCacheExpireSeconds(int lmngArticleCacheExpireSeconds)
public void setLmngLicenseCacheExpireSeconds(int lmngLicenseCacheExpireSeconds)
Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.