@Override public void grantPermission(IdentityType assignee, Object resource, String operation) { try { storeSelector.getStoreForPermissionOperation(this.identityContext).grantPermission(this.identityContext, assignee, resource, operation); } catch (Exception e) { throw MESSAGES.permissionGrantFailed(assignee, resource, operation, e); } }
@Override public void grantPermission(IdentityType assignee, Object resource, String operation) { try { storeSelector.getStoreForPermissionOperation(this.identityContext).grantPermission(this.identityContext, assignee, resource, operation); } catch (Exception e) { throw MESSAGES.permissionGrantFailed(assignee, resource, operation, e); } }