Registry / auth / pac4j-saml

pac4j-saml

JSON →
library6.5.2javamavenunverified

SAML authentication client for the Pac4j security library, enabling SAML SSO in Java applications.

<dependency> <groupId>org.pac4j</groupId> <artifactId>pac4j-saml</artifactId> <version>6.5.2</version> </dependency>
INSTALL
IMPORT
SIG · PAC4J-SAML
P
pac4j-saml
authjavav6.5.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SAML2Client
org.pac4j.saml.client.SAML2Client

Create a SAML2 client with keystore and IDP metadata.

import org.pac4j.saml.client.SAML2Client; import org.pac4j.saml.config.SAML2Configuration; public class SamlExample { public static void main(String[] args) { SAML2Configuration config = new SAML2Configuration("keystore.jks", "password", "privateKeyPassword", "idpMetadata.xml"); SAML2Client client = new SAML2Client(config); System.out.println("SAML2 client created: " + client.getName()); } }
Debug
Known issues
breakingSAML configuration requires careful handling of keystore and metadata; misconfiguration can lead to security issues.
fix
Ensure keystore passwords are stored securely and metadata URLs are validated.
affects: all
Upgrade
Version history
6.5.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
pac4j-saml — mvn dependency:get pac4j-saml · libregistry