Common authentication library tomcat plugin