Authentication and web services in Domino?

2020-04-08 13:38发布

问题:

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

回答1:

IBM has an example here. There are other options.



回答2:

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);