2014-02-12 02:20:34 +00:00
|
|
|
<!-- works with keycloak.json that comes with example -->
|
|
|
|
<subsystem xmlns="urn:jboss:domain:keycloak:1.0">
|
|
|
|
<realm name="demo">
|
|
|
|
<realm-public-key>MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB</realm-public-key>
|
|
|
|
<auth-server-url>http://localhost:8080/auth</auth-server-url>
|
|
|
|
<ssl-not-required>true</ssl-not-required>
|
|
|
|
</realm>
|
2014-02-13 15:43:29 +00:00
|
|
|
<secure-deployment name="customer-portal.war">
|
|
|
|
<realm>demo</realm>
|
|
|
|
<resource>customer-portal</resource>
|
2014-02-13 23:36:41 +00:00
|
|
|
<credential name="secret">password</credential>
|
2014-02-13 15:43:29 +00:00
|
|
|
</secure-deployment>
|
|
|
|
<secure-deployment name="product-portal.war">
|
|
|
|
<realm>demo</realm>
|
|
|
|
<resource>product-portal</resource>
|
2014-02-13 23:36:41 +00:00
|
|
|
<credential name="secret">password</credential>
|
2014-02-13 15:43:29 +00:00
|
|
|
</secure-deployment>
|
|
|
|
<secure-deployment name="database.war">
|
|
|
|
<realm>demo</realm>
|
|
|
|
<resource>database-service</resource>
|
|
|
|
<bearer-only>true</bearer-only>
|
|
|
|
</secure-deployment>
|
2014-02-12 02:20:34 +00:00
|
|
|
</subsystem>
|