public class LTI2Util extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SCOPE_LtiLink |
static String |
SCOPE_ToolProxy |
static String |
SCOPE_ToolProxyBinding |
| Constructor and Description |
|---|
LTI2Util() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCustomToLaunch(Properties ltiProps,
Properties custom) |
static void |
allowEmail(List<String> capabilities) |
static void |
allowName(List<String> capabilities) |
static void |
allowResult(List<String> capabilities) |
static void |
allowSettings(List<String> capabilities) |
static Object |
getSettings(javax.servlet.http.HttpServletRequest request,
String scope,
org.json.simple.JSONObject link_settings,
org.json.simple.JSONObject binding_settings,
org.json.simple.JSONObject proxy_settings,
String link_url,
String binding_url,
String proxy_url) |
static String |
mapKeyName(String keyname) |
static boolean |
mergeLTI1Custom(Properties custom,
String customstr) |
static boolean |
mergeLTI2Custom(Properties custom,
String customstr) |
static boolean |
mergeLTI2Parameters(Properties custom,
String customstr) |
static org.json.simple.JSONObject |
parseSettings(String settings) |
static String |
parseToolProfile(List<Properties> theTools,
Properties info,
org.json.simple.JSONObject jsonObject) |
static void |
setProperty(Properties props,
String key,
String value) |
static void |
substituteCustom(Properties custom,
Properties lti2subst) |
static String |
validateCapabilities(ToolConsumer consumer,
org.json.simple.JSONObject providerProfile) |
static String |
validateServices(ToolConsumer consumer,
org.json.simple.JSONObject providerProfile) |
public static final String SCOPE_LtiLink
public static final String SCOPE_ToolProxyBinding
public static final String SCOPE_ToolProxy
public static String validateServices(ToolConsumer consumer, org.json.simple.JSONObject providerProfile)
public static String validateCapabilities(ToolConsumer consumer, org.json.simple.JSONObject providerProfile)
public static Object getSettings(javax.servlet.http.HttpServletRequest request, String scope, org.json.simple.JSONObject link_settings, org.json.simple.JSONObject binding_settings, org.json.simple.JSONObject proxy_settings, String link_url, String binding_url, String proxy_url)
public static String parseToolProfile(List<Properties> theTools, Properties info, org.json.simple.JSONObject jsonObject)
public static org.json.simple.JSONObject parseSettings(String settings)
public static boolean mergeLTI1Custom(Properties custom, String customstr)
public static boolean mergeLTI2Custom(Properties custom, String customstr)
public static boolean mergeLTI2Parameters(Properties custom, String customstr)
public static void substituteCustom(Properties custom, Properties lti2subst)
public static void addCustomToLaunch(Properties ltiProps, Properties custom)
public static void setProperty(Properties props, String key, String value)
Copyright © 2009–2016 IMS Global Learning Consortium. All rights reserved.