How can I force a SOAP fault to be returned when JAAS authentication fails?
Issue
I have a JAX-WS endpoint, and I am configuring my JAAS authentication in web.xml and jboss-web.xml. When authentication fails, no SOAP fault is returned; I only get an HTTP 401 (Unautorized) error. How can I force a SOAP fault to be returned?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
