Your SAS programs, embedded in web apps and elsewhere

Web Service

Reply
Contributor
Posts: 29

Web Service

What is the syntax for passing authentication to mid-tier for json request to a web service?

Example link is

http://mycompany.com/SASBIWS/json/storedProcesses/Shared%20Data/storedprocess

Contributor
Posts: 29

Re: Web Service

Basically I need to programmatically authenticate the call.

Frequent Contributor
Posts: 106

Re: Web Service

I'd assume that you need to integrate your SASBIWS application with JAAS auth on your app server and reconfigure it away from anonymous auth. That way each http request should be treated the same way as they are with the SPWA.

I've never done this though. I chose to use the SPWA for things like this due to the fact that the default authentication setup is better and there are fewer overheads in terms of stuff like axis2 etc.

Ask a Question
Discussion stats
  • 2 replies
  • 449 views
  • 0 likes
  • 2 in conversation