<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*"
             mustMatch="false" xmlns="proxy.xsd">
    <serverUrls>
        <serverUrl url="http://services.arcgisonline.com"
                   matchAll="true"/>
        <serverUrl url="h "
                   matchAll="true" 
                   tokenServiceUri=" "
                   username="username"
                   password="password" />
                   
    </serverUrls>
    <logFile>D:\\log.log</logFile>
</ProxyConfig>

 

为了自动获取token在proxy。config中配置了   tokenServiceUri、username、password ,proxy服务会自动获取token

 

这个配置在,net版本中没有问题。但是在java版本中无法正确获取token,删除tokenServiceUri配置就可以了

 

相关文章:

  • 2022-01-14
  • 2021-03-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-08
猜你喜欢
  • 2021-07-17
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-11-29
  • 2021-07-21
相关资源
相似解决方案