[java-idp-oidc] branch main updated: JOIDC-27 - Add jar and scripts for JWT generation
Scott Cantor
cantor.2 at osu.edu
Tue Feb 9 15:41:45 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-idp-oidc.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=8ab38302bd533a176e39e2350a20815a63ea927a
The following commit(s) were added to refs/heads/main by this push:
new 8ab38302 JOIDC-27 - Add jar and scripts for JWT generation
8ab38302 is described below
commit 8ab38302bd533a176e39e2350a20815a63ea927a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Feb 9 10:41:34 2021 -0500
JOIDC-27 - Add jar and scripts for JWT generation
https://issues.shibboleth.net/jira/browse/JOIDC-27
---
.../net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.bat | 4 ++++
.../net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.sh | 7 +++++++
...-web-key-generator-0.8.2-jar-with-dependencies.jar | Bin 0 -> 9044200 bytes
.../shibboleth/idp/plugin/oidc/op/module.properties | 12 +++++++++++-
4 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.bat b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.bat
new file mode 100644
index 00000000..8dd753f1
--- /dev/null
+++ b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.bat
@@ -0,0 +1,4 @@
+ at echo off
+setlocal
+
+"%~dp0\runclass.bat" -jar %~dp0\lib\json-web-key-generator-0.8.2-jar-with-dependencies.jar %*
diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.sh b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.sh
new file mode 100755
index 00000000..d7b97b7a
--- /dev/null
+++ b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+declare LOCATION
+
+LOCATION=$(dirname $0)
+
+$LOCATION/runclass.sh '-jar' $LOCATION/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar "$@"
\ No newline at end of file
diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar
new file mode 100644
index 00000000..c697d8af
Binary files /dev/null and b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar differ
diff --git a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties
index 4c44f186..426c7f71 100644
--- a/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties
+++ b/idp-oidc-extension-impl/src/main/resources/net/shibboleth/idp/plugin/oidc/op/module.properties
@@ -8,7 +8,7 @@ idp.oidc.OP.plugin = net.shibboleth.idp.plugin.oidc.op
idp.oidc.OP.name = OIDC OP
idp.oidc.OP.desc = OpenID Connect OP functionality
-#idp.oidc.OP.url = TODO
+idp.oidc.OP.url = /OIDC+OP
idp.oidc.OP.1.src = /net/shibboleth/idp/plugin/oidc/op/conf/oidc.properties
idp.oidc.OP.1.dest = conf/oidc.properties
@@ -33,4 +33,14 @@ idp.oidc.OP.6.optional = true
idp.oidc.OP.7.src = /net/shibboleth/idp/plugin/oidc/op/static/openid-configuration.json
idp.oidc.OP.7.dest = static/openid-configuration.json
+idp.oidc.OP.8.src = /net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.sh
+idp.oidc.OP.8.dest = bin/jwtgen.sh
+idp.oidc.OP.8.exec = true
+
+idp.oidc.OP.9.src = /net/shibboleth/idp/plugin/oidc/op/bin/jwtgen.bat
+idp.oidc.OP.9.dest = bin/jwtgen.bat
+
+idp.oidc.OP.10.src = /net/shibboleth/idp/plugin/oidc/op/bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar
+idp.oidc.OP.10.dest = bin/lib/json-web-key-generator-0.8.2-jar-with-dependencies.jar
+
idp.oidc.OP.postenable = See documentation for additional instructions to enable the OP module.
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list