OP-421 Convert the Groovy to Java
Converted Domain validation package to Java