Index: lams_bb_integration/web/admin/config.jsp =================================================================== diff -u -ra668b7125637ce2cdaef509dac3616c4b1f2139e -r8fc1a1bffe5907d6f05f859a8f1cb5b2b62709c4 --- lams_bb_integration/web/admin/config.jsp (.../config.jsp) (revision a668b7125637ce2cdaef509dac3616c4b1f2139e) +++ lams_bb_integration/web/admin/config.jsp (.../config.jsp) (revision 8fc1a1bffe5907d6f05f859a8f1cb5b2b62709c4) @@ -1,45 +1,16 @@ +<%@ page contentType="text/html; charset=utf-8" language="java"%> +<%@ page isELIgnored="false" %> + + <%-- - Original Version: 2007 LAMS Foundation - Updated for Blackboard 9.1 SP6 (including new bbNG tag library) 2011 - Richard Stals (www.stals.com.au) - Edith Cowan University, Western Australia ---%> -<%-- Configuration Form for the Building Block System Administration View and set the configuration items --%> -<%@ page import="java.util.Properties"%> -<%@ page import="blackboard.platform.BbServiceManager"%> -<%@ page import="blackboard.platform.plugin.PlugInUtil"%> -<%@ page import="blackboard.platform.plugin.PlugInException"%> -<%@ page import="org.lamsfoundation.ld.integration.util.LamsPluginUtil"%> <%@ page errorPage="/error.jsp"%> <%@ taglib uri="/bbNG" prefix="bbNG"%> +<%@ taglib uri="/tags-core" prefix="c"%> -<% - // SECURITY! - // Authorise current user for System Admin (automatic redirect) - try{ - if (!PlugInUtil.authorizeForSystemAdmin(request, response)) - return; - } catch(PlugInException e) { - throw new RuntimeException(e); - } - - // Get the LAMS2 Building Block properties from Blackboard (if set) - Properties p = LamsPluginUtil.getProperties(); - String lamsServerUrl = p.getProperty("LAMS_SERVER_URL", "http://"); - String lamsServerId = p.getProperty("LAMS_SERVER_ID", ""); - String SecretKey = p.getProperty("LAMS_SERVER_SKEY", ""); - String ReqSrc = p.getProperty("BB_REQ_SRC"); - String lamsServerTimeRefreshInterval = p.getProperty("LAMS_SERVER_TIME_REFRESH_INTERVAL"); - String lamsAltServerUrl = p.getProperty("LAMS_ALT_SERVER_URL", "https://"); - //Add port to the url if the port is in the blackboard url - int bbport = request.getServerPort(); - String bbportstr = bbport != 0 ? ":" + bbport : ""; -%> - <%-- Breadcrumbs It seems we need to build the full trail manually --%> @@ -54,26 +25,26 @@ <%-- Properties Form --%> -
+ - - + + - - + + - - + + - - + + - - + + - - + +

For further information on how to configure these settings, see this tutorial.