Reputation: 49
I want to implement very simple java based web service (Provider) in domino... say print "Hello World"
But this has to first authenticate/authorize the user i.e
login user present in names.nsf valid password access in Db etc.
In short we can say domino login functionality.
Hope u understand the requirement. So I want Hello world to be printed only if user authenticated successfully.
Upvotes: 2
Views: 1132
Reputation: 9359
The authentication is handled by the ACL of the database. The user mentioned in the ACL needs an internet password in their person document.
Once that is set up, your consumer needs to specify the user/password in the stub.
For example, I created a provider called "ws":
Ws stub = new WsServiceLocator().getDomino();
stub.setCredentials("user", "password");
stub.HELLO("world");
Upvotes: 4