Reputation: 583
I don't understand the security behind the Service Bus for Windows Server.
connBuilder.Endpoints.Add(new UriBuilder() { Scheme = "sb", Host =
ServerFQDN, Path = ServiceNamespace }.Uri);
MessagingFactory messageFactory MessagingFactory.CreateFromConnectionString(connBuilder.ToString());
NamespaceManager namespaceManager = NamespaceManager.CreateFromConnectionString(connBuilder.ToString());
with that messageFactory and namespaceManager I can create queues and send stuff right away. Where is the authentication process or authorization being done ? I know there is the possibility to provide some token and stuff. But with this piece of code I can create and send things without the token. How is it possible ?
Upvotes: 0
Views: 59
Reputation: 958
It could be that the Service Bus and your application are running under the same login. I had this scenario in development and it worked as you noted. But installing it on a server with the app running under a different login to the bus's login, I am now facing the need for proper authentication.
Upvotes: 1