org.hardtokenmgmt.ws.server.statistics
Class NoStatistics

java.lang.Object
  extended by org.hardtokenmgmt.ws.server.statistics.NoStatistics
All Implemented Interfaces:
IStatisticsReporter

public class NoStatistics
extends java.lang.Object
implements IStatisticsReporter

Class used when no statistics should be collected.

Version:
$Id$
Author:
Philip Vendil 19 jun 2009

Field Summary
 
Fields inherited from interface org.hardtokenmgmt.ws.server.statistics.IStatisticsReporter
EVENT_PUKVIEWED, EVENT_TOKENGENERATED, EVENT_TOKENONHOLD, EVENT_TOKENREACTIVATED, EVENT_TOKENREVOKED, EVENT_TOKENUNREVOKED, EVENT_USERREVOKED
 
Constructor Summary
NoStatistics()
           
 
Method Summary
 void reportEvent(java.lang.String adminId, java.security.cert.X509Certificate adminCert, java.lang.String orgId, java.lang.String department, java.lang.String userId, java.lang.String eventType, java.lang.String tokenType, java.lang.String tokenSN, java.security.cert.X509Certificate certificate, java.lang.String comment)
          Empty implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoStatistics

public NoStatistics()
Method Detail

reportEvent

public void reportEvent(java.lang.String adminId,
                        java.security.cert.X509Certificate adminCert,
                        java.lang.String orgId,
                        java.lang.String department,
                        java.lang.String userId,
                        java.lang.String eventType,
                        java.lang.String tokenType,
                        java.lang.String tokenSN,
                        java.security.cert.X509Certificate certificate,
                        java.lang.String comment)
                 throws java.io.IOException
Empty implementation.

Specified by:
reportEvent in interface IStatisticsReporter
Parameters:
adminId - unique id of administrator performing the event.
adminCert - the certificate used to authenticate by teh admin.
orgId - id of organization related to the event.
department - the department related to the event, it's up to the implementation if this should be supported or not.
userId - unique id of related user.
eventType - type of event, one of EVENT_ constants.
tokenType - type of token, null if not applicable.
tokenSN - serial number of token, null if not applicable
certificate - related certificate, null if not applicable.
comment - related to the event. For revocation reports will the integer value of the reason be used.
Throws:
java.io.IOException - if communication problems occurs to underlying systems.
See Also:
IStatisticsReporter.reportEvent(java.lang.String, java.security.cert.X509Certificate, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.security.cert.X509Certificate, java.lang.String)