Skip to content

Commit

Permalink
Build of develop from Tue Nov 14 16:19:28 UTC 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
opencastproject committed Nov 14, 2023
1 parent 9268bc7 commit 61a2ec2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 25 deletions.
18 changes: 0 additions & 18 deletions develop/admin/configuration/security.jwt/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
var pageToc = [
{title: "Configuration for JWT-based Authentication and Authorization", url: "#_top", children: [
{title: "Prerequisites", url: "#prerequisites" },
{title: "Enable Karaf Feature", url: "#enable-karaf-feature" },
{title: "Spring Security Configuration", url: "#spring-security-configuration" },
]},
];
Expand Down Expand Up @@ -88,10 +87,6 @@


<h1 id="configuration-for-jwt-based-authentication-and-authorization">Configuration for JWT-based Authentication and Authorization</h1>
<div class=warn>
The JWT authentication and authorization is still <b>beta</b>.
</div>

<p>This page describes how to configure Opencast to enable authentication and authorization based on
<a href="https://datatracker.ietf.org/doc/html/rfc7519">JSON Web Tokens (JWTs)</a>. With this feature, a login-mechanism based
on the <a href="https://openid.net/connect/">OpenID Connect (OIDC)</a> protocol can be configured, since OIDC uses JWTs.</p>
Expand All @@ -100,19 +95,6 @@ <h2 id="prerequisites">Prerequisites</h2>
or in a request parameter (i.e. a query parameter for <code>GET</code>-requests, and a form parameter for <code>POST</code>-requests).
In order to integrate Opencast with an OIDC provider you could use the
<a href="https://github.com/oauth2-proxy/oauth2-proxy">oauth2-proxy</a>.</p>
<h2 id="enable-karaf-feature">Enable Karaf Feature</h2>
<p>The JWT authentication and authorization is disabled by default and needs to be enabled before it can be used.
For this, make sure the Karaf feature <code>opencast-security-jwt</code> boots when starting Opencast.</p>
<p>For this, edit the configuration file <code>etc/org.apache.karaf.features.cfg</code> and add the feature:</p>
<pre><code>
http-whiteboard/4.2.9, \
opencast-admin/15.0.0, \
opencast-security-jwt/15.0.0, \
bundle/4.2.9, \
</code></pre>
<p>Make sure to specify the correct version.
The version should always be identical to the one from the main Opencast feature.</p>
<h2 id="spring-security-configuration">Spring Security Configuration</h2>
<p>In order to active JWT-based authentication and authorization, you will need to uncomment and adapt the following
sections found in <code>etc/security/mh_default_org.xml</code>. Some of the options are configured with the
Expand Down
2 changes: 1 addition & 1 deletion develop/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -813,5 +813,5 @@ <h2 id="release-documentation">Release Documentation</h2>
</html>
<!--
MkDocs version : 1.5.3
Build Date UTC : 2023-11-14 14:02:53.983113+00:00
Build Date UTC : 2023-11-14 16:19:08.742294+00:00
-->
2 changes: 1 addition & 1 deletion develop/admin/search/search_index.json

Large diffs are not rendered by default.

Binary file modified develop/admin/sitemap.xml.gz
Binary file not shown.
8 changes: 4 additions & 4 deletions develop/commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit f20e40a098b826363f0bef33eb7e2a665a947386
Author: Lars Kiesow <[email protected]>
Date: Tue Nov 14 15:02:05 2023 +0100
commit 3cfbb671008a0558fca4843147df4ef56dfba6c3
Author: Gregor Eichelberger <[email protected]>
Date: Tue Nov 14 17:02:40 2023 +0100

Merge r/14.x into develop
Merge branch 'enable-jwt-by-default' of JulianKniephoff/opencast into develop
2 changes: 1 addition & 1 deletion develop/developer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,5 +402,5 @@ <h1 id="opencast-development-guides">Opencast Development Guides</h1>
</html>
<!--
MkDocs version : 1.5.3
Build Date UTC : 2023-11-14 14:02:55.732881+00:00
Build Date UTC : 2023-11-14 16:19:10.163573+00:00
-->
Binary file modified develop/developer/sitemap.xml.gz
Binary file not shown.

0 comments on commit 61a2ec2

Please sign in to comment.