Index: lams_admin/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -re4eb88025154e19407aa4f68bf880fd8b6b06711 -rbc83e1708c00ed0163382fb0b215cc3c8c41e018 --- lams_admin/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision e4eb88025154e19407aa4f68bf880fd8b6b06711) +++ lams_admin/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision bc83e1708c00ed0163382fb0b215cc3c8c41e018) @@ -665,3 +665,13 @@ tool.groups.group.name.error = A group name can not be blank tool.groups.save.error = Error while saving groups config.login.as.enable = Enable Login-as feature for administrators +sysadmin.lti.advantage=LTI Advantage settings +sysadmin.lti.advantage.platform.issuer=Platform issuer (platform name) +sysadmin.lti.advantage.platform.keyset.url=Platform keyset URL +sysadmin.lti.advantage.platform.oidc.url=Platform OIDC authentication URL +sysadmin.lti.advantage.platform.access.token.url=Platform access token URL +sysadmin.lti.advantage.tool.client.id=Tool client ID +sysadmin.lti.advantage.tool.keyset.url=Tool keyset URL +sysadmin.lti.advantage.tool.key.id=Tool key ID +sysadmin.lti.advantage.tool.public.key=Public key +sysadmin.lti.advantage.tool.private.key=Private key \ No newline at end of file Index: lams_admin/src/java/org/lamsfoundation/lams/admin/web/form/LtiConsumerForm.java =================================================================== diff -u -r058adba867d104c2148e289a3dacda7f22f6ac60 -rbc83e1708c00ed0163382fb0b215cc3c8c41e018 --- lams_admin/src/java/org/lamsfoundation/lams/admin/web/form/LtiConsumerForm.java (.../LtiConsumerForm.java) (revision 058adba867d104c2148e289a3dacda7f22f6ac60) +++ lams_admin/src/java/org/lamsfoundation/lams/admin/web/form/LtiConsumerForm.java (.../LtiConsumerForm.java) (revision bc83e1708c00ed0163382fb0b215cc3c8c41e018) @@ -37,6 +37,24 @@ private String userIdParameterName; + private String issuer; + + private String clientId; + + private String platformKeySetUrl; + + private String oidcAuthUrl; + + private String accessTokenUrl; + + private String toolKeySetUrl; + + private String toolKeyId; + + private String publicKey; + + private String privateKey; + public LtiConsumerForm() { userIdParameterName = "user_id"; } @@ -49,6 +67,14 @@ this.ltiToolConsumerMonitorRoles = ltiToolConsumerMonitorRoles; } + public String getUserIdParameterName() { + return userIdParameterName; + } + + public void setUserIdParameterName(String userIdParameterName) { + this.userIdParameterName = StringUtils.trim(userIdParameterName); + } + @Override public String getLessonFinishUrl() { return lessonFinishUrl; @@ -59,11 +85,75 @@ this.lessonFinishUrl = lessonFinishUrl; } - public String getUserIdParameterName() { - return userIdParameterName; + public String getIssuer() { + return issuer; } - public void setUserIdParameterName(String userIdParameterName) { - this.userIdParameterName = StringUtils.trim(userIdParameterName); + public void setIssuer(String issuer) { + this.issuer = issuer; } + + public String getClientId() { + return clientId; + } + + public void setClientId(String clientId) { + this.clientId = clientId; + } + + public String getPlatformKeySetUrl() { + return platformKeySetUrl; + } + + public void setPlatformKeySetUrl(String platformKeySetUrl) { + this.platformKeySetUrl = platformKeySetUrl; + } + + public String getOidcAuthUrl() { + return oidcAuthUrl; + } + + public void setOidcAuthUrl(String oidcAuthUrl) { + this.oidcAuthUrl = oidcAuthUrl; + } + + public String getAccessTokenUrl() { + return accessTokenUrl; + } + + public void setAccessTokenUrl(String accessTokenUrl) { + this.accessTokenUrl = accessTokenUrl; + } + + public String getToolKeySetUrl() { + return toolKeySetUrl; + } + + public void setToolKeySetUrl(String toolKeySetUrl) { + this.toolKeySetUrl = toolKeySetUrl; + } + + public String getToolKeyId() { + return toolKeyId; + } + + public void setToolKeyId(String toolKeyId) { + this.toolKeyId = toolKeyId; + } + + public String getPublicKey() { + return publicKey; + } + + public void setPublicKey(String publicKey) { + this.publicKey = publicKey; + } + + public String getPrivateKey() { + return privateKey; + } + + public void setPrivateKey(String privateKey) { + this.privateKey = privateKey; + } } \ No newline at end of file Index: lams_admin/web/integration/ltiConsumer.jsp =================================================================== diff -u -r058adba867d104c2148e289a3dacda7f22f6ac60 -rbc83e1708c00ed0163382fb0b215cc3c8c41e018 --- lams_admin/web/integration/ltiConsumer.jsp (.../ltiConsumer.jsp) (revision 058adba867d104c2148e289a3dacda7f22f6ac60) +++ lams_admin/web/integration/ltiConsumer.jsp (.../ltiConsumer.jsp) (revision bc83e1708c00ed0163382fb0b215cc3c8c41e018) @@ -94,28 +94,86 @@