at.gv.egiz.moodle.eidconnector.logging
Interface StatisticLogger
- All Known Implementing Classes:
- CSVStatisticLogger, DatabaseStatisticLogger, NOPStatisticLogger, SimpleStatisticLogger
public interface StatisticLogger
Interface for a statistical logger.
- Author:
- AT-TUG (Thomas Knall)
log
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.
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;
- 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.others
- An arbitrary number of further fields to be logged.
Copyright 2009 EGIZ. All Rights Reserved.