jaas and java env templates.