[PLINK-436] - Identity.hasPermission(class, identifier) does not work with a JPA store.
Merge pull request #294 from pedroigor/master

[PLINK-436] - Identity.hasPermission(class, identifier) does not work with a JPA store.