Yes, but double-checking that revealed to me that I didn't have consistent roles between web.xml and roles.properties. I don't think it should keep asking me for user Id and password, just because the user I logged in as doesn't have access to the URL in question.

Is there anyway to change that behavior?

David

Jim Crossley wrote:

You do have the users.properties and roles.properties files available
in the classpath, right?

David Corbin <[EMAIL PROTECTED]> writes:



I've done my best double-checking, but I cannot figure out what's
wrong.  I'm trying to use the "other" property-file based security for
a particular WAR file.  I get prompted for User/Passwd, but even when
I put in valid authentication information, it will not authenticate
me.  The log file shows the userId being entered correctly:

2003-02-23 14:15:03,832 WARN
[org.jboss.jetty.security.JBossUserRealm#Chimera] authentication
failure: dcorbin
2003-02-23 14:15:03,835 WARN  [org.jboss.jbossweb] WARNING: AUTH
FAILURE: user dcorbin

"Chimera" is the realm as specified in my web.xml:

 <login-config>
   <auth-method>BASIC</auth-method>
   <realm-name>Chimera</realm-name>
 </login-config>
and that is correctly being shown in my browser when I get prompted to
login.

What's the next step in debugging this problem?
Thanks
David Corbin

P.S., for those of you who remembered my earlier connection, I've
abandonded a customized server configuration, and am now working with
"default".





-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user









-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to