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.

-Tim

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?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to