public static final String CLAIM_URI5 = "http://wso2.org/claims/telephone";
public static final String HOME_PROFILE_NAME = "HomeProfile";
public static Map<String, ClaimMapping> getClaimTestData() {
Map<String, ClaimMapping> claims = new HashMap<String, ClaimMapping>();
Claim claim1 = new Claim();
claim1.setClaimUri(CLAIM_URI1);
claim1.setDescription("About Me");
claim1.setDialectURI("http://wso2.org/claims");
claim1.setDisplayTag("About Me");
//claim1.setRegEx("ty&*RegEx");
claim1.setRequired(true);
claim1.setSupportedByDefault(true);
ClaimMapping cm1 = new ClaimMapping();
cm1.setClaim(claim1);
cm1.setMappedAttribute("attr1");
claims.put("http://wso2.org/claims/aboutme", cm1);
Claim claim2 = new Claim();
claim2.setClaimUri(CLAIM_URI2);
claim2.setDescription("Given Name");
claim2.setDialectURI("http://wso2.org/claims");
claim2.setDisplayTag("Given Name");
claim2.setRegEx("ty&*RegEx2");
claim2.setRequired(true);
claim2.setSupportedByDefault(true);
ClaimMapping cm2 = new ClaimMapping();
cm2.setClaim(claim2);
cm2.setMappedAttribute("attr2");
claims.put("http://wso2.org/claims/givenname", cm2);
Claim claim4 = new Claim();
claim4.setClaimUri(CLAIM_URI4);
claim4.setDescription("Email");
claim4.setDialectURI("http://wso2.org/claims");
claim4.setDisplayTag("Email");
//claim4.setRegEx("ty&*RegEx2");
claim4.setRequired(true);
claim4.setSupportedByDefault(true);
ClaimMapping cm4 = new ClaimMapping();
cm4.setClaim(claim4);
cm4.setMappedAttribute("attr4");
claims.put("http://wso2.org/claims/emailaddress", cm4);
Claim claim5 = new Claim();
claim5.setClaimUri(CLAIM_URI5);
claim5.setDescription("Phone Number");
claim5.setDialectURI("http://wso2.org/claims");
claim5.setDisplayTag("Phone Number");
//claim5.setRegEx("ty&*RegEx2");
claim5.setRequired(true);
claim5.setSupportedByDefault(true);
ClaimMapping cm5 = new ClaimMapping();
cm5.setClaim(claim5);
cm5.setMappedAttribute("attr5");
claims.put("http://wso2.org/claims/telephone", cm5);
Claim claim3 = new Claim();
claim3.setClaimUri(CLAIM_URI3);
claim3.setDescription("The description is nutts3");
claim3.setDialectURI("http://wso2.org/");
claim3.setDisplayTag("Given Name3");
claim3.setRegEx("ty&*RegEx3");
claim3.setRequired(true);
claim3.setSupportedByDefault(true);
ClaimMapping cm3 = new ClaimMapping();
cm3.setClaim(claim3);
cm3.setMappedAttribute("attr3");
claims.put("http://wso2.org/givenname3", cm3);