PAC4J Extension - Database config of SAML client

This PAC4J extension allows you to define SAML2 clients in a relational database. You can easily add, remove or modify your SAML2 clients without redeploying the application.

License

License

Categories

Categories

config Application Layer Libs Configuration pac4j Security
GroupId

GroupId

com.idc.webchannel.pac4j
ArtifactId

ArtifactId

pac4j-saml-config-db
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

PAC4J Extension - Database config of SAML client
This PAC4J extension allows you to define SAML2 clients in a relational database. You can easily add, remove or modify your SAML2 clients without redeploying the application.

Download pac4j-saml-config-db

How to add to project

<!-- https://jarcasting.com/artifacts/com.idc.webchannel.pac4j/pac4j-saml-config-db/ -->
<dependency>
    <groupId>com.idc.webchannel.pac4j</groupId>
    <artifactId>pac4j-saml-config-db</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.idc.webchannel.pac4j/pac4j-saml-config-db/
implementation 'com.idc.webchannel.pac4j:pac4j-saml-config-db:2.0.0'
// https://jarcasting.com/artifacts/com.idc.webchannel.pac4j/pac4j-saml-config-db/
implementation ("com.idc.webchannel.pac4j:pac4j-saml-config-db:2.0.0")
'com.idc.webchannel.pac4j:pac4j-saml-config-db:jar:2.0.0'
<dependency org="com.idc.webchannel.pac4j" name="pac4j-saml-config-db" rev="2.0.0">
  <artifact name="pac4j-saml-config-db" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.idc.webchannel.pac4j', module='pac4j-saml-config-db', version='2.0.0')
)
libraryDependencies += "com.idc.webchannel.pac4j" % "pac4j-saml-config-db" % "2.0.0"
[com.idc.webchannel.pac4j/pac4j-saml-config-db "2.0.0"]

Dependencies

compile (6)

Group / Artifact Type Version
org.pac4j : pac4j-core jar 2.0.0
org.pac4j : pac4j-saml jar 2.0.0
org.apache.commons : commons-lang3 jar 3.6
commons-io : commons-io jar 2.5
org.springframework : spring-jdbc jar 4.3.7.RELEASE
org.slf4j : slf4j-api jar 1.7.25

test (5)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3
junit : junit jar 4.12
org.mockito : mockito-core jar 2.7.22
org.hamcrest : hamcrest-library jar 1.3
com.h2database : h2 jar 1.4.196

Project Modules

There are no modules declared in this project.

PAC4J Extensions

PAC4J Extensions is a set of extensions to the PAC4J library developed internally by IDC and published as open source.

It provides the following modules:

  • Database configuration of SAML clients - This module allows you to configure a set of SAML2 clients using a relational database, such as Oracle DB. You need not change your PAC4J static configuration (e.g. a Spring XML file) to make configuration changes to the application. You just add a new row to a database table or modify an existing row and then restart your application. You can also implement a reload mechanism that will allow you to make configuration changes even without restarting the application.

Building

You need Apache Maven to build the project. The project also requires Java 1.8, so be sure to have JDK 1.8 installed.

First, you need to check out the code from GitHub:

git clone [email protected]:jkacer/pac4j-extensions.git

To build the project:

cd pac4j-extensions
mvn clean package

Then grab JAR files from target directories of individual modules.

You can also install all modules into your local Maven repository:

cd pac4j-extensions
mvn clean install

Build Status

Maven artifacts are built via Travis: Build Status.

The latest released version version is: Maven Central, available in the Maven central repository

License

This code is released under the Apache 2.0 License. Please see file LICENSE for more details.

Versions

Version
2.0.0
1.9.0