anchor.diff:  * _Credential_ - Use the password value for the _kie_ client. You can find it in the Keycloak admin console -> Clients -> kie -> Credentials tab -> Copy the value for the __secret__.
   
   For this example you have to take care about using your concrete values for _secure-deployment_ name, _realm-public-key_ and _credential_ password.
  -You can find detailed information about the https://keycloak.gitbooks.io/documentation/securing_apps/topics/oidc/java/jboss-adapter.html[JBoss EAP adapter configuration] in Keycloak documentation.
  +
  +[IMPORTANT]
  +====
  +Ensure the following tag is NOT present in the Widfly/EAP profile's configuration file (eg: standalone.xml):
  +[source]
  +----
  +<single-sign-on/>
  +----
  +It's enabled by default in some server versions. If present, it must be removed/disabled in order to allow Keycloak to properly handle the clients.
  +====
   
   === Run the environment
   
  
positive.code: 
  Keycloak provides an extensive documentation and several articles about the installation on different environments.
  This section describes the minimal setup for being able to build the integrated environment for the example.
  Please refer to the http://keycloak.jboss.org/docs[Keycloak documentation] if you need more information.
  
  Here are the steps for a minimal Keycloak installation and setup:
  
  * Download latest version of Keycloak from the http://keycloak.jboss.org/downloads[Downloads] section. This example is based on Keycloak 1.9.0.Final
  * Unzip the downloaded distribution of Keycloak into a folder, let's refer it as
  +
  [source]
  
negative.code: === Install the KC adapter
  
  
  In order to use the Keycloak's authentication and authorization modules from the jBPM application, the http://www.keycloak.org/docs/latest/securing_apps/topics/oidc/java/jboss-adapter.html[Keycloak adapter for Wildfly] must be installed on our server at __$JBPM_HOME__.
  Keycloak provides multiple adapters for different containers out of the box, if you are using another container or need to use another adapter, please take a look at the http://www.keycloak.org/docs/latest/securing_apps/index.html[securing applications section] from the Keycloak docs.
  Here are the steps to install and setup the adapter for Wildfly 8.2.x:
  
  * Download the adapter from https://repository.jboss.org/nexus/service/local/repositories/central/content/org/keycloak/keycloak-wf8-adapter-dist/1.9.0.Final/keycloak-wf8-adapter-dist-1.9.0.Final.zip[here]
  