keycloak-uncached

Details

diff --git a/examples/demo-template/customer-app-cli/pom.xml b/examples/demo-template/customer-app-cli/pom.xml
index 87ef08e..ada8667 100755
--- a/examples/demo-template/customer-app-cli/pom.xml
+++ b/examples/demo-template/customer-app-cli/pom.xml
@@ -20,6 +20,10 @@
             <artifactId>keycloak-installed-adapter</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.jboss.logging</groupId>
+            <artifactId>jboss-logging</artifactId>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/examples/demo-template/customer-app-cli/src/main/resources/META-INF/keycloak.json b/examples/demo-template/customer-app-cli/src/main/resources/META-INF/keycloak.json
index fc1fab9..bf07380 100644
--- a/examples/demo-template/customer-app-cli/src/main/resources/META-INF/keycloak.json
+++ b/examples/demo-template/customer-app-cli/src/main/resources/META-INF/keycloak.json
@@ -1,7 +1,7 @@
 {
   "realm" : "demo",
   "realm-public-key" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB",
-  "auth-server-url" : "http://localhost:8081/auth",
+  "auth-server-url" : "http://localhost:8080/auth",
   "ssl-not-required" : true,
   "resource" : "customer-portal-cli",
   "public-client" : true
diff --git a/examples/demo-template/README.md b/examples/demo-template/README.md
index 2aa1894..8ce7158 100755
--- a/examples/demo-template/README.md
+++ b/examples/demo-template/README.md
@@ -123,28 +123,19 @@ next you must build and deploy
 ```
 cd preconfigured-demo
 mvn clean install
-mvn jboss-as:deploy
 ```
 
-Please note that jboss-as:deploy may fail on Wildfly distributions.  This is because Wildfly 8.0.0.Final has turned
-off a management interface.  You will hae to add this back in order to run the build.  Edit standalone/configuration/standalone.xml
-
-Add the native-itnerface to <management> element's <management-interfaces>:
+On EAP6/AS7 run:
 
-    <management>
-        <management-interfaces>
-            <native-interface security-realm="ManagementRealm">
-                <socket-binding native="management-native"/>
-            </native-interface>
-            ...
-        </management-interfaces>
-    </management>
-
-Then add a socket port mapping for the management interface :
+```
+mvn jboss-as:deploy
+```
 
-    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
-        <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
+Or for WildFly run:
 
+```
+mvn wildfly:deploy
+```
 
 
 Step 5: Login and Observe Apps
diff --git a/examples/demo-template/testrealm.json b/examples/demo-template/testrealm.json
index 79ed7f3..f4ff956 100755
--- a/examples/demo-template/testrealm.json
+++ b/examples/demo-template/testrealm.json
@@ -74,6 +74,10 @@
             "roles": ["user"]
         },
         {
+            "client": "customer-portal-cli",
+            "roles": ["user"]
+        },
+        {
             "client": "angular-product",
             "roles": ["user"]
         },
diff --git a/integration/installed/src/main/java/org/keycloak/adapters/installed/KeycloakInstalled.java b/integration/installed/src/main/java/org/keycloak/adapters/installed/KeycloakInstalled.java
index 910cd73..02304c0 100644
--- a/integration/installed/src/main/java/org/keycloak/adapters/installed/KeycloakInstalled.java
+++ b/integration/installed/src/main/java/org/keycloak/adapters/installed/KeycloakInstalled.java
@@ -100,7 +100,6 @@ public class KeycloakInstalled {
                 .queryParam(OAuth2Constants.CLIENT_ID, deployment.getResourceName())
                 .queryParam(OAuth2Constants.REDIRECT_URI, redirectUri)
                 .queryParam(OAuth2Constants.STATE, state)
-                .queryParam("login", "true")
                 .build().toString();
 
         Desktop.getDesktop().browse(new URI(authUrl));
@@ -156,7 +155,6 @@ public class KeycloakInstalled {
         String authUrl = deployment.getAuthUrl().clone()
                 .queryParam(OAuth2Constants.CLIENT_ID, deployment.getResourceName())
                 .queryParam(OAuth2Constants.REDIRECT_URI, redirectUri)
-                .queryParam("login", "true")
                 .build().toString();
 
         printer.println("Open the following URL in a browser. After login copy/paste the code back and press <enter>");