return value;
}
private LdapGroupMapping readLdapGroupMapping( String prefix, Registry registry )
{
LdapGroupMapping value = new LdapGroupMapping();
//String group = registry.getString( prefix + "group", value.getGroup() );
List<String> groupList = registry.getList( prefix + "group" );
String group = value.getGroup();
if (groupList != null && !groupList.isEmpty() )
{
StringBuilder sb = new StringBuilder( );
for (int i = 0,size = groupList.size();i<size;i++)
{
sb.append( groupList.get( i ) );
if (i<size - 1)
{
sb.append( ',' );
}
}
group = sb.toString();
}
value.setGroup( group );
java.util.List roleNames = new java.util.ArrayList/*<String>*/();
roleNames.addAll( registry.getList( prefix + "roleNames.roleName" ) );
value.setRoleNames( roleNames );
return value;
}