keycloak-scim/getting_started/topics/secure-jboss-app/download-quickstarts.adoc

38 lines
1.5 KiB
Text
Raw Normal View History

2016-05-11 02:48:33 +00:00
=== Downloading, Building, and Deploying Application Code
2016-05-11 02:48:33 +00:00
You must have the following installed on your machine and available in your PATH before you continue:
2016-05-11 02:48:33 +00:00
* Java JDK 8
* Apache Maven 3.1.1 or higher
* Git
2016-05-11 02:48:33 +00:00
2017-08-30 11:46:49 +00:00
ifeval::[{project_community}==true]
NOTE: You can obtain the code by cloning the {quickstartRepo_name} repository at {quickstartRepo_link}. The quickstarts are designed to work with the most recent Keycloak release.
2017-08-30 11:46:49 +00:00
endif::[]
ifeval::[{project_product}==true]
NOTE: You can obtain the code by cloning the repository at {quickstartRepo_link}. Use the branch matching the version of {project_name} in use.
2017-08-30 11:46:49 +00:00
endif::[]
Make sure your {appserver_name} application server is started before you continue.
To download, build, and deploy the code, complete the following steps.
2016-05-11 02:48:33 +00:00
2016-06-02 09:46:44 +00:00
.Clone Project
2016-06-09 10:09:53 +00:00
[source, subs="attributes"]
2016-05-11 02:48:33 +00:00
----
2017-08-28 12:50:14 +00:00
$ git clone {quickstartRepo_link}
$ cd {quickstartRepo_dir}/app-profile-jee-vanilla
2016-05-11 02:48:33 +00:00
$ mvn clean wildfly:deploy
----
During installation, you will see some text scroll by in the application server console window.
2016-05-11 02:48:33 +00:00
To confirm that the application is successfully deployed, go to http://localhost:8180/vanilla and a login page should appear.
2016-05-11 02:48:33 +00:00
NOTE: If you click *Login*, the browser will pop up a BASIC auth login dialog. However, the application is not yet secured by any identity provider, so anything you enter in the dialog box will result in a `Forbidden` message being sent back by the server. You can confirm that the application is currently secured via `BASIC` authentication by finding the setting in the application's `web.xml` file.
2016-05-11 02:48:33 +00:00