Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication and web services in Domino?

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

like image 797
Bruce Stemplewski Avatar asked Dec 21 '22 22:12

Bruce Stemplewski


2 Answers

IBM has an example here. There are other options.

like image 159
Rob Darwin Avatar answered Jan 24 '23 11:01

Rob Darwin


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);
like image 45
Ketil Hjerpaasen Avatar answered Jan 24 '23 11:01

Ketil Hjerpaasen