nl.surfnet.coin.selfservice.service.impl
Class LmngServiceImpl

java.lang.Object
  extended by nl.surfnet.coin.selfservice.service.impl.LmngServiceImpl
All Implemented Interfaces:
LicensingService

public class LmngServiceImpl
extends Object
implements LicensingService

Implementation of a licensing service that get's it information from a webservice interface on LMNG


Constructor Summary
LmngServiceImpl()
           
 
Method Summary
 List<License> getLicensesForIdentityProvider(IdentityProvider identityProvider)
          Gets a list with Licenses for the given identityProvider which are valid today.
 List<License> getLicensesForIdentityProvider(IdentityProvider identityProvider, Date validOn)
          Gets a list with Licenses for the given identityProvider which are valid on the given day
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LmngServiceImpl

public LmngServiceImpl()
Method Detail

getLicensesForIdentityProvider

public List<License> getLicensesForIdentityProvider(IdentityProvider identityProvider)
Description copied from interface: LicensingService
Gets a list with Licenses for the given identityProvider which are valid today.

Specified by:
getLicensesForIdentityProvider in interface LicensingService
Parameters:
identityProvider - the identityProvider to get the licenses for
Returns:
a list of possible valid licenses

getLicensesForIdentityProvider

public List<License> getLicensesForIdentityProvider(IdentityProvider identityProvider,
                                                    Date validOn)
Description copied from interface: LicensingService
Gets a list with Licenses for the given identityProvider which are valid on the given day

Specified by:
getLicensesForIdentityProvider in interface LicensingService
Parameters:
identityProvider - the identityProvider to get the licenses for
validOn - Date on which the license should be valid
Returns:
a list of possible valid licenses


Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.