org.jwall.web.audit
Class AuditEventObfuscatorChain

java.lang.Object
  extended by org.jwall.web.audit.AuditEventObfuscatorChain
Direct Known Subclasses:
AuditEventObfuscatorPipe

public class AuditEventObfuscatorChain
extends Object

This class implements a chain of obfuscators. Obfuscators are small snipplets which may replace/anonymize parts of an audit event.

Author:
Christian Bockermann <chris@jwall.org;>

Constructor Summary
AuditEventObfuscatorChain()
          Create a new obfuscator chain.
 
Method Summary
 void addObfuscator(Obfuscator ob)
          This adds a new obfuscator to the list of this chain.
 AuditEvent obfuscate(AuditEvent evt)
           
 boolean obfuscatesSection(Obfuscator obfuscator, Integer id)
          Checks whether the given obfuscator needs to process the section with the specified ID.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditEventObfuscatorChain

public AuditEventObfuscatorChain()
Create a new obfuscator chain.

Method Detail

addObfuscator

public void addObfuscator(Obfuscator ob)
This adds a new obfuscator to the list of this chain.

Parameters:
ob -

obfuscatesSection

public boolean obfuscatesSection(Obfuscator obfuscator,
                                 Integer id)
Checks whether the given obfuscator needs to process the section with the specified ID.

Parameters:
obfuscator -
id -
Returns:

obfuscate

public AuditEvent obfuscate(AuditEvent evt)
                     throws IOException
Throws:
IOException


Copyright © 2012 jwall.org. All Rights Reserved.