|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.james.smtpserver.core.filter.fastfail.AbstractJunkHandler
org.apache.james.smtpserver.core.filter.fastfail.ValidSenderDomainHandler
public class ValidSenderDomainHandler
| Constructor Summary | |
|---|---|
ValidSenderDomainHandler()
|
|
| Method Summary | |
|---|---|
protected boolean |
check(SMTPSession session)
All checks must be done in this method |
void |
configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
|
java.util.Collection |
getImplCommands()
Return a Collection of implemented commands |
JunkHandlerData |
getJunkHandlerData(SMTPSession session)
Get the JunkHandlerData to work with |
void |
onCommand(SMTPSession session)
Handle the command |
void |
service(org.apache.avalon.framework.service.ServiceManager serviceMan)
|
void |
setCheckAuthClients(boolean checkAuthClients)
Enable checking of authorized clients |
void |
setDnsServer(DNSService dnsServer)
Set the DnsServer |
| Methods inherited from class org.apache.james.smtpserver.core.filter.fastfail.AbstractJunkHandler |
|---|
doProcessing, getAction, getJunkScore, getScore, setAction, setScore |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidSenderDomainHandler()
| Method Detail |
|---|
public void configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconfigure in class AbstractJunkHandlerorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(Configuration)
public void service(org.apache.avalon.framework.service.ServiceManager serviceMan)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(ServiceManager)public void setDnsServer(DNSService dnsServer)
dnsServer - The DnsServerpublic void setCheckAuthClients(boolean checkAuthClients)
checkAuthClients - Set to true to enablepublic void onCommand(SMTPSession session)
CommandHandler
onCommand in interface CommandHandlerCommandHandler.onCommand(SMTPSession)protected boolean check(SMTPSession session)
AbstractJunkHandler
check in class AbstractJunkHandlersession - the SMTPSession
AbstractJunkHandler.check(org.apache.james.smtpserver.SMTPSession)public java.util.Collection getImplCommands()
CommandHandler
getImplCommands in interface CommandHandlerCommandHandler.getImplCommands()public JunkHandlerData getJunkHandlerData(SMTPSession session)
AbstractJunkHandler
getJunkHandlerData in class AbstractJunkHandlersession - the SMTPSession
AbstractJunkHandler.getJunkHandlerData(org.apache.james.smtpserver.SMTPSession)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||