keycloak-uncached
Changes
examples/fuse/demorealm.json 20(+12 -8)
Details
diff --git a/distribution/adapters/fuse-adapter-zip/pom.xml b/distribution/adapters/fuse-adapter-zip/pom.xml
index c9f2613..696db26 100644
--- a/distribution/adapters/fuse-adapter-zip/pom.xml
+++ b/distribution/adapters/fuse-adapter-zip/pom.xml
@@ -256,6 +256,48 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>org.keycloak</groupId>
+ <artifactId>keycloak-undertow-adapter</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.keycloak</groupId>
+ <artifactId>keycloak-undertow-adapter-spi</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.keycloak</groupId>
+ <artifactId>keycloak-pax-web-undertow</artifactId>
+ <version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.keycloak</groupId>
+ <artifactId>keycloak-camel-undertow</artifactId>
+ <version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
<build>
examples/fuse/demorealm.json 20(+12 -8)
diff --git a/examples/fuse/demorealm.json b/examples/fuse/demorealm.json
index 87bdbca..9a4fba9 100644
--- a/examples/fuse/demorealm.json
+++ b/examples/fuse/demorealm.json
@@ -22,7 +22,7 @@
{ "type" : "password",
"value" : "password" }
],
- "realmRoles": [ "user" ],
+ "realmRoles": [ "user", "ssh" ],
"clientRoles": {
"account": [ "manage-account" ]
}
@@ -37,7 +37,7 @@
{ "type" : "password",
"value" : "password" }
],
- "realmRoles": [ "user" ],
+ "realmRoles": [ "user", "ssh" ],
"clientRoles": {
"account": [ "manage-account" ]
}
@@ -52,7 +52,7 @@
{ "type" : "password",
"value" : "password" }
],
- "realmRoles": [ "user" ],
+ "realmRoles": [ "user", "ssh" ],
"clientRoles": {
"account": [ "manage-account" ]
}
@@ -67,7 +67,7 @@
{ "type" : "password",
"value" : "password" }
],
- "realmRoles": [ "user","admin" ],
+ "realmRoles": [ "user","admin", "ssh" ],
"clientRoles": {
"realm-management": [ "realm-admin" ],
"account": [ "manage-account" ]
@@ -83,7 +83,7 @@
{ "type" : "password",
"value" : "password" }
],
- "realmRoles": [ "user", "jmxAdmin" ],
+ "realmRoles": [ "user", "jmxAdmin", "ssh" ],
"clientRoles": {
"account": [ "manage-account" ],
"realm-management": [ "realm-admin" ]
@@ -101,7 +101,7 @@
"value" : "password"
}
],
- "realmRoles" : [ "viewer" ],
+ "realmRoles" : [ "viewer", "ssh" ],
"applicationRoles": {
"account" : [ "view-profile", "manage-account" ]
}
@@ -118,6 +118,7 @@
"value" : "password"
}
],
+ "realmRoles" : [ "ssh" ],
"applicationRoles": {
"account" : [ "view-profile", "manage-account" ]
}
@@ -134,7 +135,7 @@
"value" : "password"
}
],
- "realmRoles" : [ "jmxAdmin" ],
+ "realmRoles" : [ "jmxAdmin", "ssh" ],
"applicationRoles": {
"account" : [ "view-profile", "manage-account" ],
"realm-management" : [ "realm-admin" ]
@@ -176,11 +177,14 @@
"name": "SuperUser"
},
{
+ "name": "ssh"
+ },
+ {
"name": "jmxAdmin",
"description": "Admin role with all privileges to SSH and JMX access",
"composite": true,
"composites": {
- "realm": [ "admin", "manager", "viewer", "Operator", "Maintainer", "Deployer", "Auditor", "Administrator", "SuperUser" ]
+ "realm": [ "admin", "manager", "viewer", "Operator", "Maintainer", "Deployer", "Auditor", "Administrator", "SuperUser", "ssh" ]
}
}
]
diff --git a/examples/fuse/features/src/main/resources/features.xml b/examples/fuse/features/src/main/resources/features.xml
index 5dbb2ca..f7d291d 100644
--- a/examples/fuse/features/src/main/resources/features.xml
+++ b/examples/fuse/features/src/main/resources/features.xml
@@ -16,10 +16,30 @@
~ limitations under the License.
-->
-<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="keycloak-${project.version}">
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" name="keycloak-${project.version}">
+
+ <feature name="keycloak-fuse-7.0-example" version="${project.version}">
+ <details>The Keycloak / Fuse 7.0 on Undertow example</details>
+ <feature>pax-http-undertow</feature>
+ <feature>war</feature>
+ <feature>camel</feature>
+ <feature>camel-undertow</feature>
+ <feature>cxf</feature>
+ <feature>keycloak</feature>
+ <feature>keycloak-pax-http-undertow</feature>
+
+ <bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/${jackson.version}</bundle>
+ <bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/${jackson.version}</bundle>
+ <bundle>mvn:org.keycloak.example.demo/camel-endpoint-example-fuse7-undertow/${project.version}</bundle>
+ <bundle>mvn:org.keycloak.example.demo/cxf-jaxrs-example-fuse7-undertow/${project.version}</bundle>
+ <bundle>mvn:org.keycloak.example.demo/cxf-jaxws-example-fuse7-undertow/${project.version}</bundle>
+ <bundle>mvn:org.keycloak.example.demo/customer-portal-fuse-example/${project.version}/war</bundle>
+ <bundle>mvn:org.keycloak.example.demo/external-config/${project.version}/war</bundle>
+ <bundle>mvn:org.keycloak.example.demo/product-portal-fuse-example-fuse7-undertow/${project.version}</bundle>
+ </feature>
<feature name="keycloak-fuse-6.3-example" version="${project.version}">
- <details>The keycloak fuse example</details>
+ <details>The Keycloak / Fuse 6.3 example</details>
<feature>war</feature>
<feature>camel</feature>
<feature>camel-jetty9</feature>