Tomcat webresources and realm adapters