• 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

JAAS, mixing cofigs ..

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all.
I have developed a very simple web application that uses JAAS.
the application getting the username and the password from a JSP page, then the DataSourceLoginModule tries to check if there are an equivalents for the username and the password in a database.
if yes, authentication is succeded.
this is my login configuration file :
WebLogin {
com.DataSourceLoginModule requisite
};
well, I am a novice and I don't know what means if I added another login module to my config file.
if I added NTSystem module to my file, does this mean that the application will search for the username and the password in the ActiveDirectory ?
if I used KeyStoreLoginModule, does the mean that the user must enter the key store alias of the server's key store in order to be authenticated ?
Please, imagine this scenario :
WebLogin {
com.DataSourceLoginModule requisite
com.sun.security.auth.module.KeystoreLoginModule requisite
};
the JSP page is responsible for collecting the username and the password from the user.
assuimg the user has supplied the right values, how can I prompt the user to enter the key store alias ?
should I create a third text field in the form of the JSP page to collect this alias ?
last question :
I am using WinXP (localhost server), can I use kerberos login module ?
if yes, would you mind telling me what do I need to do to use kerberos in my system ?
thanks alot ranchers
 
reply
    Bookmark Topic Watch Topic
  • New Topic