at.gv.egiz.moodle.eidconnector.logging.impl
Class NOPStatisticLogger

java.lang.Object
  extended by at.gv.egiz.moodle.eidconnector.logging.impl.NOPStatisticLogger
All Implemented Interfaces:
StatisticLogger

public class NOPStatisticLogger
extends Object
implements StatisticLogger

Using this class prevents any statistical logging.

Author:
AT-TUG (Thomas Knall)

Constructor Summary
NOPStatisticLogger()
           
 
Method Summary
 void log(Date timestamp, String assertionIssuerId, String spID, String sha1OfEID, String citizenCountryCode, Integer citizenQAALevel, Integer age, Object... other)
          Creates a log entry using the data provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NOPStatisticLogger

public NOPStatisticLogger()
Method Detail

log

public void log(Date timestamp,
                String assertionIssuerId,
                String spID,
                String sha1OfEID,
                String citizenCountryCode,
                Integer citizenQAALevel,
                Integer age,
                Object... other)
Description copied from interface: StatisticLogger
Creates a log entry using the data provided. Note that timestamp, assertionIssuerId and spID must not be null, while the remaining parameters might be.
After parameter age an arbitrary number of various user defined parameters might be passed. These additional fields should also be logged if provided.
Values that are null should be replaced by an empty String:
e.g. Using CVS logger citizenCountryCode == null and age == null results in
2010-09-07T09:27:20.697Z;VIDP-AT;SaferChat-AT;eFKN39cIZoDjRRZOKhYlTD3dcXE=;;4;

Specified by:
log in interface StatisticLogger
Parameters:
timestamp - The current date.
assertionIssuerId - The identifier of the underlying S-PEPS/V-IDP instance.
spID - The identifier of the service provider being served.
sha1OfEID - A base64 encoded String of the SHA1 hash of the citizen's eIdentifier.
citizenCountryCode - The citizen's home country code (according to ISO 3166-1 alpha-2).
citizenQAALevel - The underlying QAA level.
age - The citizen's age.


Copyright 2009 EGIZ. All Rights Reserved.