Hello,

I'm attempting to setup my web app to authenticate via the new Servlet 3.0 HttpServletRequest.login method.

I have a JDBC realm set up in the context.xml in Netbeans 7. Now I'd like to use the request.login method to authenticate against that realm.

The problem I'm having is that I get the error message:

javax.servlet.ServletException: no authenticator

When I call the login method.

How do I get the login method to use my JDBC realm?

What am I missing?

Do I need something in web.xml?

Or do I need to declare something special on the servlet that calls the login method?

Do I need a <login-config> section? If so, What should it be populated with?

thanks for any help,
Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to