MappingInfo attributeMappingInfo = new MappingInfo();
attributeMappingInfo.add(mme);
ap.setMappingInfo(MappingType.ATTRIBUTE.name(),attributeMappingInfo);
SecurityContext sc = SecurityContextFactory.createSecurityContext("test");
MappingManager mm = sc.getMappingManager();
assertNotNull("MappingManager != null", mm);
MappingContext<List<Attribute<String>>> mc = mm.getMappingContext(MappingType.ATTRIBUTE.name());
assertNotNull("MappingContext != null", mc);
HashMap<String,Object> map = new HashMap<String,Object>();
map.put(SecurityConstants.PRINCIPAL_IDENTIFIER, new SimplePrincipal("jduke"));