• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Authentication Methods

 
blair cairns
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have some pages in the web app accessible through BASIC authentication and some through form authentication? What would my web.xml look like then? I have tried to configure this but the DTD doesnt seem to allow something like this.
Thanks,
Blair
 
Stefan Zoerner
Author
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !
I think it is not possible via declaration in "web.xml", because of the DTD and the spec.
But it is possible to program it by yourself. The HTTP-Headerinformation of the authentication is visible to the Java-WebApp via the request object (getHeader(...)).
Greetings from Germany,
Stefan
[ October 27, 2002: Message edited by: Stefan Zoerner ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic