> From: Jeff Powell [mailto:[EMAIL PROTECTED]
> Subject: RE: context.xml and custom realm
>
> I am trying to create a custom realm but it seems that
> with JAAS I have to create a global realm for a specific
> application.

You shouldn't have to.  Just put the <Realm> inside the webapp's <Context> 
element and put whatever classes are used for the realm in the webapp's 
WEB-INF/lib or WEB-INF/classes directory, as appropriate.  You'll also need to 
set the useContextClassLoader attribute of the <Realm> to true.

> My problem is that the database (unidata) does not adapt
> well to odbc and also does not have a java connector.

You really, really want to stay away from any use of odbc.

> Ideally I'd create my own JDBC connector that gets the data
> and returns it in the format a JDBCRealm is expecting it.

I'm confused; first you ask about JAASRealm, and then close with a comment 
about JDBCRealm.  Which is it?

And, as usual, don't make us guess the Tomcat version you're using.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to