protected FinancialSecuritySource initUser(ComponentRepository repo, LinkedHashMap<String, String> configuration) {
if (getUserSecurityMaster() == null) {
return null;
}
FinancialSecuritySource source = new MasterFinancialSecuritySource(getUserSecurityMaster());
if (getUserClassifier() != null) {
ComponentInfo info = new ComponentInfo(SecuritySource.class, getUserClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteFinancialSecuritySource.class);
repo.registerComponent(info, source);