Now, nobody can login. Here is what I get in the log when the .WAR is deployed
2003-02-19 19:35:16,326 ERROR [org.jboss.jetty.security.JBossUserRealm#Chimera] java:comp/env/security does not appear to be correctly set up
javax.naming.NameNotFoundException: jaas not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
etc.
How can I correct this? (please be detailed)
Thanks
David
David Corbin wrote:
Umm. No. It appears that this should be set on a per-WAR basis.
So, I do that, following the example in the documentation
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<!-- Use the JaasSecurityMgr other security domain for authentication
and authorization of secured web content.
-->
<security-domain>java:/jaas/chimera</security-domain>
</jboss-web>
But, I assume that
1) the domain is a name of my choice.
2) that I have to describe "java:/jaas/chimera" somewhere. I have not found the correct place/documenation for that.
David
I've looked at the stuff in ../server/default/..., and a
Jeremy Boynes wrote:
Do you have a security-domain defined in jboss-web.xml?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Corbin
Sent: Tuesday, February 18, 2003 6:11 PM
To: JBoss User
Subject: [JBoss-user] JBoss as a Jetty wrapper + security
I've a very low-powered machine that I want to run as a servlet
container. I know I could use Tomcat or Jetty by itself, but I use JBoss at work, and know some basic stuff about it, so I thought I'd used JBoss. I started with the minimal configuration, and added a very small bit from the default configuration, and it gives the appearance of working fine as a servlet container. Unfortunately, I've found that it's not really doing authentication. It prompts the user for userId/password (via the browser), but it accepts any combination of userId and password.
What do I need that I'm missing to make this work correctly? I'm happy to use simple properties files for the users and roles.
Thanks
David
------------------------------------------------------- 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