Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: NTLM Spring Security Example

  1. #1
    Join Date
    Apr 2008
    Posts
    4

    Default 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. #2
    Join Date
    May 2007
    Posts
    17

    Default 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

  3. #3
    Join Date
    Mar 2005
    Posts
    135

    Default

    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.

  4. #4
    Join Date
    May 2005
    Posts
    21

    Default

    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?

  5. #5
    Join Date
    Mar 2005
    Posts
    135

    Default

    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

  6. #6
    Join Date
    May 2007
    Posts
    17

    Default 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

  7. #7
    Join Date
    Mar 2005
    Posts
    135

    Default

    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

  8. #8
    Join Date
    May 2007
    Posts
    17

    Default Great, awaiting eagerly :-)

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

    Thanx
    Magnus

  9. #9
    Join Date
    Mar 2005
    Posts
    135

    Default 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 at 01:25 AM.

  10. #10
    Join Date
    May 2007
    Posts
    17

    Default Thank!

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

    //Magnus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •