ADding java access to the realm, and using admin on web.xml