/** * Gets the DS attribute for the PP attribute. * * @param ppAttribute PP attribute * @return String LDAP Attribute */ public String getDSAttribute(String ppAttribute) { Map configMap = IDPPServiceManager.getInstance().getPPDSMap(); if (configMap == null) { IDPPUtils.debug.error("IDPPAttributeMapper:getDSAttribute:Attrib" + "Map is not null"); return null; } String attribMap = (String) configMap.get(ppAttribute); if (IDPPUtils.debug.messageEnabled()) { IDPPUtils.debug.message( "IDPPAttributeMapper:getDSAttribute:" + "attribute map for " + ppAttribute + " is " + attribMap); } return attribMap; }
// Static method to get the extension elements private static Set getExtensionElements() { return IDPPServiceManager.getInstance().getExtensionAttributes(); }
/** * Gets the Personal Profile DS Attribute from the attribute mapper. * * @param key PP Attribute * @return String DS Attribute for the respective PP Attribute */ public String getPPAttribute(String key) { AttributeMapper mapper = IDPPServiceManager.getInstance().getAttributeMapper(); return mapper.getDSAttribute(key); }