admin@glassfish.java.net

Multiple authentication methods in one .war?

From: Jim Whiteley <jimmy_at_whiteley.org>
Date: Thu, 2 Sep 2010 11:00:45 -0600

I have two servlets in one .war. One serves web pages and will
require form login. The other is a REST service that requires HTTP
Basic authentication. Is it possible to have two authentication
methods in a single .war? If so, how is this accomplished in web.xml?