List<Authority> list = new ArrayList<Authority>();
list.add(new ConcurrentLoginPermission(//
getProperty(repoUser, FTP_MAX_CONCURRENT, config.getMaxConcurrent()),//
getProperty(repoUser, FTP_MAX_CONCURRENT_PER_IP, config.getMaxConcurrentPerIp())));
list.add(new TransferRatePermission(//
getProperty(repoUser, FTP_MAX_DOWNLOAD_RATE, config.getMaxDownloadRate()),//
getProperty(repoUser, FTP_MAX_UPLOAD_RATE, config.getMaxUploadRate())));
list.add(new SlingWritePermission(resolver));
user.setAuthorities(list);