org.talend.esb.sam.common.handler.impl
Class PasswordHandler

java.lang.Object
  extended by org.talend.esb.sam.common.handler.impl.PasswordHandler
All Implemented Interfaces:
EventHandler

public class PasswordHandler
extends Object
implements EventHandler

Password handler removes xml-tags within the content of the event. The complete tag will be removed with ""

Author:
cschmuelling

Constructor Summary
PasswordHandler()
           
 
Method Summary
 List<String> getTagnames()
           
 void handleEvent(Event event)
          Replaces all configured elements with a ---replaced--- string
 void setTagnames(List<String> tagnames)
          Set a list with names, which should be filtered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordHandler

public PasswordHandler()
Method Detail

getTagnames

public List<String> getTagnames()

setTagnames

public void setTagnames(List<String> tagnames)
Set a list with names, which should be filtered. For example "password" "passwort" This search is case sensitive.

Parameters:
tagnames -

handleEvent

public void handleEvent(Event event)
Replaces all configured elements with a ---replaced--- string

Specified by:
handleEvent in interface EventHandler


Copyright © 2011 Talend Inc.. All Rights Reserved.