-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Where can i find a simple howto explaining how to use basic authentication?
1.
i've tried with
<parameter name="allowedRoles" value="my_role"/>
in deployment descriptor and it doesen't work
2.
i've tried with
- --------------
<security-costraint>
<web-resource-collection>
<web-resource-name>Web Service Didattica</web-resource-name>
<url-pattern>/services/MyService</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>my_role</role-name>
</auth-constraint>
</security-costraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Axis Basic Authentication Area</realm-name>
</login-config>
<security-role>
<role-name>my_role</role-name>
</security-role>
- -------------
in web.xml ...and it doesn't work again
(tomcat 5.0.28 - axis 1.2RC1 - jsdk 1.4.2_03)
thank you
Ciao,
Ilias
- --
/**
* Reply to: ilias.bartolini(at)studio.unibo.it
* ICQ# 42797710 - FeSToso n�143 - PGP Key-IDs:0x6A951A45
* http://www.brainetwork.net/homepage
* https://www.universibo.unibo.it
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBpLA0+CP4pmqVGkURArgrAJ95PqToWSTnBg4d+EIubWNBRjXVqgCfV9YJ
TTbFHMuS5yiJwrEJBkgX5ss=
=9+gK
-----END PGP SIGNATURE-----