-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(keycloak-integration): create authenticator for keycloak (#6150)
* feat(keycloak-integration): added maven parent pom for subprojects * feat(keycloak-integration): added janssen authenticator pom * feat(keycloak-integration): added maven assembly xml for authenticator dependencies * feat(keycloak-integration): added spi factory discovery meta for keycloak * added authenticator spi factory discovery meta for keycloak * added rest service spi factory discovery meta for keycloak * feat(keycloak-integration): added authenticator message mapping file * feat(keycloak-integration): added authenticator image resources * feat(keycloak-integration): added page templates for authenticator * feat(keycloak-integration): added authenticator core coded * added authenticator code * added authenticator factory code * added authenticator config properties code * feat(keycloak-integration): added missing file containing session attribute definitions * feat(keycloak-integration): added nimbus based minimalist oidc client code * chore(keycloak-integration): minor change to the authenticator factory * feat(keycloak-integration): added authn completion rest service Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * ci: add scanning Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> * ci: fix CODEOWNERS Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> * ci: fix CODEOWNERS Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> --------- Signed-off-by: Rolain Djeumen <uprightech@gmail.com> Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> Co-authored-by: moabu <47318409+moabu@users.noreply.github.com>
- Loading branch information
1 parent
6269d30
commit bcecc16
Showing
44 changed files
with
1,903 additions
and
5 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>io.jans</groupId> | ||
<artifactId>jans-authenticator</artifactId> | ||
<name>jans-authenticator</name> | ||
<packaging>jar</packaging> | ||
|
||
<parent> | ||
<groupId>io.jans</groupId> | ||
<artifactId>keycloak-integration-parent</artifactId> | ||
<version>1.0.19-SNAPSHOT</version> | ||
</parent> | ||
|
||
<prerequisites> | ||
<maven>${maven.min-version}</maven> | ||
</prerequisites> | ||
|
||
<dependencies> | ||
|
||
<!-- keycloak dependencies --> | ||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-core</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-server-spi</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-server-spi-private</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-services</artifactId> | ||
</dependency> | ||
<!-- end keycloak dependencies--> | ||
|
||
<!-- nimbus dependencies --> | ||
<dependency> | ||
<groupId>com.nimbusds</groupId> | ||
<artifactId>oauth2-oidc-sdk</artifactId> | ||
</dependency> | ||
<!-- end nimbus dependencies --> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
|
||
<!-- maven deps plugin --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<version>${maven-deps-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>copy</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>copy-dependencies</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/deps</outputDirectory> | ||
<includeScope>runtime</includeScope> | ||
<excludeTransitive>false</excludeTransitive> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- end maven deps plugin --> | ||
|
||
<!-- maven assembly plugin --> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>${maven-assembly-plugin.version}</version> | ||
<configuration> | ||
<descriptors> | ||
<descriptor>src/assembly/dependencies.xml</descriptor> | ||
</descriptors> | ||
<finalName>${project.artifactId}-${project.version}</finalName> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>zip-dependencies</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<!-- end maven assembly plugin --> | ||
</plugins> | ||
</build> | ||
</project> |
17 changes: 17 additions & 0 deletions
17
keycloak-integration/authenticator/src/assembly/dependencies.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0 https://maven.apache.org/xsd/assembly-2.2.0.xsd"> | ||
<id>deps</id> | ||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<fileSets> | ||
<fileSet> | ||
<directory>target/deps/</directory> | ||
<outputDirectory>.</outputDirectory> | ||
<includes> | ||
<include>*.jar</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
Oops, something went wrong.