Announcement Announcement Module
Collapse
No announcement yet.
NTLM Spring Security Example Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • NTLM Spring Security Example

    Hi,

    I'm new to spring security and would like to use NTLM for single sign on. The current documentation doesn't provide an example, so I was wondering if someone could post one?

    Cheers

    Mark

  • #2
    Did you find any example?

    Hi. I am trying to find information regarding the same thing, did you find anything you want to share? :-)

    Regards,
    Magnus

    Comment


    • #3
      There is an example in the Spring Security distributions that configures NTLM with Spring. You should take a look to that one.

      I don't know if it is updated to use Spring 2.0 namespaces.

      Comment


      • #4
        Hmm, I don't see any examples in the 2.0.1 distro.

        samples-contacts - JDBC User Dao
        samples-tutorial - In Memory User Store

        Is there something I'm missing?

        Comment


        • #5
          Apparently there isn't.. I thought there was an example though!

          Maybe you can take a look at following blog post, it explains in quite some detail how to enable NTLM authentication in Acegi, and will be usefull for SS as well:
          NTLM Authentication

          Comment


          • #6
            Good acegi example, but no spring info?

            Hi, thanks for the link. I have tried to follow the example, but am having problems doing the same in the spring version. For example, I cant find any replacement for "org.acegisecurity.providers.smb.SmbNtlmAuthentica tionProvider". It just feels really strange that there seems to be no documentation at all regarding this, especially since they list at as one of the features on there first page: "Windows NTLM support, providing easy enterprise-wide single sign on against Windows corporate networks".

            Regards,
            Magnus

            Comment


            • #7
              I'll try to make an update-to-date blog entry this week.. providing you with the link when it's finished.
              Are you using Spring Security 2.0, with new namespace config?

              please be patient

              Comment


              • #8
                Great, awaiting eagerly :-)

                And I am using the latest Spring namespace (spring-security-2.0.1.xsd).

                Thanx
                Magnus

                Comment


                • #9
                  NTLM with Spring Security 2.0

                  I made a blog entry that can help in enabling NTLM authentication in your spring based webapps. Although it is not completely finished yet (I would like to add Spring 2.0 namespace config), you can already have a look at it: NTLM with Spring Security 2.0
                  Last edited by -FoX-; Jun 11th, 2009, 02:25 AM.

                  Comment


                  • #10
                    Thank!

                    Great, thank you!
                    Will go through it and hopefully get everything working as I want :-)

                    //Magnus

                    Comment


                    • #11
                      Awesome!

                      Thanks very much... your documentation should be made into either an example app or included in the security documentation!

                      Cheers!

                      Comment


                      • #12
                        Example

                        Hello,
                        Do you have an example app? I couldn't get my app to work and the example could be the very helpful for me.
                        Regards,
                        Maciej

                        Comment

                        Working...
                        X