2015-09-30 20:51:21 +00:00
# Keycloak SAML
2015-01-19 20:05:33 +00:00
## Introduction
2015-09-30 20:51:21 +00:00
These examples show using Keycloak Server's SAML support with Keycloak's SAML client adapter. These examples run on JBoss Enterprise Application Platform 6 or WildFly.
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
We recommend using the Keycloak Demo Distribution to test the examples as it has already some things pre-set for you.
There is individual README.md file specific for each example. Here are just some general info about the requirements for running the examples.
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
## Start the Demo Distribution
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
See the documentation for more details.
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
## Import the test realm
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
Next thing you have to do is import the test realm for these examples. 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.
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
[http://localhost:8080/auth/admin/master/console/#/create/realm ](http://localhost:8080/auth/admin/master/console/#/create/realm )
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
Import the testsaml.json file that is in the saml/ example directory.
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
## Build and Deploy
2015-01-19 20:05:33 +00:00
2015-09-30 20:51:21 +00:00
```
$ mvn clean install wildfly:deploy
```
2015-01-19 20:05:33 +00:00