1 19 20 21 package org.apache.james.transport.matchers; 22 23 import org.apache.mailet.GenericMatcher; 24 25 public class SMTPAuthSuccessfulTest extends AbstractHasMailAttributeTest { 26 27 private final String SMTP_AUTH_USER_ATTRIBUTE_NAME = "org.apache.james.SMTPAuthUser"; 28 29 protected String getHasMailAttribute() { 30 return ""; 31 } 32 33 protected GenericMatcher createMatcher() { 34 return new SMTPAuthSuccessful(); 35 } 36 37 protected String getConfigOption() { 38 return "SMTPAuthSuccessful"; 39 } 40 41 protected void init() { 42 super.init(); 43 setMailAttributeName(SMTP_AUTH_USER_ATTRIBUTE_NAME); 44 } 45 46 } 47 | Popular Tags |