Thanks for your anwer.
I know that, but The security constrains on the web.xml, will make some
diference on the behaviour of the *Realm.
But what i really want is new "Realm" made by myself so my application
doens´t be tomcat dependent
----- Original Message -----
From: "Torgeir Veimo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 5:30 PM
Subject: Re: Authentication with JDBC but without JDBCRealms
> João Folha wrote:
> >
> > Hi there, i need some inspiration here.
> > I want my application to be independent of JDBCRealms, any example.
> >
> > I don´t know how to protect the resources from de web.xml file.
>
> You mean you want to use container based authentication, ie. a *Realm,
> but to specify the details in the web.xml file?
>
> This is not supported, the Realm can only specified in the server.xml
> file, and be shared among all Context's.
>
> --
> - Torgeir