org.surfnet.cruncher
Class CruncherClient

java.lang.Object
  extended by org.surfnet.cruncher.CruncherClient
All Implemented Interfaces:
Cruncher

public class CruncherClient
extends Object
implements Cruncher


Constructor Summary
CruncherClient(String cruncherBaseLocation)
           
 
Method Summary
 String getLogins(Date startDate, Date endDate)
           
 String getLoginsByIdp(Date startDate, Date endDate, String idpEntityId)
           
 String getLoginsByIdpAndSp(Date startDate, Date endDate, String idpEntityId, String spEntityId)
           
 String getLoginsBySp(Date startDate, Date endDate, String spEntityId)
           
 List<SpStatistic> getRecentLoginsForUser(String userId, String idpEntityId)
           
 void setCruncherBaseLocation(String cruncherBaseLocation)
           
 void setOauthClient(nl.surfnet.coin.oauth.OauthClient oc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruncherClient

public CruncherClient(String cruncherBaseLocation)
Method Detail

getLogins

public String getLogins(Date startDate,
                        Date endDate)
Specified by:
getLogins in interface Cruncher

getLoginsByIdpAndSp

public String getLoginsByIdpAndSp(Date startDate,
                                  Date endDate,
                                  String idpEntityId,
                                  String spEntityId)
Specified by:
getLoginsByIdpAndSp in interface Cruncher

getLoginsByIdp

public String getLoginsByIdp(Date startDate,
                             Date endDate,
                             String idpEntityId)
Specified by:
getLoginsByIdp in interface Cruncher

getLoginsBySp

public String getLoginsBySp(Date startDate,
                            Date endDate,
                            String spEntityId)
Specified by:
getLoginsBySp in interface Cruncher

getRecentLoginsForUser

public List<SpStatistic> getRecentLoginsForUser(String userId,
                                                String idpEntityId)
Specified by:
getRecentLoginsForUser in interface Cruncher

setOauthClient

public void setOauthClient(nl.surfnet.coin.oauth.OauthClient oc)
Specified by:
setOauthClient in interface Cruncher

setCruncherBaseLocation

public void setCruncherBaseLocation(String cruncherBaseLocation)


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.