users@glassfish.java.net

Re: WSDL with basic auth

From: <glassfish_at_javadesktop.org>
Date: Mon, 28 Jul 2008 05:06:08 PDT

For BASIC authentication you need to have the following in web.xml

      <login-config>
         <auth-method>BASIC</auth-method>
         <realm>default</realm>
       </login-config>

And make sure you specify the principal to role mapping in sun-web.xml for role Users or enable default P2R mapping using admin Gui.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]

http://forums.java.net/jive/thread.jspa?messageID=289769