2015-09-30 20:51:21 +00:00
|
|
|
# Keycloak SAML Client Adapter using HTTP Redirect Binding With Signatures
|
2014-10-22 01:39:10 +00:00
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
## Introduction
|
2014-10-22 01:39:10 +00:00
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
Basic example that demonstrates how to setup an application as a SAML v2.0 Service Provider using SAML HTTP Redirect Binding With Signature Support.
|
2014-10-22 01:39:10 +00:00
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
## Import the test realm
|
2014-10-22 01:39:10 +00:00
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
If you haven't already done so, you need to import the test realm for this examples. Clicking on the below link will bring you to the
|
2014-10-22 01:39:10 +00:00
|
|
|
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](http://localhost:8080/auth/admin/master/console/#/create/realm)
|
|
|
|
|
|
|
|
Import the testsaml.json file that is in the saml/ example directory.
|
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
## Build and Deploy
|
2014-10-22 01:39:10 +00:00
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
```
|
|
|
|
$ mvn clean install wildfly:deploy
|
|
|
|
```
|
2014-10-22 01:39:10 +00:00
|
|
|
|
2015-09-30 20:51:21 +00:00
|
|
|
## Access the application
|
2014-10-22 01:39:10 +00:00
|
|
|
|
|
|
|
The application will be running at the following URL: <http://localhost:8080/employee-sig>.
|
|
|
|
|
2015-10-01 18:27:51 +00:00
|
|
|
The application will be running at the following URL: <http://localhost:8080/sales-post-sig>. Login with:
|
|
|
|
|
|
|
|
username: bburke
|
|
|
|
password: password
|
|
|
|
|