tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: trying to use manager/html app with o.a.catalina.realm.JAASRealm
Date Mon, 25 Aug 2003 14:02:35 GMT
ah, ok. I put those 2 realms at engine level. So I can't have 2 realms 
in <engine>?

Now thanks to your advice I've got the manager working with 
tomcat-users.xml by placing the realm tag in the manager.xml in the 
webapps dir. However I would like to keep the declaration in my server.xml

Thanks,
Adam

On 08/25/2003 12:43 PM Tim Funk wrote:
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


Mime
View raw message