static {
   try {
     dsProvider = SAML2Utils.getDataStoreProvider();
   } catch (Exception ex) {
     debug.error("DefaultAttributeMapper.static init failed.", ex);
   }
 }
  /**
   * Returns the attribute map by parsing the configured map in hosted provider configuration
   *
   * @param realm realm name.
   * @param hostEntityID <code>EntityID</code> of the hosted provider.
   * @return a map of local attributes configuration map. This map will have a key as the SAML
   *     attribute name and the value is the local attribute.
   * @exception <code>SAML2Exception</code> if any failured.
   */
  public Map getConfigAttributeMap(String realm, String hostEntityID, String role)
      throws SAML2Exception {

    return SAML2Utils.getConfigAttributeMap(realm, hostEntityID, role);
  }