Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppContext initialisation fails for subscription-only access key #168

Closed
tKe opened this issue Sep 12, 2017 · 0 comments
Closed

AppContext initialisation fails for subscription-only access key #168

tKe opened this issue Sep 12, 2017 · 0 comments
Assignees
Labels

Comments

@tKe
Copy link
Contributor

tKe commented Sep 12, 2017

The spring AppContext fails to initialize when configured for a subscription client using an access key that does not have Send access on the topic.

With the change to the TopicClient from @Scope("prototype"), the TopicClient is eagerly created, even if it is not autowired in to any beans. As such, a MessageSender is created to support the TopicClient, which results in

AuthorizationFailedException: Unauthorized access. 'Send' claim(s) are required to perform this operation.

We're having to stick with 0.1.5 until this is resolved.

@yungez yungez added the bug label Sep 12, 2017
@yungez yungez removed their assignment Sep 12, 2017
tKe added a commit to tKe/azure-spring-boot that referenced this issue Oct 4, 2017
@yungez yungez closed this as completed in d13f1d7 Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants