Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

SAS or ACS on Windows Service Bus 1.1

$
0
0

HI

Having some basic understanding now of SB for Window 1.1, I find myself faced with authentication questions.

There are two options I see. SAS Tokens or ACS Token.

Specifically, I have a SB installed on a hosted server somewhere in the cloud (not Azure Service Bus). This server is also hosting my web site. I want to allow the web site to write to a Queue. As I understand it, my client (the web site) will need to authenticate with the SB and satisfy a rule with the Write claim.

The web site can do this using a SAS token or ACS token can't it? With SAS, I create a SAS Rule on SB, give it a name and claim. This then generates two keys (primary and secondary). Do I simply use the friendly name of the rule and the primary key in the connection string in order to authenticate?

Additionally, I have a Windows Desktop application that also connects to my SB and subscribes to a Topic. Should I do the same here, use a friendly name SAS Rule and its primary key in the clients connection string to authenticate?

How would this differ using ACS?

Lots of questions I know. Sorry!

Thanks

Graham


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>