Re: JAAS in Tomcat

2006-02-17 Thread Mohan Radhakrishnan
Hi, Now I have made some progress. My policy file is grant CodeBase "file:C:/apache-tomcat-5.5.15/webapps/struts-blank" Principal * * { permission javax.security.auth.AuthPermission " createLoginContext.WhitePaper"; permission java.util.PropertyPermission "java.home", "read"; perm

JAAS in Tomcat

2006-02-17 Thread Mohan Radhakrishnan
Hi, I have anabled authentication usng JAASRealm in Tomcat 5.x The steps are 1. Security constraints in web.xml - Working 2. JAAS LoginModule implementation - Working because I am able to login. 3. Policy file like this grant CodeBase "file:./struts-blank.war" Principal com.paper.security.fil