运行代理权限问题

Just to head off any technical support requests for Stubby or the Weather Fetcher database, please let me remind you that Lotus Notes agents that call web services from a server require a security access of 2. Allow restricted operations.

This is because they're making network connections, which is a restricted operation. In addition, the person who signs the agent needs to have the following access set on the server document of the server the agent runs on:

 

  • Run unrestricted methods and operations
  • Run restricted LotusScript/Java agents

If not, you get errors like:

 

java.lang.SecurityException: not allowed to make a socket connection to www.foo.com

And don't get me started on the loose naming convention that was used, which allowed "unrestricted" and "restricted" to mean the same thing. I've talked about that already, long ago.

 

你可能感兴趣的:(java,socket,Security,Access,Lotus)