ModeShape/modeshape — pull request #942 by okulikov (2013-09-12 16:14:20+00:00)
Title: MODE-2045: Permission denied exception when access list uses username as principal

This commits fixes user name comparison . Security context returns authenticated user name enclosed in brackets() what cause name mismatch and false permission denied exception.