Don't have Telegram yet? Try it now!
https://www.kingsware.de/2009/06/26/using-jaas-login-modules-from-jboss-in-tomcat/
Using JAAS login modules from jBoss in Tomcat