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

Wildcards do not work with permissions #7616

Closed
GhostInAMachine opened this issue Feb 26, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@GhostInAMachine
Copy link

commented Feb 26, 2016

Steps to reproduce:

  1. Configure a permission with a wildcard, e.g.
    < queue-permission name="secure.*" principal="admin" >
  2. Try to create a queue named "secure.orders" from the client

Observe that java.security.AccessControlException is thrown.

@jerrinot jerrinot added this to the 3.6.2 milestone Mar 2, 2016

jerrinot added a commit to jerrinot/hazelcast that referenced this issue Mar 2, 2016

jerrinot added a commit to jerrinot/hazelcast that referenced this issue Mar 2, 2016

Switch arguments in permission wildcard matchers
Fixes hazelcast#7616
Many thanks to @GhostInAMachine for a hint!
(cherry picked from commit f6cff01)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.