• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

LDAP authentication with sun app server

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when you want to deploy a web application that use a FORM login page you have to supply the form tag with "action=j_security_check" and both properties names for the username and password must be "name=j_username" and "name=j_password"..my point is that this type of authentication uses the file Realm of the web container which means i have to edit the realm file with an editor and add users in it(tomcat-users.xml is an example or using the deployment tool of the server)..so this nonsense if i have a website that register members..i can store users info using JNDI with LDAP but..how to map the authentication process to the LDAP entrie attributes?...how i can say that j_username in the FORM authentication page will be mapped to "cn" attribute in ldap?and also how to map j_passwaord to ldap attribute "userPassword"?

[ May 12, 2008: Message edited by: hisham ragheb ]

[ May 12, 2008: Message edited by: hisham ragheb ]

[ May 12, 2008: Message edited by: hisham ragheb ]
[ May 12, 2008: Message edited by: hisham ragheb ]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do not post the same question multiple times. It causes confusion and duplication of effort as the community tries to help everyone.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic