Authentication and web services in Domino?

狂风中的少年 提交于 2019-12-01 20:57:09

问题


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


来源:https://stackoverflow.com/questions/10539408/authentication-and-web-services-in-domino

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!