String arg0 = ((StringAttribute) (argValues[0])).getValue();
String arg1 = ((RFC822NameAttribute) (argValues[1])).getValue();
if (arg0.indexOf('@') != -1) {
// this is case #1 : a whole address
String normalized = (new RFC822NameAttribute(arg0)).getValue();
boolResult = normalized.equals(arg1);
} else if (arg0.charAt(0) == '.') {
// this is case #3 : a sub-domain
boolResult = arg1.endsWith(arg0.toLowerCase());
} else {