keycloak-scim/examples/saml/servlet-filter
Jon Koops 972ebb9650
Use a valid SemVer format for the SNAPSHOT version (#17334)
* Use a valid SemVer format for the SNAPSHOT version

* Update pom.xml

* Update pom.xml

---------

Co-authored-by: Stian Thorgersen <stianst@gmail.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2023-03-03 11:11:44 +01:00
..
src/main/webapp SAML adapter is missing "crypto/default" module (#15146) 2022-10-26 11:59:56 +02:00
pom.xml Use a valid SemVer format for the SNAPSHOT version (#17334) 2023-03-03 11:11:44 +01:00
README.md Fix minor typos in examples (#13155) 2022-08-05 09:00:11 -03:00

Keycloak SAML Client Adapter using HTTP POST Binding With Signatures

Introduction

Basic example that demonstrates how to set up an application as a SAML v2.0 Service Provider using SAML HTTP POST Binding with Signature Support. This example uses the Keycloak Servlet Filter to accomplish this Note that no role checks are done with the servlet filter. You would have to do this manually.

Import the test realm

If you haven't already done so, you need to import the test realm for this example. Clicking on the below link will bring you to the create realm page in the Admin UI. The username/password is admin/admin to login in. Keycloak will ask you to create a new admin password before you can go to the create realm page.

http://localhost:8080/auth/admin/master/console/#/create/realm

Import the testsaml.json file that is in the saml/ example directory.

Build and Deploy

$ mvn clean install wildfly:deploy

Access the application

The application will be running at the following URL: http://localhost:8080/saml-servlet-filter. Login with:

username: bburke
password: password