Merge branch 'main' into sqlite
This commit is contained in:
43
Readme.md
43
Readme.md
@@ -1,20 +1,51 @@
|
||||
# LightOIDC
|
||||
|
||||
This aims to be a [specification] compliant OpenID connect provider with minimal footprint.
|
||||
<table>
|
||||
<tr>
|
||||
<th>Deutsch</th>
|
||||
<th>English</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
This goal is achieved by reducing external library dependiencies to an absolute minimum.
|
||||
|
||||
Currently, this project only depends on the following libraries:
|
||||
LightOIDC ist ein [Spezifikations][specification]-treuer OpenID-Connect-Provider mit minimalem Fußabdruck.
|
||||
Dieses Ziel wird durch Minimierung der externen Abhängigkeiten auf ein absolutes Minimum erreicht.
|
||||
Im Moment baut das Projekt nur auf die folgenden Laufzeit-Bibliotheken auf:
|
||||
|
||||
* [org.json:json](https://github.com/douglascrockford/JSON-java)
|
||||
* [org.bitbucket.b_c:jose4j](https://bitbucket.org/b_c/jose4j)
|
||||
* [com.sun.mail:jakarta.mail](https://projects.eclipse.org/projects/ee4j.mail)
|
||||
* [com.sun.activation:jakarta.activation](https://projects.eclipse.org/projects/ee4j.jaf)
|
||||
|
||||
At the time of writing, these libraries have no further transitive dependencies, this mitigating any bloat from the project.
|
||||
Im Moment haben diese Bibliotheken keine weiteren (transitiven) Anhängigkeiten, so dass das Projekt nicht durch eine Kaskade von Libraries aufgeblasen wird.
|
||||
Das Ermöglicht es, dass die compilierte JAR-Datei weniger als 1,5 MB groß ist!
|
||||
|
||||
## bauen
|
||||
|
||||
Dies ist ein Gradle-Project. Um es zu compilieren brauchen Sie ein aktuelles Java-Development-Kit.
|
||||
Das Projekt kann durch Aufruf von `./gradlew build` in einem Terminal innerhalb des Wurzelverzeichnisses gebaut werden.
|
||||
|
||||
</td><td>
|
||||
|
||||
This aims to be a [specification] compliant OpenID connect provider with minimal footprint.
|
||||
This goal is achieved by reducing external library dependiencies to an absolute minimum.
|
||||
Currently, this project only depends on the following runtime libraries:
|
||||
|
||||
* [org.json:json](https://github.com/douglascrockford/JSON-java)
|
||||
* [org.bitbucket.b_c:jose4j](https://bitbucket.org/b_c/jose4j)
|
||||
* [com.sun.mail:jakarta.mail](https://projects.eclipse.org/projects/ee4j.mail)
|
||||
* [com.sun.activation:jakarta.activation](https://projects.eclipse.org/projects/ee4j.jaf)
|
||||
|
||||
At the time of writing, these libraries have no further transitive dependencies, thus mitigating any bloat from the project.
|
||||
As a result, the compiled jar has a size of less than 1.5 MB!
|
||||
|
||||
## build
|
||||
|
||||
This is a gradle project. To compile it, you should have a recent version of a Java Development Kit installed.
|
||||
|
||||
Build the project by launching `./gradlew build` in a terminal while being in the root folder of the project.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[specification]: https://openid.net/specs/openid-connect-core-1_0.html
|
||||
@@ -11,10 +11,10 @@ repositories {
|
||||
dependencies {
|
||||
testImplementation platform('org.junit:junit-bom:5.10.0')
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
implementation project(':de.srsoftware.utils')
|
||||
implementation 'org.json:json:20240303'
|
||||
implementation 'org.bitbucket.b_c:jose4j:0.9.6'
|
||||
implementation 'com.sun.mail:jakarta.mail:2.0.1'
|
||||
implementation project(':de.srsoftware.utils')
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -17,11 +17,11 @@ dependencies {
|
||||
implementation project(':de.srsoftware.logging')
|
||||
implementation project(':de.srsoftware.oidc.api')
|
||||
implementation project(':de.srsoftware.oidc.backend')
|
||||
implementation project(':de.srsoftware.oidc.web')
|
||||
implementation project(':de.srsoftware.utils')
|
||||
implementation project(':de.srsoftware.oidc.datastore.encrypted')
|
||||
implementation project(':de.srsoftware.oidc.datastore.file')
|
||||
implementation project(':de.srsoftware.oidc.datastore.sqlite')
|
||||
implementation project(':de.srsoftware.oidc.web')
|
||||
implementation project(':de.srsoftware.utils')
|
||||
implementation 'org.json:json:20240303'
|
||||
|
||||
}
|
||||
|
||||
@@ -12,12 +12,12 @@ repositories {
|
||||
dependencies {
|
||||
testImplementation platform('org.junit:junit-bom:5.10.0')
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
testImplementation project(path: ':de.srsoftware.oidc.api', configuration: "testBundle")
|
||||
implementation project(':de.srsoftware.oidc.api')
|
||||
implementation 'com.sun.mail:jakarta.mail:2.0.1'
|
||||
implementation project(':de.srsoftware.utils')
|
||||
testImplementation project(path: ':de.srsoftware.oidc.api', configuration: "testBundle")
|
||||
implementation 'com.sun.mail:jakarta.mail:2.0.1'
|
||||
implementation 'org.bitbucket.b_c:jose4j:0.9.6'
|
||||
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -4,9 +4,9 @@ include 'de.srsoftware.logging'
|
||||
include 'de.srsoftware.oidc.api'
|
||||
include 'de.srsoftware.oidc.app'
|
||||
include 'de.srsoftware.oidc.backend'
|
||||
include 'de.srsoftware.oidc.datastore.sqlite'
|
||||
include 'de.srsoftware.oidc.datastore.encrypted'
|
||||
include 'de.srsoftware.oidc.datastore.file'
|
||||
include 'de.srsoftware.oidc.web'
|
||||
include 'de.srsoftware.utils'
|
||||
include 'de.srsoftware.oidc.datastore.sqlite'
|
||||
include 'de.srsoftware.oidc.datastore.encrypted'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user