org.apache.james.protocols.smtp.core.fastfail
Class ReverseEqualsEhloHeloHandler

java.lang.Object
  extended by org.apache.james.protocols.smtp.core.fastfail.ResolvableEhloHeloHandler
      extended by org.apache.james.protocols.smtp.core.fastfail.ReverseEqualsEhloHeloHandler
All Implemented Interfaces:
ProtocolHandler, HeloHook, Hook, RcptHook

public class ReverseEqualsEhloHeloHandler
extends ResolvableEhloHeloHandler


Field Summary
 
Fields inherited from class org.apache.james.protocols.smtp.core.fastfail.ResolvableEhloHeloHandler
BAD_EHLO_HELO, dnsService
 
Constructor Summary
ReverseEqualsEhloHeloHandler()
           
 
Method Summary
protected  boolean isBadHelo(SMTPSession session, String argument)
           
 
Methods inherited from class org.apache.james.protocols.smtp.core.fastfail.ResolvableEhloHeloHandler
check, checkEhloHelo, doHelo, doRcpt, getDNSService, setDNSService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseEqualsEhloHeloHandler

public ReverseEqualsEhloHeloHandler()
Method Detail

isBadHelo

protected boolean isBadHelo(SMTPSession session,
                            String argument)
Overrides:
isBadHelo in class ResolvableEhloHeloHandler
Parameters:
session - the SMTPSession
argument - the argument
Returns:
true if the helo is bad.
See Also:
ResolvableEhloHeloHandler.isBadHelo(org.apache.james.protocols.smtp.SMTPSession, java.lang.String)


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.