You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Angoli, Angelo" <AA...@BroadViewNet.com> on 2002/06/13 20:02:26 UTC

Tomcat Authentication: how to use CredentialsInterceptor?

Hi,

   I'm new to the Tomcat user list.
I want to use Tomcat authentication with SimpleRealm. I read the
documentation, my servlet requires userid and password. What am I supposed
to do to pass it to CredentialsInterceptor 
(right now servlet.xml "authentication block" is as follow:
<AccessInterceptor /> 
<CredentialsInterceptor /> 
<SimpleRealm filename="conf/users/global-users.xml" /> 
)

In other words, which code do I have to write to pass userid and pwd to
CredentialsInterceptor?

Thanks 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>