IdRepoUtils.java revision 133bed8ec2ccc857a62d6301f67c3ef3d36aa333
0N/A * at opensso/legal/CDDLv1.0.txt.
0N/A * $Id: IdRepoUtils.java,v 1.3 2010/01/06 22:31:55 veiming Exp $
public class IdRepoUtils {
public static <T> Map<String, T> getAttrMapWithoutPasswordAttrs(Map<String, T> attrMap, Set<String> pwdAttrs) {
return attrMap;
return schemaFiles;
args);
throws Exception {
schemaFile));
int len;
dbName);
return null;
throws Exception {
new LDAPConnection();
return ld;
* Parses the incoming types and operations in string format to their domain object equivalent. For example:
* @param typesAndOperations The parsable type and operation lines (each line represents an identity type.
public static Map<IdType, Set<IdOperation>> parseSupportedTypesAndOperations(Set<String> typesAndOperations) {
Map<IdType, Set<IdOperation>> supportedTypesAndOperations = new HashMap<IdType, Set<IdOperation>>(6);
boolean supportsService = false;
supportsService = true;
supportsService = true;
return supportedTypesAndOperations;
private static Set<IdOperation> parseSupportedOperations(String operations, boolean supportsService) {
if (supportsService) {
return idOperations;
* Parses attribute mapping settings in the format of "from=to". If there is no mapping provided, then this will be
return map;
return map;