common eap code

EAP6 adapter now uses tomcat core adapter code.