• 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Question Authentication Type

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,
Since there are four authentication types can be used in authentication (BASIC / FORM / DIGEST / CLIENT-CERT). I can configure the BASIC authentication without problem. But when I switch to DIGEST authentication type in web.xml and then remove the <realm-name> tag within the <login-config> tag. After that, the login dialog box is popped up without problem, but fail to login even if the username and password are entered correctly, do anyone know the reason?
I saw from the book said that the DIGEST method is not supported by many browsers, is it related to this fact? (But I think IE should support this, is it?)
Thank you for your kind attention.
Yours faithfully,
Benny
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've never used DIGEST myself, but did you read up on this?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#Digested%20Passwords

you'll have to probably pre-digest the passwords. So the tomcat-users.xml file probably won't cut it, you'll have to go with a database realm. Then when you're entering passwords, you'll have to be sure they're stored in digested form.
 
reply
    Bookmark Topic Watch Topic
  • New Topic