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()
          Instantiates a new password handler.
 
Method Summary
 List<String> getTagnames()
          Gets the tagnames.
 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()
Instantiates a new password handler.

Method Detail

getTagnames

public List<String> getTagnames()
Gets the tagnames.

Returns:
the tagnames

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 - the new tagnames

handleEvent

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

Specified by:
handleEvent in interface EventHandler
Parameters:
event - the event


Copyright © 2011–2014 Talend Inc.. All rights reserved.