Re: JAAS authentication goes OK, but 403 occurs on requesting resources

2008-04-01 Thread Liyi Meng
bUser"); jaasRealm.setRoleClassNames("web.security.realm.WebRole"); // Start the embedded server this.embedded.start(); running = true; I don't know if there is problem in my Java code. BR/Liyi On Apr 2, 2008, at 12:34 AM, Caldarale, Charles R wrote: From: Liyi Meng [mailto:

JAAS authentication goes OK, but 403 occurs on requesting resources

2008-04-01 Thread Liyi Meng
Hi all, I am trying JAAS in tomcat, but hit on a really frustrating problem right now. When login, authentication goes OK, but when requesting a resource, I always get 403 access denied! I try to print out httprequest.getRemoteUser in servlet, the username is correct there, however httprequest.is