• 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

Integrate JAAS with JSP and Servlets

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody give me an insight as to how to integrate JAAS in JSPs and Servlets?Will I have to write my own Callbackhandler for Biometric Authentication?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aditi,

Can you please tell us more about what you are trying to do?
 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to implement a Biometric Gateway Authentication for which I am thinking of using JAAS. For this system there are two levels of authentication,a password based authentication followed by a biometric authentication. Both password and biometric data will be stored in an Oracle database.This system has to work using JSPs and Servlets.I want to know how will I use JAAS and JSP + Servlets.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Will I have to write my own Callbackhandler for Biometric Authentication?


Probably yes. How JAAS integrates with web app security is not part of the servlet spec, and thus varies from server to server. E.g., Tomcat uses the JAASRealm for this.
 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.Could anybody please elaborate more on this topic?
[ March 18, 2008: Message edited by: Aditi Aak ]
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Elaborate on what?

JAAS is a huge topic that can't be explained in a forum like this. The http://faq.javaranch.com/java/SecurityFaq has a few links that will get you started.

JAAS integration with a servlet container varies depending on which one you're using. If you tell us which one that is, we may be able to help.
 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok.Thanks Ulf.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Elaborate on what?

JAAS is a huge topic that can't be explained in a forum like this. The http://faq.javaranch.com/java/SecurityFaq has a few links that will get you started.

JAAS integration with a servlet container varies depending on which one you're using. If you tell us which one that is, we may be able to help.



I'm using tomcat 5.5 server through which I'm trying to implement JAAS api.please tell me how to implement JAAS with jsp/servlets.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Puneet,

Please do not reply to year old threads. Please open a new thread in appropriate forum.

As for your question, Ulf already pointed out in his reply that JAAS is a vast topic and each web container has its own configurations. You will have to check the web containers documentation for more details.
 
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic