Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to implement Spring LDAP authentication when application deployed in JBoss on unix environment?

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
0 down vote favorite

I am trying to implement LDAP authentication using spring security and jboss server.

Below is my environment setup:

  • Active directory running on company Windows server

    application to be deployed jboss server running on RHEL 6.4

    java version to be used: 1.6

    JBoss version: jboss-eap6, jboss-as-7.1.1 Final

  • What i am trying to achieve is :

  • When the user open the application url from the windows machine in company network, he should get authenticated against the company LDAP server and be able to go the dashboard with being asked for password.
    When the same url is opened from any machine outside company network, the the login page should be displayed and on providing credentials authentication should be done against the company LDAP and then the user specific dashboard page should be displayed.

  • I have already gone through the WAFFLE and SPNEGO documentation/tutorials available over internet, but WAFFLE dont work in OS other than Windows as it uses some Win32 api. Also What SPNEGO (PRE-AUTH) does is not exactly what i want to achieve.

    In short in want to implemnent what waffle do but the problem is that my application would be deployed in unix machine.

    Please help me.
    this is supposed to be a surprise, but it smells like a tiny ad:
    Thread Boost feature
      Bookmark Topic Watch Topic
    • New Topic