tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: trying to use manager/html app with o.a.catalina.realm.JAASRealm
Date Mon, 25 Aug 2003 10:43:30 GMT
You can place a <Realm> inside a <Context> declaration.

As for the non-working of JAASRealm - I know nothing about it and have not 
used it.


Adam Hardy wrote:
> I'm using org.apache.catalina.realm.JAASRealm for my authentication for 
> my webapps, and I have got to the point where I want to use tomcat's 
> manager and admin app.
> Unfortunately when I try to use JAASRealm for the manager, 
> JAASCallBackHandler throws an exception because it hasn't been given the 
> username and password.
> It is in fact throwing the exception before the user (i.e. me) has even 
> hit the login button on the basic auth. login form.
> It looks like JAASRealm has just not been developed that far yet. Is 
> this so?
> Secondly, how can I configure two realms so that manager can use the 
> MemoryRealm and my apps can carry on using the JAASRealm?

View raw message