KEYCLOAK-5522 Features and distibution

This commit is contained in:
Hynek Mlnarik
2018-05-21 14:28:26 +02:00
committed by Hynek Mlnařík
parent adea414695
commit 3ab8ff2ea1
3 changed files with 76 additions and 10 deletions

View File

@@ -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>

View File

@@ -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" ]
@@ -175,12 +176,15 @@
{
"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" ]
}
}
]

View File

@@ -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>