at.gv.egiz.moodle.eidconnector.logging.impl
Class SimpleStatisticLogger
java.lang.Object
at.gv.egiz.moodle.eidconnector.logging.impl.SimpleStatisticLogger
- All Implemented Interfaces:
- StatisticLogger
public class SimpleStatisticLogger
- extends Object
- implements StatisticLogger
A very simply version of a statistical logger.
- Author:
- AT-TUG (Thomas Knall)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStatisticLogger
public SimpleStatisticLogger()
log
public void log(Date timestamp,
String assertionIssuerId,
String spID,
String sha1OfEID,
String citizenCountryCode,
Integer citizenQAALevel,
Integer age,
Object... other)
- Creates a log entry with log level DEBUG 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 are also logged if provided.
- 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.others
- An arbitrary number of further fields to be logged.
Copyright 2009 EGIZ. All Rights Reserved.