<%-- 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"%> <% // 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 --%> <%-- Page Header --%> <%-- Properties Form --%>

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