Basic JAAS security added