简体   繁体   中英

Basic Authentication for WEBService by AXIS2

我正在使用Eclispe,正在创建动态项目,也正在通过使用axis2创建存根,同时访问url我需要做一些基本的AUTHENTICATE,如何在Java中执行此操作

You can use security constraints in your web.xml (assuming you are using Tomcat to deploy).

This means that you can filter on who is allowed to access the web service.

Question here gives a general insight into it Tomcat secure access

Tomcat : Bypass basic Authentication for Specified IP Address

You can use either username and password, or filter by IP

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM