8 Replies Latest reply on Jan 17, 2004 2:40 AM by juha

    NT Authentication

      I have JBoss running on a NT network and would like to use NT authentication to ensure that the users can view the site. What is the best way to acheive this?

        • 1. Re: NT Authentication

          To answer my own question: - I found http:/jcifs.samba.org very useful.


          • 2. Re: NT Authentication
            mcrusty

            Have you done it? I am trying to do the same thing now. Wondering how to do this.


            thanks

            • 3. Re: NT Authentication

              I've done this using the tagish DLL and wrapped a JBoss login module around it. Seems to work.

              • 4. Re: NT Authentication
                chreichert

                 

                "juha@jboss.org" wrote:
                I've done this using the <a href="http://free.tagish.net/jaas/doc.html">tagish</a> DLL and wrapped a JBoss login module around it. Seems to work.



                Could you be a little bit more specific?

                I'm trying to set this up, to protect a part of my webapp, but unfortunately, I cannot get this to work.

                Any hints, what to put into the according files (login-config.xml, web.xml, jboss-web.xml) is highly appreciated.

                Chris

                • 5. Re: NT Authentication

                  You'll have to write a JBoss LoginModule wrapper around it. Tagish only does authentication but no J2EE authorization so you either need to code authorization (role mapping) logic into your login module, or use the password-stacking feature that allows you to stack one login module for authentication and another one for authorization.

                  • 6. Re: NT Authentication
                    centor

                    I have setup Tagish trying to get it to authenticate with my Win2k Domain and I keep getting 401 errors. I get the Login Box up and type the username and password but it doesn't seem to be authenticating to my Win2k Domain. Not sure how to debug this problem. Any help would be appreciated.

                    Also are there any other ways to setup JBoss to Authenticate with an NT Domain?

                    • 7. Re: NT Authentication
                      centor

                      We are using JBOSS with our application and would like to find a LoginModule to support Windows NT\2000 Login Authentication. I have tried Tagish but can't seem to get it to work. I was able to get the tagish FileLogin to work but not the NT authentication module. The documentation needs work, so I'm not sure I have it setup correctly. Is anyone having success with tagish or any other software.

                      Is JBoss planning on creating a LoginModule for NT simular like LDAP module. Are there other 3rd parties that have LoginModule for JBOSS?


                      Thanks for any help.

                      • 8. Re: NT Authentication

                        I might eventually move the current NT authentication implementation to CVS if/when I find the time and motivation to do it (there are some tweaks I want to add to it). If you need it urgently the implementation and howto is available for JBoss Group support customers via the salesforce portal.