Implementation of a JWT-based OAuth2 flow for the admin API (#1389)

* Initial implementation of a JWT-based OAuth2 flow for the admin API

Implements #1388.

Signed-off-by: Yannick Schaus <github@schaus.net>
This commit is contained in:
Yannick Schaus
2020-03-23 22:36:11 +01:00
committed by GitHub
parent a06eb598d7
commit fe4e276b68
41 changed files with 2855 additions and 9 deletions
@@ -138,6 +138,7 @@
<feature name="openhab-core-io-http-auth" version="${project.version}">
<feature>openhab-core-base</feature>
<feature>openhab-core-auth-jaas</feature>
<bundle>mvn:org.openhab.core.bundles/org.openhab.core.io.http.auth/${project.version}</bundle>
</feature>
@@ -153,7 +154,10 @@
<feature name="openhab-core-io-rest-auth" version="${project.version}">
<feature>openhab-core-base</feature>
<feature>openhab-core-auth-jaas</feature>
<bundle>mvn:org.openhab.core.bundles/org.openhab.core.io.rest.auth/${project.version}</bundle>
<requirement>openhab.tp;filter:="(feature=jose4j)"</requirement>
<feature dependency="true">openhab.tp-jose4j</feature>
</feature>
<feature name="openhab-core-io-rest-log" version="${project.version}">
@@ -176,6 +176,11 @@
<bundle>mvn:org.jmdns/jmdns/3.5.5</bundle>
</feature>
<feature name="openhab.tp-jose4j" description="jose4j JWT library" version="${project.version}">
<capability>openhab.tp;feature=jose4j;version=0.7.0</capability>
<bundle>mvn:org.bitbucket.b_c/jose4j/0.7.0</bundle>
</feature>
<feature name="openhab.tp-jupnp" description="UPnP/DLNA library for Java" version="${project.version}">
<capability>openhab.tp;feature=jupnp;version=2.5.2</capability>
<feature dependency="true">http</feature>