@Override
public PortfolioFilter createPortfolioFilter(UserPrincipal user) {
return _restrictedUsers.contains(user.getUserName()) ?
new NodeCheckingPortfolioFilter(new UserPermissionNodeChecker(_portfolioUserMapping, user)) :
NOOP_PORTFOLIO_FILTER;
}