I figured out how to fix it.

I was rebuilding contrib/tomcat from Branch_2_4 and putting the
tomcat-service.jar in my 2.4.0 lib/ext directory - it seems it's not
compatible with the release of 2.4.0 - it's only compatible with the cvs
version of jboss. When I rebuilt jboss completely, then remade the
jboss/tomcat bundle - it worked fine.

It seems that java:/jaas/other is not the default. auth.conf says:

"// The default server login module
other {"

It seems that NullSecurityManager is actually the default... And the
NullSecurityManager seems to allow any username/password combination as
being authorized for any role. Might want to change the default to
actually be "other", or change auth.conf to say that NullSecurityManager
is the default. i.e. If i have no jboss-web.xml file in my .war, it seems to
use NullSecurityManager.

David Green

On Wed, 27 Jun 2001, Scott M Stark wrote:

> Ok, so your web.xml looked the same as the one I showed which works
> and yours doesn't?
>
> ----- Original Message -----
> From: "David Green" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 27, 2001 6:34 AM
> Subject: Re: [JBoss-user] Authentication Problem...
>
>
> >
> > I posted my web.xml in which I specified 'propertyAdmin' as the
> > <role-name> - you told me that i needed a jboss-web.xml which specified a
> > <security-domain> - so I posted my new jboss-web.xml along with a
> > statement that I changed all instances of 'propertyAdmin' to 'guest' since
> > I was using java:/jaas/simple. Since my old web.xml was quoted, I didn't
> > want to paste the entire new one as well, since the role-name was the only
> > thing that changed.
> >
> > Thanks,
> >
> > David Green
> >
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to