4

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

Bruce Stemplewski
  • 1,343
  • 1
  • 23
  • 66

2 Answers2

8

IBM has an example here. There are other options.

Rob Darwin
  • 942
  • 1
  • 10
  • 17
  • Could link to this [link](http://stackoverflow.com/a/2055585/401236) for options on basic authentication. – Jbruntt May 11 '12 at 06:25
3

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);
Taryn
  • 242,637
  • 56
  • 362
  • 405