keycloak-scim/getting_started/topics/assembly-securing-sample-app.adoc

28 lines
1.4 KiB
Text

// UserStory: As an RH SSO customer, I want to complete the initial configuration of my standalone server
// This assembly is included in the following assemblies:
//
// <List assemblies here, each on a new line>
// Retains the context of the parent assembly if this assembly is nested within another assembly.
// See also the complementary step on the last line of this file.
ifdef::context[:parent-context: {context}]
[id="securing-sample-app_{context}"]
== Securing a sample application
Now that you have an admin account, a realm, and a user, you can use {project_name} to secure a sample {appserver_name} servlet application. You install a {appserver_name} client adapter, register the application in the admin console, modify the {appserver_name} instance to work with {project_name}, and use {project_name} with some sample code to secure the application.
.Prerequisites
* You need to adjust the port used by {project_name} to avoid port conflicts with {appserver_name}.
include::sample-app/proc-adjusting-ports.adoc[leveloffset=2]
include::sample-app/proc-installing-client-adapter.adoc[leveloffset=2]
include::sample-app/proc-registering-app.adoc[leveloffset=2]
include::sample-app/proc-modifying-app.adoc[leveloffset=2]
include::sample-app/proc-installing-sample-code.adoc[leveloffset=2]
// Restore the context to what it was before this assembly.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]