on 07-17-2012 9:29 AM
Hello!
I need to get a very simple function - to allow the user to enter their credentials to access WS.
But I can't find the way to do it.
I created a REST WS, create a profile, enables HTTP Basic Authentication.
Then I try to user standard PK parameters - username and password, but it seems to be an authentication parameters to SUP platform. Nothing works.
Then I created new PKs (login and password) and set them in the HTTP Basic Authentication. But it also doesn't work with an error in log: com.sybase.dataservices.DSException:The security context does not contain the parameter key 'pk_login'.
Also I didn't find the way to use that PK in the Mobile Workflow - that keys weren't in the dropdown of the available PKs.
So could anyone to give me a clue how to achive my needs?
I made a new step forward - I added two parameters to WS's URI - login and password, so they appears in the WF.
Now the WS work fine. Is that method correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.