Answering my own question, after finding some useful information in Hans Bergsten's Java Server Pages: I realized that the access was related to how I set up the mySQL tables for jbdc to authenticate against. Eventually I found that there was a difference in spelling between what I had there and role-name that I had in my web.xml file.
-----Original Message----- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:49 PM To: Tomcat Users List Subject: Authenticate works but accessControl fails? Hi, I'm still trying to set up jdbc security realms and have a new problem. I find that depending on what I do in the url-pattern part of web.xml in my application directory I either get in with no authentication being used at all or I get something like this: .... Authenticator:[/kencat] Calling authenticate() ....Authenticated 'ken' with type 'BASIC' ...Calling accessControl() ...Failed accessControl() test I believe that I should be seeing something telling me that I did authenticate but also that I passed the accessControl() test. So I'm wondering if anyone can point me in the right direction to figure out why 'm failing the accessControl() test. I assume that it's the web.xml file that is the problem but I'm completely confident of that. As I said I've made other changes to the uri-pattern that get me to the page but also end up bypassing authentication ('checking constraint.... --> false'). Thanks in advance, ken -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
