web.xml, using form and basic authentication simultaneously

Viewed 3138

I have setup FORM-authentication within web.xml (java-webcontainer) successfully.

I did not find a way to sent the username/password within the get-request of the restful-uri from my client when using FORM-Authentication. So I have to use BASIC-Authentication only for the restful-uri.

So I have this question:

How can I set up both form-based authentication and basic authentication? Basic authentication should only be enabled for the restful-uri.

2 Answers
Related