Authentication and web services in Domino?

后端 未结 2 1332
星月不相逢
星月不相逢 2021-01-19 13:18

Is there a way to allow authentication in Domino webservices? If so, how would I do it?

2条回答
  •  生来不讨喜
    2021-01-19 14:19

    Another way in JAVA would be:

    ServiceBindingStub stub = (WebServiceBindingStub) new ServiceLocator().getWebServicePort(portAddress);
    stub.setSSLOptions(PortTypeBase.NOTES_SSL_ACCEPT_SITE_CERTS + PortTypeBase.NOTES_SSL_ACCEPT_EXPIRED_CERTS);
    
    stub.setUsername(usr);
    stub.setPassword(pwd);
    

提交回复
热议问题