Class JanrainHelper

java.lang.Object
org.apache.ofbiz.ecommerce.janrain.JanrainHelper

public class JanrainHelper extends Object
Java Helper Class for Janrain Engage
  • Constructor Details

    • JanrainHelper

      public JanrainHelper(String apiKey, String baseUrl)
  • Method Details

    • getApiKey

      public String getApiKey()
      Gets API key.
      Returns:
      the API key
    • getBaseUrl

      public String getBaseUrl()
      Gets base URL.
      Returns:
      the base URL
    • authInfo

      public static Element authInfo(String token)
    • allMappings

      public HashMap<String,List<String>> allMappings()
      All mappings hash map.
      Returns:
      the hash map
    • mappings

      public List<String> mappings(Object primaryKey)
      Mappings list.
      Parameters:
      primaryKey - the primary key
      Returns:
      the list
    • map

      public void map(String identifier, Object primaryKey)
      Map.
      Parameters:
      identifier - the identifier
      primaryKey - the primary key
    • unmap

      public void unmap(String identifier, Object primaryKey)
      Unmap.
      Parameters:
      identifier - the identifier
      primaryKey - the primary key
    • janrainCheckLogin

      public static String janrainCheckLogin(HttpServletRequest request, HttpServletResponse response)