I tried debugging the JAASRealm. This is where things
go wrong- 

 public Principal authenticate(String username, String
credentials) {

 ...
 loginContext = new LoginContext
 (appName, new JAASCallbackHandler(this, username,
                                                 
credentials))
...

  The JAACallbackHandler object gets built, but the
method never returns from the LoginContext connector-
not even an exception.

 Help!

/s

--- Sam Ewing <[EMAIL PROTECTED]> wrote:
> Even added a jaas.conf in my user.dir with  the
> following entry...
> 
> Tomcat {
>    com.sun.security.auth.module.NTLoginModule
> required;
> };
> 
> 
> --- Sam Ewing <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > I am using JAASRealm with the NT Login module. My
> > Realm configuration from
> > server.xml (tomcat 4.1.18) is:
> > 
> > 
> > <Realm
> > className="org.apache.catalina.realm.JAASRealm"
> > debug="99"    
> >
>
roleClassNames="com.sun.security.auth.NTDomainPrincipal"
> >  
> >
>
userClassNames="com.sun.security.auth.NTUserPrincipal"
> > />
> > 
> > I then modified the web.xml for the admin and
> > manager
> > applications, changing it to my NT domain name and
> > restarted Tomcat.
> > 
> > On browsing to the admin and manager application,
> I
> > merely get an empty web page and no error... the
> log
> > files also dont have any error indication. Am I
> > missing something, or is this a bug? I tried
> posting
> > some JAAS Realm questions on tomcat-user... but
> > guess
> > there arent a lot of users using JAASRealms.
> > 
> > TIA
> > 
> > /s
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > http://mailplus.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to