bbb-lti: Updated README file

This commit is contained in:
Jesus Federico 2014-08-29 12:57:02 -04:00
parent d0df58cf44
commit e31c97c27a
2 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ Deployment
=============
Place the war file into the tomcat webapps directory and restart tomcat
sudo cp lti-0.1.war /var/lib/tomcat6/webapps/lti.war
sudo cp target/lti-0.2.war /var/lib/tomcat6/webapps/lti.war
Configure the properties
@ -52,7 +52,7 @@ Edit the URL and Salt of the BigBlueButton server you are going to connect to (N
Edit the LTI basic information
ltiEndPoint=http://yourbigbluebuttonserver.com/lti/tool.xml
ltiEndPoint=yourbigbluebuttonserver.com
ltiConsumers=demo:welcome,consumer1:secret1

View File

@ -226,7 +226,7 @@ class ToolController {
}
}
private void setLocalization(params){
private void setLocalization(Map<String, String> params){
String locale = params.get(Parameter.LAUNCH_LOCALE)
locale = (locale == null || locale.equals("")?"en":locale)
String[] localeCodes = locale.split("_")
@ -237,7 +237,7 @@ class ToolController {
session['org.springframework.web.servlet.i18n.SessionLocaleResolver.LOCALE'] = new Locale(localeCodes[0])
}
private Object doJoinMeeting(params) {
private Object doJoinMeeting(Map<String, String> params) {
Map<String, String> result = new HashMap<String, String>()
setLocalization(params)
@ -281,7 +281,7 @@ class ToolController {
* @param the HTTP request parameters
* @return the key:val pairs needed for Basic LTI
*/
private Properties sanitizePrametersForBaseString(params) {
private Properties sanitizePrametersForBaseString(Map<String, String> params) {
Properties reqProp = new Properties();
for (String key : params.keySet()) {
if (key == "action" || key == "controller" || key == "format") {