Re: Authentication and logging problem

2005-03-07 Thread Guillaume Lederrey
I found the problem : I was using a UserPrincipal and a RolePrincipal that had a case insensitive equals() method. I was first adding the UserPrincipal with name "admin", and then adding a RolePrincipal with name "Admin". The case insensitive equals() implies that the Role was not added as

Authentication and logging problem

2005-03-04 Thread Guillaume Lederrey
Hello ! I'm having problem with a JAAS authentication realm. I created a LoginModule, configured it as explained in http://forum.java.sun.com/thread.jspa?threadID=233317&tstart=0, defined the permissions in my WEB-INF/web.xml ... The log statements (System.out.println()) I have in my log