Skip to content

Instantly share code, notes, and snippets.

@cristianonicolai
Created September 3, 2019 05:54
Show Gist options
  • Save cristianonicolai/0a007e9eb9a20e06575de0dec2ee70f1 to your computer and use it in GitHub Desktop.
Save cristianonicolai/0a007e9eb9a20e06575de0dec2ee70f1 to your computer and use it in GitHub Desktop.
Keycloak setup
<subsystem xmlns="urn:jboss:domain:keycloak:1.1">
<secure-deployment name="business-central.war">
<realm>demo</realm>
<resource>kie</resource>
<use-resource-role-mappings>true</use-resource-role-mappings>
<enable-basic-auth>true</enable-basic-auth>
<auth-server-url>http://localhost:8180/auth</auth-server-url>
<ssl-required>EXTERNAL</ssl-required>
<principal-attribute>preferred_username</principal-attribute>
<credential name="secret">256cd981-a4f5-4ab8-b4dc-8d496ba9d732</credential>
</secure-deployment>
<secure-deployment name="kie-server.war">
<realm>demo</realm>
<resource>kie</resource>
<use-resource-role-mappings>true</use-resource-role-mappings>
<enable-basic-auth>true</enable-basic-auth>
<auth-server-url>http://localhost:8180/auth</auth-server-url>
<ssl-required>EXTERNAL</ssl-required>
<principal-attribute>preferred_username</principal-attribute>
<credential name="secret">256cd981-a4f5-4ab8-b4dc-8d496ba9d732</credential>
</secure-deployment>
</subsystem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment