Skip to content

Instantly share code, notes, and snippets.

@jonathanvila
Created February 15, 2019 16:38
Show Gist options
  • Save jonathanvila/ebbaae133cbb7f166ce901769a089d19 to your computer and use it in GitHub Desktop.
Save jonathanvila/ebbaae133cbb7f166ce901769a089d19 to your computer and use it in GitHub Desktop.
diff --git a/src/main/resources/windup-realm/windup-realm.json b/src/main/resources/windup-realm/windup-realm.json
index 9950d85..e327674 100644
--- a/src/main/resources/windup-realm/windup-realm.json
+++ b/src/main/resources/windup-realm/windup-realm.json
@@ -1,922 +1,790 @@
{
- "id" : "rhamt",
- "realm" : "rhamt",
- "displayName" : "Red Hat Application Migration Toolkit Web Console",
- "notBefore" : 0,
- "revokeRefreshToken" : false,
- "accessTokenLifespan" : 300,
- "accessTokenLifespanForImplicitFlow" : 900,
- "ssoSessionIdleTimeout" : 1800,
- "ssoSessionMaxLifespan" : 36000,
- "offlineSessionIdleTimeout" : 2592000,
- "accessCodeLifespan" : 60,
- "accessCodeLifespanUserAction" : 300,
- "accessCodeLifespanLogin" : 1800,
- "enabled" : true,
- "sslRequired" : "external",
- "registrationAllowed" : false,
- "registrationEmailAsUsername" : false,
- "rememberMe" : false,
- "verifyEmail" : false,
- "resetPasswordAllowed" : false,
- "editUsernameAllowed" : false,
- "bruteForceProtected" : false,
- "maxFailureWaitSeconds" : 900,
- "minimumQuickLoginWaitSeconds" : 60,
- "waitIncrementSeconds" : 60,
- "quickLoginCheckMilliSeconds" : 1000,
- "maxDeltaTimeSeconds" : 43200,
- "failureFactor" : 30,
- "privateKey" : "MIIEpAIBAAKCAQEAhlI4WQ3tbIFE71M0HAO3TfvJFxH0P16wdOSzc/Fr9l8/tOn8cN5sgkGpnyEWcawgv2z4nouUkpV92/vo9fadKr3KVUMVaE3EaR3BmsC0Ct6TY7mYD+sz/yGoSWqwmGYocEJRIXAuMCX3jCu6CKMSV+1qjpcyYqzRaVWTB/EV76Sx+CSh9rEMLl8mE6owxNWQck03KgvWCA70l/LAu1M1bWy1aozoUKiTryX0nTxbHbj4qg3vvHC6igYndJ4zLr30QlCVn1iQ1jXC1MQUJ+Mwc8yZlkhaoAfDS1iM9I8NUcpcQAIn2baD8/aBrS1F9woYYRvo0vFH5N0+Rw4xjgSDlQIDAQABAoIBAA2OQq2KIEnxCdn1Va72GQu/u12erD2w+rHxWsL6vGCS4EUL0DQ73kuPAOVUW4WBT5TCFJ07jPT2LUuEMtCP4PCtUrwkFwb9wjKxlBZgGEt4hvtrgZMps4euB+PQ5p2awb4Ck1mCjsbBLihxSUcR3goNpdFaJPWcZ03wGvSUOhiDKr2DGJhp1EBEHmT7PJEIVZeB7Pv32zFOK2Zom0RHbuUCi6mDVaHh8EfA9LOdQ5H+PwhduQhq3bBfE5Ps53r+vjNr06WTNovoYRfP9HM4ykQWxgi53tILxqPoj6H7WJMjjRZkQSmgWH70tG/oVH7HIO+4WU7p8hChxgGwjpcxnoECgYEA1YknVVqw434GgTxq6y+rLOY1th9CZhIDrsa+ZBdWx7nF2R2zRg9aiNiaiekfyigvn05JP0jTHJM6Ez2M77+osCycHbZ5F2sSCfpCC3P0n8Oub+iUzuWGIqZLO7CItKK5yGQ8uqfFG6i+2xzw2wb1nqUtspP6ZH9Rp2a0CDpuGuUCgYEAoQhZGu4eKz1gNGWLOuO0FHBR2nTitLwqNcVIbI2WRvqVG3c7q39T/yksGwZmwhEaJXgSWzdQ5eitvFBwlHzaiq2CCDpaoaEPPye5X4NYyy1UWJv6UUk67JkBuTVbKv4FCNRdeubLoDZFEPsIxMUNwHSVsNElc78xsJkIyoHLSvECgYBkbPqos9xZQV4Bzc5jCaoxlZtRKeZqZrKAsku8exV/HSmlcMhtfK8RiP01OwSOaNPs0j60mqVe3QcFIX91Cehl4rURbE4K63oyYxZImKJFuRwC2ZmSrHOnPBpJ2j6Q5a8GRc4h4uFansQT/Mpx2BYQJJMXV2z9cruORUkKTaCW2QKBgQCe49bP7K4V6ix35s3XYH/6Ps11KSncPWHExpFsktP52xyvChn1YOBnf5+GVu2jhS5wVCaAnHcVM13h1tkOmpckiIkqRzHQE1Qw86hEJxzA9UwpVlZKSGB8vYhmz8/R/uzGxowqTXoT7hh95cTEKs8j26Ur32H98GQ+JPH4ptMJcQKBgQC5kzaSCrXZDpfPJxAtxBgWaynw8uNR0E8v1mFnlmxNq5I7XNI/t4eofnYui0W81Ye3dyN+C7iUQFaUrPfvfpEXKHZ4qGiqDX5OXsPr5bwtTLVxGhIbtqj1atUDX/3SY5ljCM0jXPmgKdRfrqYYoCO2z9iWoIXfHImwgb4cqD6WSQ==",
- "publicKey" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhlI4WQ3tbIFE71M0HAO3TfvJFxH0P16wdOSzc/Fr9l8/tOn8cN5sgkGpnyEWcawgv2z4nouUkpV92/vo9fadKr3KVUMVaE3EaR3BmsC0Ct6TY7mYD+sz/yGoSWqwmGYocEJRIXAuMCX3jCu6CKMSV+1qjpcyYqzRaVWTB/EV76Sx+CSh9rEMLl8mE6owxNWQck03KgvWCA70l/LAu1M1bWy1aozoUKiTryX0nTxbHbj4qg3vvHC6igYndJ4zLr30QlCVn1iQ1jXC1MQUJ+Mwc8yZlkhaoAfDS1iM9I8NUcpcQAIn2baD8/aBrS1F9woYYRvo0vFH5N0+Rw4xjgSDlQIDAQAB",
- "certificate" : "MIICmTCCAYECBgFbR6EfMDANBgkqhkiG9w0BAQsFADAQMQ4wDAYDVQQDDAVyaGFtdDAeFw0xNzA0MDcwODU0NTNaFw0yNzA0MDcwODU2MzNaMBAxDjAMBgNVBAMMBXJoYW10MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhlI4WQ3tbIFE71M0HAO3TfvJFxH0P16wdOSzc/Fr9l8/tOn8cN5sgkGpnyEWcawgv2z4nouUkpV92/vo9fadKr3KVUMVaE3EaR3BmsC0Ct6TY7mYD+sz/yGoSWqwmGYocEJRIXAuMCX3jCu6CKMSV+1qjpcyYqzRaVWTB/EV76Sx+CSh9rEMLl8mE6owxNWQck03KgvWCA70l/LAu1M1bWy1aozoUKiTryX0nTxbHbj4qg3vvHC6igYndJ4zLr30QlCVn1iQ1jXC1MQUJ+Mwc8yZlkhaoAfDS1iM9I8NUcpcQAIn2baD8/aBrS1F9woYYRvo0vFH5N0+Rw4xjgSDlQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQB6pE0SCkkbWyH4sWs4liavA50cLtm6oxx1vGlbDP3pErjhHq8Q9zOnfooKYSGGyD27LX+iqlOLCxfJliHn549b1SLVazd++geSqSh0t8DQZDPVwsKNtOAI1GlXQ8DE2hjxmn8yL93Dx+kn6eXwCyBewX82n0V4YARV0JWGZj3Rkow5VclTqO9ylocbvHZ6J8gd9Y9IqEHWmZBpNFARjgcg+8aIYvCXC+shBguGPQ3YbOtLGd+2Vxjlaor5WUoftCmj4RaZc5Gb5V9Q9pf5Q0sxqXEVB29fQyHg56acB0YHhfJqgtdLpMd1IOzGiumkV4cCNp355vjtI2tV9luvXH7X",
- "codeSecret" : "fe3c81c6-a4c3-4e1b-8df0-a021bb639c7a",
- "roles" : {
- "realm" : [ {
- "id" : "15fa512b-0cfc-4849-a317-7687695e5c37",
- "name" : "uma_authorization",
- "description" : "${role_uma_authorization}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : false,
- "containerId" : "rhamt"
- }, {
- "id" : "bef95cbf-c0a4-4f15-a90c-b74967c2edfe",
- "name" : "offline_access",
- "description" : "${role_offline-access}",
- "scopeParamRequired" : true,
- "composite" : false,
- "clientRole" : false,
- "containerId" : "rhamt"
- }, {
- "id" : "9a3d3dec-8de3-4fd6-8156-f09c314b9f28",
- "name" : "user",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : false,
- "containerId" : "rhamt"
- } ],
- "client" : {
- "rhamt-web" : [ ],
- "realm-management" : [ {
- "id" : "e844ae76-0cb5-4393-8a07-b9de2626d7d3",
- "name" : "manage-authorization",
- "description" : "${role_manage-authorization}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "fd58f8b0-bb9a-443c-9499-f934e41e3f69",
- "name" : "manage-users",
- "description" : "${role_manage-users}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "fa10d38a-0ff9-42bd-abc2-aa0183368fb5",
- "name" : "view-users",
- "description" : "${role_view-users}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "94766e81-0a09-4e72-880c-7658f45aaff1",
- "name" : "manage-realm",
- "description" : "${role_manage-realm}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "c95e2a2a-1998-45c8-8e8f-59e2340f68f6",
- "name" : "manage-events",
- "description" : "${role_manage-events}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "405907ae-4172-4b2e-8583-96764dde19c4",
- "name" : "view-clients",
- "description" : "${role_view-clients}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "f581e062-8d42-4de7-8cb1-330af99d7f4c",
- "name" : "view-events",
- "description" : "${role_view-events}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "433631e5-e351-423b-8c28-79621fcb0e1a",
- "name" : "manage-clients",
- "description" : "${role_manage-clients}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "9c53facb-bb63-4131-8843-fd5a8b9063ee",
- "name" : "realm-admin",
- "description" : "${role_realm-admin}",
- "scopeParamRequired" : false,
- "composite" : true,
- "composites" : {
- "client" : {
- "realm-management" : [ "manage-authorization", "manage-users", "view-users", "manage-realm", "manage-events", "view-clients", "view-events", "manage-clients", "create-client", "impersonation", "view-realm", "manage-identity-providers", "view-identity-providers", "view-authorization" ]
- }
+ "id": "rhamt",
+ "realm": "rhamt",
+ "displayName": "Red Hat Application Migration Toolkit Web Console",
+ "notBefore": 0,
+ "revokeRefreshToken": false,
+ "accessTokenLifespan": 300,
+ "accessTokenLifespanForImplicitFlow": 900,
+ "ssoSessionIdleTimeout": 1800,
+ "ssoSessionMaxLifespan": 36000,
+ "offlineSessionIdleTimeout": 2592000,
+ "accessCodeLifespan": 60,
+ "accessCodeLifespanUserAction": 300,
+ "accessCodeLifespanLogin": 1800,
+ "enabled": true,
+ "sslRequired": "external",
+ "registrationAllowed": false,
+ "registrationEmailAsUsername": false,
+ "rememberMe": false,
+ "verifyEmail": false,
+ "resetPasswordAllowed": false,
+ "editUsernameAllowed": false,
+ "bruteForceProtected": false,
+ "maxFailureWaitSeconds": 900,
+ "minimumQuickLoginWaitSeconds": 60,
+ "waitIncrementSeconds": 60,
+ "quickLoginCheckMilliSeconds": 1000,
+ "maxDeltaTimeSeconds": 43200,
+ "failureFactor": 30,
+ "privateKey": "MIIEpAIBAAKCAQEAhlI4WQ3tbIFE71M0HAO3TfvJFxH0P16wdOSzc/Fr9l8/tOn8cN5sgkGpnyEWcawgv2z4nouUkpV92/vo9fadKr3KVUMVaE3EaR3BmsC0Ct6TY7mYD+sz/yGoSWqwmGYocEJRIXAuMCX3jCu6CKMSV+1qjpcyYqzRaVWTB/EV76Sx+CSh9rEMLl8mE6owxNWQck03KgvWCA70l/LAu1M1bWy1aozoUKiTryX0nTxbHbj4qg3vvHC6igYndJ4zLr30QlCVn1iQ1jXC1MQUJ+Mwc8yZlkhaoAfDS1iM9I8NUcpcQAIn2baD8/aBrS1F9woYYRvo0vFH5N0+Rw4xjgSDlQIDAQABAoIBAA2OQq2KIEnxCdn1Va72GQu/u12erD2w+rHxWsL6vGCS4EUL0DQ73kuPAOVUW4WBT5TCFJ07jPT2LUuEMtCP4PCtUrwkFwb9wjKxlBZgGEt4hvtrgZMps4euB+PQ5p2awb4Ck1mCjsbBLihxSUcR3goNpdFaJPWcZ03wGvSUOhiDKr2DGJhp1EBEHmT7PJEIVZeB7Pv32zFOK2Zom0RHbuUCi6mDVaHh8EfA9LOdQ5H+PwhduQhq3bBfE5Ps53r+vjNr06WTNovoYRfP9HM4ykQWxgi53tILxqPoj6H7WJMjjRZkQSmgWH70tG/oVH7HIO+4WU7p8hChxgGwjpcxnoECgYEA1YknVVqw434GgTxq6y+rLOY1th9CZhIDrsa+ZBdWx7nF2R2zRg9aiNiaiekfyigvn05JP0jTHJM6Ez2M77+osCycHbZ5F2sSCfpCC3P0n8Oub+iUzuWGIqZLO7CItKK5yGQ8uqfFG6i+2xzw2wb1nqUtspP6ZH9Rp2a0CDpuGuUCgYEAoQhZGu4eKz1gNGWLOuO0FHBR2nTitLwqNcVIbI2WRvqVG3c7q39T/yksGwZmwhEaJXgSWzdQ5eitvFBwlHzaiq2CCDpaoaEPPye5X4NYyy1UWJv6UUk67JkBuTVbKv4FCNRdeubLoDZFEPsIxMUNwHSVsNElc78xsJkIyoHLSvECgYBkbPqos9xZQV4Bzc5jCaoxlZtRKeZqZrKAsku8exV/HSmlcMhtfK8RiP01OwSOaNPs0j60mqVe3QcFIX91Cehl4rURbE4K63oyYxZImKJFuRwC2ZmSrHOnPBpJ2j6Q5a8GRc4h4uFansQT/Mpx2BYQJJMXV2z9cruORUkKTaCW2QKBgQCe49bP7K4V6ix35s3XYH/6Ps11KSncPWHExpFsktP52xyvChn1YOBnf5+GVu2jhS5wVCaAnHcVM13h1tkOmpckiIkqRzHQE1Qw86hEJxzA9UwpVlZKSGB8vYhmz8/R/uzGxowqTXoT7hh95cTEKs8j26Ur32H98GQ+JPH4ptMJcQKBgQC5kzaSCrXZDpfPJxAtxBgWaynw8uNR0E8v1mFnlmxNq5I7XNI/t4eofnYui0W81Ye3dyN+C7iUQFaUrPfvfpEXKHZ4qGiqDX5OXsPr5bwtTLVxGhIbtqj1atUDX/3SY5ljCM0jXPmgKdRfrqYYoCO2z9iWoIXfHImwgb4cqD6WSQ==",
+ "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhlI4WQ3tbIFE71M0HAO3TfvJFxH0P16wdOSzc/Fr9l8/tOn8cN5sgkGpnyEWcawgv2z4nouUkpV92/vo9fadKr3KVUMVaE3EaR3BmsC0Ct6TY7mYD+sz/yGoSWqwmGYocEJRIXAuMCX3jCu6CKMSV+1qjpcyYqzRaVWTB/EV76Sx+CSh9rEMLl8mE6owxNWQck03KgvWCA70l/LAu1M1bWy1aozoUKiTryX0nTxbHbj4qg3vvHC6igYndJ4zLr30QlCVn1iQ1jXC1MQUJ+Mwc8yZlkhaoAfDS1iM9I8NUcpcQAIn2baD8/aBrS1F9woYYRvo0vFH5N0+Rw4xjgSDlQIDAQAB",
+ "certificate": "MIICmTCCAYECBgFbR6EfMDANBgkqhkiG9w0BAQsFADAQMQ4wDAYDVQQDDAVyaGFtdDAeFw0xNzA0MDcwODU0NTNaFw0yNzA0MDcwODU2MzNaMBAxDjAMBgNVBAMMBXJoYW10MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhlI4WQ3tbIFE71M0HAO3TfvJFxH0P16wdOSzc/Fr9l8/tOn8cN5sgkGpnyEWcawgv2z4nouUkpV92/vo9fadKr3KVUMVaE3EaR3BmsC0Ct6TY7mYD+sz/yGoSWqwmGYocEJRIXAuMCX3jCu6CKMSV+1qjpcyYqzRaVWTB/EV76Sx+CSh9rEMLl8mE6owxNWQck03KgvWCA70l/LAu1M1bWy1aozoUKiTryX0nTxbHbj4qg3vvHC6igYndJ4zLr30QlCVn1iQ1jXC1MQUJ+Mwc8yZlkhaoAfDS1iM9I8NUcpcQAIn2baD8/aBrS1F9woYYRvo0vFH5N0+Rw4xjgSDlQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQB6pE0SCkkbWyH4sWs4liavA50cLtm6oxx1vGlbDP3pErjhHq8Q9zOnfooKYSGGyD27LX+iqlOLCxfJliHn549b1SLVazd++geSqSh0t8DQZDPVwsKNtOAI1GlXQ8DE2hjxmn8yL93Dx+kn6eXwCyBewX82n0V4YARV0JWGZj3Rkow5VclTqO9ylocbvHZ6J8gd9Y9IqEHWmZBpNFARjgcg+8aIYvCXC+shBguGPQ3YbOtLGd+2Vxjlaor5WUoftCmj4RaZc5Gb5V9Q9pf5Q0sxqXEVB29fQyHg56acB0YHhfJqgtdLpMd1IOzGiumkV4cCNp355vjtI2tV9luvXH7X",
+ "codeSecret": "fe3c81c6-a4c3-4e1b-8df0-a021bb639c7a",
+ "roles": {
+ "realm": [
+ {
+ "id": "15fa512b-0cfc-4849-a317-7687695e5c37",
+ "name": "uma_authorization",
+ "description": "${role_uma_authorization}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": false,
+ "containerId": "rhamt"
+ },
+ {
+ "id": "bef95cbf-c0a4-4f15-a90c-b74967c2edfe",
+ "name": "offline_access",
+ "description": "${role_offline-access}",
+ "scopeParamRequired": true,
+ "composite": false,
+ "clientRole": false,
+ "containerId": "rhamt"
+ },
+ {
+ "id": "9a3d3dec-8de3-4fd6-8156-f09c314b9f28",
+ "name": "user",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": false,
+ "containerId": "rhamt"
+ }
+ ],
+ "client": {
+ "rhamt-web": [],
+ "realm-management": [
+ {
+ "id": "e844ae76-0cb5-4393-8a07-b9de2626d7d3",
+ "name": "manage-authorization",
+ "description": "${role_manage-authorization}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "fd58f8b0-bb9a-443c-9499-f934e41e3f69",
+ "name": "manage-users",
+ "description": "${role_manage-users}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "fa10d38a-0ff9-42bd-abc2-aa0183368fb5",
+ "name": "view-users",
+ "description": "${role_view-users}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "94766e81-0a09-4e72-880c-7658f45aaff1",
+ "name": "manage-realm",
+ "description": "${role_manage-realm}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "c95e2a2a-1998-45c8-8e8f-59e2340f68f6",
+ "name": "manage-events",
+ "description": "${role_manage-events}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "405907ae-4172-4b2e-8583-96764dde19c4",
+ "name": "view-clients",
+ "description": "${role_view-clients}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "f581e062-8d42-4de7-8cb1-330af99d7f4c",
+ "name": "view-events",
+ "description": "${role_view-events}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "433631e5-e351-423b-8c28-79621fcb0e1a",
+ "name": "manage-clients",
+ "description": "${role_manage-clients}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "9c53facb-bb63-4131-8843-fd5a8b9063ee",
+ "name": "realm-admin",
+ "description": "${role_realm-admin}",
+ "scopeParamRequired": false,
+ "composite": true,
+ "composites": {
+ "client": {
+ "realm-management": [
+ "manage-authorization",
+ "manage-users",
+ "view-users",
+ "manage-realm",
+ "manage-events",
+ "view-clients",
+ "view-events",
+ "manage-clients",
+ "create-client",
+ "impersonation",
+ "view-realm",
+ "manage-identity-providers",
+ "view-identity-providers",
+ "view-authorization"
+ ]
+ }
+ },
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "36b97fea-5902-46e5-b652-764218103ad2",
+ "name": "create-client",
+ "description": "${role_create-client}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
},
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "36b97fea-5902-46e5-b652-764218103ad2",
- "name" : "create-client",
- "description" : "${role_create-client}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "bd6d7cb8-74d3-4b92-ad86-266c59af1868",
- "name" : "impersonation",
- "description" : "${role_impersonation}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "6ae3a0b1-b2fb-4909-a872-8b7513a58743",
- "name" : "view-realm",
- "description" : "${role_view-realm}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "a6a4b219-15ef-4b5d-875a-5c41a448164b",
- "name" : "manage-identity-providers",
- "description" : "${role_manage-identity-providers}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "a7c6e3a9-4b8e-444f-b5aa-af2109e4f6a0",
- "name" : "view-identity-providers",
- "description" : "${role_view-identity-providers}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- }, {
- "id" : "a3f6a29c-97d9-445b-937e-f4cc98ce1e16",
- "name" : "view-authorization",
- "description" : "${role_view-authorization}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
- } ],
- "security-admin-console" : [ ],
- "admin-cli" : [ ],
- "broker" : [ {
- "id" : "1959a922-7e48-4e0d-add4-ba4b74831e3c",
- "name" : "read-token",
- "description" : "${role_read-token}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "18fc5aaa-acb0-4c20-b555-f9ddf21803df"
- } ],
- "account" : [ {
- "id" : "0ed010f2-b0f0-4591-93da-26ae0fd89c5f",
- "name" : "manage-account",
- "description" : "${role_manage-account}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "8ad07d06-b9cf-4905-9267-ddec6a8aa09a"
- }, {
- "id" : "a2854d7e-e1b8-4a64-ba2d-b07cc4584644",
- "name" : "view-profile",
- "description" : "${role_view-profile}",
- "scopeParamRequired" : false,
- "composite" : false,
- "clientRole" : true,
- "containerId" : "8ad07d06-b9cf-4905-9267-ddec6a8aa09a"
- } ]
+ {
+ "id": "bd6d7cb8-74d3-4b92-ad86-266c59af1868",
+ "name": "impersonation",
+ "description": "${role_impersonation}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "6ae3a0b1-b2fb-4909-a872-8b7513a58743",
+ "name": "view-realm",
+ "description": "${role_view-realm}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "a6a4b219-15ef-4b5d-875a-5c41a448164b",
+ "name": "manage-identity-providers",
+ "description": "${role_manage-identity-providers}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "a7c6e3a9-4b8e-444f-b5aa-af2109e4f6a0",
+ "name": "view-identity-providers",
+ "description": "${role_view-identity-providers}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ },
+ {
+ "id": "a3f6a29c-97d9-445b-937e-f4cc98ce1e16",
+ "name": "view-authorization",
+ "description": "${role_view-authorization}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "9ea825ad-0fab-4946-bc9a-43d7823e6a32"
+ }
+ ],
+ "security-admin-console": [],
+ "admin-cli": [],
+ "broker": [
+ {
+ "id": "1959a922-7e48-4e0d-add4-ba4b74831e3c",
+ "name": "read-token",
+ "description": "${role_read-token}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "18fc5aaa-acb0-4c20-b555-f9ddf21803df"
+ }
+ ],
+ "account": [
+ {
+ "id": "0ed010f2-b0f0-4591-93da-26ae0fd89c5f",
+ "name": "manage-account",
+ "description": "${role_manage-account}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "8ad07d06-b9cf-4905-9267-ddec6a8aa09a"
+ },
+ {
+ "id": "a2854d7e-e1b8-4a64-ba2d-b07cc4584644",
+ "name": "view-profile",
+ "description": "${role_view-profile}",
+ "scopeParamRequired": false,
+ "composite": false,
+ "clientRole": true,
+ "containerId": "8ad07d06-b9cf-4905-9267-ddec6a8aa09a"
+ }
+ ]
}
},
- "groups" : [ ],
- "defaultRoles" : [ "offline_access", "uma_authorization", "user" ],
- "requiredCredentials" : [ "password" ],
- "passwordPolicy" : "hashIterations(20000)",
- "otpPolicyType" : "totp",
- "otpPolicyAlgorithm" : "HmacSHA1",
- "otpPolicyInitialCounter" : 0,
- "otpPolicyDigits" : 6,
- "otpPolicyLookAheadWindow" : 1,
- "otpPolicyPeriod" : 30,
- "users" : [ {
- "id" : "1453daaa-2720-4037-94e6-6fcd4b5feac8",
- "createdTimestamp" : 1491555471831,
- "username" : "guest",
- "enabled" : true,
- "totp" : false,
- "emailVerified" : true,
- "credentials" : [ {
- "type" : "password",
- "hashedSaltedValue" : "NSOEorQ1rz34WBxiXMjLQ2BOQbRiopzBJxIanLRdtpAovTZFjThgrfJ4bUJxcDuB6/VWJTiZUCVTmZ728a9LhQ==",
- "salt" : "bZpA95f6jasCUpvhLNi0Hw==",
- "hashIterations" : 20000,
- "counter" : 0,
- "algorithm" : "pbkdf2",
- "digits" : 0,
- "createdDate" : 1491556090000
- } ],
- "requiredActions" : [ ],
- "realmRoles" : [ "uma_authorization", "offline_access", "user" ],
- "clientRoles" : {
- "account" : [ "manage-account", "view-profile" ]
- },
- "groups" : [ ]
- } ],
- "clientScopeMappings" : {
- "realm-management" : [ {
- "client" : "admin-cli",
- "roles" : [ "realm-admin" ]
- }, {
- "client" : "security-admin-console",
- "roles" : [ "realm-admin" ]
- } ]
- },
- "clients" : [ {
- "id" : "8ad07d06-b9cf-4905-9267-ddec6a8aa09a",
- "clientId" : "account",
- "name" : "${client_account}",
- "baseUrl" : "/auth/realms/rhamt/account",
- "surrogateAuthRequired" : false,
- "enabled" : true,
- "clientAuthenticatorType" : "client-secret",
- "secret" : "ebb70697-34ea-475e-9d92-a9412a5d3570",
- "defaultRoles" : [ "view-profile", "manage-account" ],
- "redirectUris" : [ "/auth/realms/rhamt/account/*" ],
- "webOrigins" : [ ],
- "notBefore" : 0,
- "bearerOnly" : false,
- "consentRequired" : false,
- "standardFlowEnabled" : true,
- "implicitFlowEnabled" : false,
- "directAccessGrantsEnabled" : false,
- "serviceAccountsEnabled" : false,
- "publicClient" : false,
- "frontchannelLogout" : false,
- "attributes" : { },
- "fullScopeAllowed" : false,
- "nodeReRegistrationTimeout" : 0,
- "protocolMappers" : [ {
- "id" : "d988f2cd-7e6a-4f6a-9246-eacfef7a4efd",
- "name" : "username",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${username}",
- "config" : {
- "user.attribute" : "username",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "preferred_username",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "72a23589-63ca-4d3a-a4fb-f92303cfeaf9",
- "name" : "family name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${familyName}",
- "config" : {
- "user.attribute" : "lastName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "family_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "147a9a33-22bb-4d2b-b525-6b0398a4e2c1",
- "name" : "role list",
- "protocol" : "saml",
- "protocolMapper" : "saml-role-list-mapper",
- "consentRequired" : false,
- "config" : {
- "single" : "false",
- "attribute.nameformat" : "Basic",
- "attribute.name" : "Role"
- }
- }, {
- "id" : "fc120667-19a8-4d09-8d94-c2e6682cf16c",
- "name" : "given name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${givenName}",
- "config" : {
- "user.attribute" : "firstName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "given_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "029101ac-3b1d-4870-8124-b04090244b4f",
- "name" : "full name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-full-name-mapper",
- "consentRequired" : true,
- "consentText" : "${fullName}",
- "config" : {
- "id.token.claim" : "true",
- "access.token.claim" : "true"
- }
- }, {
- "id" : "9d240eaf-e878-425c-8fa5-ae8ecaf4cdbd",
- "name" : "email",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${email}",
- "config" : {
- "user.attribute" : "email",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "email",
- "jsonType.label" : "String"
- }
- } ],
- "useTemplateConfig" : false,
- "useTemplateScope" : false,
- "useTemplateMappers" : false
- }, {
- "id" : "a7fdaaf7-4fbf-44df-8d93-dcfceeee7bd3",
- "clientId" : "admin-cli",
- "name" : "${client_admin-cli}",
- "surrogateAuthRequired" : false,
- "enabled" : true,
- "clientAuthenticatorType" : "client-secret",
- "secret" : "9e4c9ae3-4d72-436c-9c98-3b8ae8326e40",
- "redirectUris" : [ ],
- "webOrigins" : [ ],
- "notBefore" : 0,
- "bearerOnly" : false,
- "consentRequired" : false,
- "standardFlowEnabled" : false,
- "implicitFlowEnabled" : false,
- "directAccessGrantsEnabled" : true,
- "serviceAccountsEnabled" : false,
- "publicClient" : true,
- "frontchannelLogout" : false,
- "attributes" : { },
- "fullScopeAllowed" : false,
- "nodeReRegistrationTimeout" : 0,
- "protocolMappers" : [ {
- "id" : "a6b371c3-fa44-4635-997f-ed56a207131d",
- "name" : "email",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${email}",
- "config" : {
- "user.attribute" : "email",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "email",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "cb3be06c-77e3-412b-b7ff-3df79a06b3ba",
- "name" : "full name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-full-name-mapper",
- "consentRequired" : true,
- "consentText" : "${fullName}",
- "config" : {
- "id.token.claim" : "true",
- "access.token.claim" : "true"
- }
- }, {
- "id" : "ad30fcdc-cfa0-41ad-aa66-457bdd65896d",
- "name" : "family name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${familyName}",
- "config" : {
- "user.attribute" : "lastName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "family_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "ef820883-aadf-4ba3-b72b-ad72b90e441d",
- "name" : "username",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${username}",
- "config" : {
- "user.attribute" : "username",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "preferred_username",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "fae715f7-947c-469a-ac12-e521bc5fbe41",
- "name" : "given name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${givenName}",
- "config" : {
- "user.attribute" : "firstName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "given_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "c2617a4b-78c3-42b6-9d41-f2e62ba38d73",
- "name" : "role list",
- "protocol" : "saml",
- "protocolMapper" : "saml-role-list-mapper",
- "consentRequired" : false,
- "config" : {
- "single" : "false",
- "attribute.nameformat" : "Basic",
- "attribute.name" : "Role"
- }
- } ],
- "useTemplateConfig" : false,
- "useTemplateScope" : false,
- "useTemplateMappers" : false
- }, {
- "id" : "18fc5aaa-acb0-4c20-b555-f9ddf21803df",
- "clientId" : "broker",
- "name" : "${client_broker}",
- "surrogateAuthRequired" : false,
- "enabled" : true,
- "clientAuthenticatorType" : "client-secret",
- "secret" : "590ce1d1-bb4c-413f-a588-1411ce1ac688",
- "redirectUris" : [ ],
- "webOrigins" : [ ],
- "notBefore" : 0,
- "bearerOnly" : false,
- "consentRequired" : false,
- "standardFlowEnabled" : true,
- "implicitFlowEnabled" : false,
- "directAccessGrantsEnabled" : false,
- "serviceAccountsEnabled" : false,
- "publicClient" : false,
- "frontchannelLogout" : false,
- "attributes" : { },
- "fullScopeAllowed" : false,
- "nodeReRegistrationTimeout" : 0,
- "protocolMappers" : [ {
- "id" : "84c77f5f-7374-4b5c-88a2-7b374c0d2101",
- "name" : "full name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-full-name-mapper",
- "consentRequired" : true,
- "consentText" : "${fullName}",
- "config" : {
- "id.token.claim" : "true",
- "access.token.claim" : "true"
- }
- }, {
- "id" : "36a94233-60d6-4ba9-a16b-aed3a68d14e2",
- "name" : "username",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${username}",
- "config" : {
- "user.attribute" : "username",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "preferred_username",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "c3973c11-4357-4b55-a4a8-4b5b3a43de5e",
- "name" : "given name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${givenName}",
- "config" : {
- "user.attribute" : "firstName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "given_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "485cd669-a5d5-4dcc-95db-8fe90ce9fac8",
- "name" : "role list",
- "protocol" : "saml",
- "protocolMapper" : "saml-role-list-mapper",
- "consentRequired" : false,
- "config" : {
- "single" : "false",
- "attribute.nameformat" : "Basic",
- "attribute.name" : "Role"
- }
- }, {
- "id" : "1f10d4aa-27fb-4a88-96d0-45f92ea17ec5",
- "name" : "family name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${familyName}",
- "config" : {
- "user.attribute" : "lastName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "family_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "42f4f8e5-fc75-423d-a468-82453838ec81",
- "name" : "email",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${email}",
- "config" : {
- "user.attribute" : "email",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "email",
- "jsonType.label" : "String"
- }
- } ],
- "useTemplateConfig" : false,
- "useTemplateScope" : false,
- "useTemplateMappers" : false
- }, {
- "id" : "9ea825ad-0fab-4946-bc9a-43d7823e6a32",
- "clientId" : "realm-management",
- "name" : "${client_realm-management}",
- "surrogateAuthRequired" : false,
- "enabled" : true,
- "clientAuthenticatorType" : "client-secret",
- "secret" : "576940c5-7a75-431c-bc99-c82776acd0cc",
- "redirectUris" : [ ],
- "webOrigins" : [ ],
- "notBefore" : 0,
- "bearerOnly" : true,
- "consentRequired" : false,
- "standardFlowEnabled" : true,
- "implicitFlowEnabled" : false,
- "directAccessGrantsEnabled" : false,
- "serviceAccountsEnabled" : false,
- "publicClient" : false,
- "frontchannelLogout" : false,
- "attributes" : { },
- "fullScopeAllowed" : false,
- "nodeReRegistrationTimeout" : 0,
- "protocolMappers" : [ {
- "id" : "bbff56f2-1ae1-486e-b49e-814cecbab7b6",
- "name" : "given name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${givenName}",
- "config" : {
- "user.attribute" : "firstName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "given_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "46728f98-19de-4126-baf4-ec6ad917cd5b",
- "name" : "full name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-full-name-mapper",
- "consentRequired" : true,
- "consentText" : "${fullName}",
- "config" : {
- "id.token.claim" : "true",
- "access.token.claim" : "true"
- }
- }, {
- "id" : "c1f47d66-d9f2-443d-a5a3-82bcbac4155f",
- "name" : "family name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${familyName}",
- "config" : {
- "user.attribute" : "lastName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "family_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "96f41a17-8860-4e9e-9447-210205882c1c",
- "name" : "username",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${username}",
- "config" : {
- "user.attribute" : "username",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "preferred_username",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "53c51384-9b53-44d1-9511-414fadbcd867",
- "name" : "role list",
- "protocol" : "saml",
- "protocolMapper" : "saml-role-list-mapper",
- "consentRequired" : false,
- "config" : {
- "single" : "false",
- "attribute.nameformat" : "Basic",
- "attribute.name" : "Role"
- }
- }, {
- "id" : "e4260172-5a3c-429e-bfc0-e9d48168784e",
- "name" : "email",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${email}",
- "config" : {
- "user.attribute" : "email",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "email",
- "jsonType.label" : "String"
+ "groups": [],
+ "defaultRoles": [
+ "offline_access",
+ "uma_authorization",
+ "user"
+ ],
+ "requiredCredentials": [
+ "password"
+ ],
+ "passwordPolicy": "hashIterations(20000)",
+ "otpPolicyType": "totp",
+ "otpPolicyAlgorithm": "HmacSHA1",
+ "otpPolicyInitialCounter": 0,
+ "otpPolicyDigits": 6,
+ "otpPolicyLookAheadWindow": 1,
+ "otpPolicyPeriod": 30,
+ "users": [
+ {
+ "id": "1453daaa-2720-4037-94e6-6fcd4b5feac8",
+ "createdTimestamp": 1491555471831,
+ "username": "guest",
+ "enabled": true,
+ "totp": false,
+ "emailVerified": true,
+ "credentials": [
+ {
+ "type": "password",
+ "hashedSaltedValue": "NSOEorQ1rz34WBxiXMjLQ2BOQbRiopzBJxIanLRdtpAovTZFjThgrfJ4bUJxcDuB6/VWJTiZUCVTmZ728a9LhQ==",
+ "salt": "bZpA95f6jasCUpvhLNi0Hw==",
+ "hashIterations": 20000,
+ "counter": 0,
+ "algorithm": "pbkdf2",
+ "digits": 0,
+ "createdDate": 1491556090000
+ }
+ ],
+ "requiredActions": [],
+ "realmRoles": [
+ "uma_authorization",
+ "offline_access",
+ "user"
+ ],
+ "clientRoles": {
+ "account": [
+ "manage-account",
+ "view-profile"
+ ]
+ },
+ "groups": []
+ }
+ ],
+ "clientScopeMappings": {
+ "realm-management": [
+ {
+ "client": "admin-cli",
+ "roles": [
+ "realm-admin"
+ ]
+ },
+ {
+ "client": "security-admin-console",
+ "roles": [
+ "realm-admin"
+ ]
}
- } ],
- "useTemplateConfig" : false,
- "useTemplateScope" : false,
- "useTemplateMappers" : false
+ ]
+ },
+ "clients": [
+ {
+ "id": "8ad07d06-b9cf-4905-9267-ddec6a8aa09a",
+ "clientId": "account",
+ "name": "${client_account}",
+ "baseUrl": "/auth/realms/rhamt/account",
+ "surrogateAuthRequired": false,
+ "enabled": true,
+ "clientAuthenticatorType": "client-secret",
+ "secret": "ebb70697-34ea-475e-9d92-a9412a5d3570",
+ "defaultRoles": [
+ "view-profile",
+ "manage-account"
+ ],
+ "redirectUris": [
+ "/auth/realms/rhamt/account/*"
+ ],
+ "webOrigins": [],
+ "notBefore": 0,
+ "bearerOnly": false,
+ "consentRequired": false,
+ "standardFlowEnabled": true,
+ "implicitFlowEnabled": false,
+ "directAccessGrantsEnabled": false,
+ "serviceAccountsEnabled": false,
+ "publicClient": false,
+ "frontchannelLogout": false,
+ "attributes": {},
+ "fullScopeAllowed": false,
+ "nodeReRegistrationTimeout": 0,
+ "protocolMappers": [
+ {
+ "id": "d988f2cd-7e6a-4f6a-9246-eacfef7a4efd",
+ "name": "username",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${username}",
+ "config": {
+ "user.attribute": "username",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "preferred_username",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "72a23589-63ca-4d3a-a4fb-f92303cfeaf9",
+ "name": "family name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${familyName}",
+ "config": {
+ "user.attribute": "lastName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "family_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "147a9a33-22bb-4d2b-b525-6b0398a4e2c1",
+ "name": "role list",
+ "protocol": "saml",
+ "protocolMapper": "saml-role-list-mapper",
+ "consentRequired": false,
+ "config": {
+ "single": "false",
+ "attribute.nameformat": "Basic",
+ "attribute.name": "Role"
+ }
+ },
+ {
+ "id": "fc120667-19a8-4d09-8d94-c2e6682cf16c",
+ "name": "given name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${givenName}",
+ "config": {
+ "user.attribute": "firstName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "given_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "029101ac-3b1d-4870-8124-b04090244b4f",
+ "name": "full name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-full-name-mapper",
+ "consentRequired": true,
+ "consentText": "${fullName}",
+ "config": {
+ "id.token.claim": "true",
+ "access.token.claim": "true"
+ }
+ },
+ {
+ "id": "9d240eaf-e878-425c-8fa5-ae8ecaf4cdbd",
+ "name": "email",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${email}",
+ "config": {
+ "user.attribute": "email",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "email",
+ "jsonType.label": "String"
+ }
+ }
+ ],
+ "useTemplateConfig": false,
+ "useTemplateScope": false,
+ "useTemplateMappers": false
}, {
- "id" : "739a78cd-ab8d-427a-93f7-4af38f0eab31",
- "clientId" : "rhamt-web",
- "name" : "Red Hat Application Migration Toolkit Web Console",
- "surrogateAuthRequired" : false,
- "enabled" : true,
- "clientAuthenticatorType" : "client-secret",
- "secret" : "3ab54e7d-0398-49ed-9f2d-05756aeeb765",
- "adminUrl" : "/rhamt-web/",
- "redirectUris" : [ "/rhamt-web/*" ],
- "webOrigins" : [ "/" ],
- "notBefore" : 0,
- "bearerOnly" : false,
- "consentRequired" : false,
- "standardFlowEnabled" : true,
- "implicitFlowEnabled" : false,
- "directAccessGrantsEnabled" : true,
- "serviceAccountsEnabled" : false,
- "publicClient" : true,
- "frontchannelLogout" : false,
- "protocol" : "openid-connect",
- "attributes" : {
- "saml.assertion.signature" : "false",
- "saml.force.post.binding" : "false",
- "saml.multivalued.roles" : "false",
- "saml.encrypt" : "false",
- "saml_force_name_id_format" : "false",
- "saml.client.signature" : "false",
- "saml.authnstatement" : "false",
- "saml.server.signature" : "false"
+ "id": "a7fdaaf7-4fbf-44df-8d93-dcfceeee7bd3",
+ "clientId": "admin-cli",
+ "name": "${client_admin-cli}",
+ "surrogateAuthRequired": false,
+ "enabled": true,
+ "clientAuthenticatorType": "client-secret",
+ "secret": "9e4c9ae3-4d72-436c-9c98-3b8ae8326e40",
+ "redirectUris": [],
+ "webOrigins": [],
+ "notBefore": 0,
+ "bearerOnly": false,
+ "consentRequired": false,
+ "standardFlowEnabled": false,
+ "implicitFlowEnabled": false,
+ "directAccessGrantsEnabled": true,
+ "serviceAccountsEnabled": false,
+ "publicClient": true,
+ "frontchannelLogout": false,
+ "attributes": {},
+ "fullScopeAllowed": false,
+ "nodeReRegistrationTimeout": 0,
+ "protocolMappers": [
+ {
+ "id": "a6b371c3-fa44-4635-997f-ed56a207131d",
+ "name": "email",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${email}",
+ "config": {
+ "user.attribute": "email",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "email",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "cb3be06c-77e3-412b-b7ff-3df79a06b3ba",
+ "name": "full name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-full-name-mapper",
+ "consentRequired": true,
+ "consentText": "${fullName}",
+ "config": {
+ "id.token.claim": "true",
+ "access.token.claim": "true"
+ }
+ },
+ {
+ "id": "ad30fcdc-cfa0-41ad-aa66-457bdd65896d",
+ "name": "family name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${familyName}",
+ "config": {
+ "user.attribute": "lastName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "family_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "ef820883-aadf-4ba3-b72b-ad72b90e441d",
+ "name": "username",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${username}",
+ "config": {
+ "user.attribute": "username",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "preferred_username",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "fae715f7-947c-469a-ac12-e521bc5fbe41",
+ "name": "given name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${givenName}",
+ "config": {
+ "user.attribute": "firstName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "given_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "c2617a4b-78c3-42b6-9d41-f2e62ba38d73",
+ "name": "role list",
+ "protocol": "saml",
+ "protocolMapper": "saml-role-list-mapper",
+ "consentRequired": false,
+ "config": {
+ "single": "false",
+ "attribute.nameformat": "Basic",
+ "attribute.name": "Role"
+ }
+ }
+ ],
+ "useTemplateConfig": false,
+ "useTemplateScope": false,
+ "useTemplateMappers": false
+ },
+ {
+ "id": "18fc5aaa-acb0-4c20-b555-f9ddf21803df",
+ "clientId": "broker",
+ "name": "${client_broker}",
+ "surrogateAuthRequired": false,
+ "enabled": true,
+ "clientAuthenticatorType": "client-secret",
+ "secret": "590ce1d1-bb4c-413f-a588-1411ce1ac688",
+ "redirectUris": [],
+ "webOrigins": [],
+ "notBefore": 0,
+ "bearerOnly": false,
+ "consentRequired": false,
+ "standardFlowEnabled": true,
+ "implicitFlowEnabled": false,
+ "directAccessGrantsEnabled": false,
+ "serviceAccountsEnabled": false,
+ "publicClient": false,
+ "frontchannelLogout": false,
+ "attributes": {},
+ "fullScopeAllowed": false,
+ "nodeReRegistrationTimeout": 0,
+ "protocolMappers": [
+ {
+ "id": "84c77f5f-7374-4b5c-88a2-7b374c0d2101",
+ "name": "full name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-full-name-mapper",
+ "consentRequired": true,
+ "consentText": "${fullName}",
+ "config": {
+ "id.token.claim": "true",
+ "access.token.claim": "true"
+ }
+ },
+ {
+ "id": "36a94233-60d6-4ba9-a16b-aed3a68d14e2",
+ "name": "username",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${username}",
+ "config": {
+ "user.attribute": "username",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "preferred_username",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "c3973c11-4357-4b55-a4a8-4b5b3a43de5e",
+ "name": "given name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${givenName}",
+ "config": {
+ "user.attribute": "firstName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "given_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "485cd669-a5d5-4dcc-95db-8fe90ce9fac8",
+ "name": "role list",
+ "protocol": "saml",
+ "protocolMapper": "saml-role-list-mapper",
+ "consentRequired": false,
+ "config": {
+ "single": "false",
+ "attribute.nameformat": "Basic",
+ "attribute.name": "Role"
+ }
+ },
+ {
+ "id": "1f10d4aa-27fb-4a88-96d0-45f92ea17ec5",
+ "name": "family name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${familyName}",
+ "config": {
+ "user.attribute": "lastName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "family_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "42f4f8e5-fc75-423d-a468-82453838ec81",
+ "name": "email",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${email}",
+ "config": {
+ "user.attribute": "email",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "email",
+ "jsonType.label": "String"
+ }
+ }
+ ],
+ "useTemplateConfig": false,
+ "useTemplateScope": false,
+ "useTemplateMappers": false
+ },
+ {
+ "id": "9ea825ad-0fab-4946-bc9a-43d7823e6a32",
+ "clientId": "realm-management",
+ "name": "${client_realm-management}",
+ "surrogateAuthRequired": false,
+ "enabled": true,
+ "clientAuthenticatorType": "client-secret",
+ "secret": "576940c5-7a75-431c-bc99-c82776acd0cc",
+ "redirectUris": [],
+ "webOrigins": [],
+ "notBefore": 0,
+ "bearerOnly": true,
+ "consentRequired": false,
+ "standardFlowEnabled": true,
+ "implicitFlowEnabled": false,
+ "directAccessGrantsEnabled": false,
+ "serviceAccountsEnabled": false,
+ "publicClient": false,
+ "frontchannelLogout": false,
+ "attributes": {},
+ "fullScopeAllowed": false,
+ "nodeReRegistrationTimeout": 0,
+ "protocolMappers": [
+ {
+ "id": "bbff56f2-1ae1-486e-b49e-814cecbab7b6",
+ "name": "given name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${givenName}",
+ "config": {
+ "user.attribute": "firstName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "given_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "46728f98-19de-4126-baf4-ec6ad917cd5b",
+ "name": "full name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-full-name-mapper",
+ "consentRequired": true,
+ "consentText": "${fullName}",
+ "config": {
+ "id.token.claim": "true",
+ "access.token.claim": "true"
+ }
+ },
+ {
+ "id": "c1f47d66-d9f2-443d-a5a3-82bcbac4155f",
+ "name": "family name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${familyName}",
+ "config": {
+ "user.attribute": "lastName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "family_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "96f41a17-8860-4e9e-9447-210205882c1c",
+ "name": "username",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${username}",
+ "config": {
+ "user.attribute": "username",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "preferred_username",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "53c51384-9b53-44d1-9511-414fadbcd867",
+ "name": "role list",
+ "protocol": "saml",
+ "protocolMapper": "saml-role-list-mapper",
+ "consentRequired": false,
+ "config": {
+ "single": "false",
+ "attribute.nameformat": "Basic",
+ "attribute.name": "Role"
+ }
+ },
+ {
+ "id": "e4260172-5a3c-429e-bfc0-e9d48168784e",
+ "name": "email",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${email}",
+ "config": {
+ "user.attribute": "email",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "email",
+ "jsonType.label": "String"
+ }
+ }
+ ],
+ "useTemplateConfig": false,
+ "useTemplateScope": false,
+ "useTemplateMappers": false
},
- "fullScopeAllowed" : true,
- "nodeReRegistrationTimeout" : -1,
- "protocolMappers" : [ {
- "id" : "2f1f1cc4-005c-4ec3-bfb5-67e0ad3e6510",
- "name" : "username",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${username}",
- "config" : {
- "user.attribute" : "username",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "preferred_username",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "2c23345c-b32d-477e-9394-79478c01c4fe",
- "name" : "role list",
- "protocol" : "saml",
- "protocolMapper" : "saml-role-list-mapper",
- "consentRequired" : false,
- "config" : {
- "single" : "false",
- "attribute.nameformat" : "Basic",
- "attribute.name" : "Role"
- }
- }, {
- "id" : "a6af3203-4f26-4017-a53f-1728033e585a",
- "name" : "given name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${givenName}",
- "config" : {
- "user.attribute" : "firstName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "given_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "38e44fc8-632b-4c7c-80b9-d0e6c513a936",
- "name" : "email",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${email}",
- "config" : {
- "user.attribute" : "email",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "email",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "aa807f3f-479f-477d-b27e-b7e9aee091b6",
- "name" : "family name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${familyName}",
- "config" : {
- "user.attribute" : "lastName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "family_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "5369232f-cf0a-44ee-af18-9227635593fb",
- "name" : "full name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-full-name-mapper",
- "consentRequired" : true,
- "consentText" : "${fullName}",
- "config" : {
- "id.token.claim" : "true",
- "access.token.claim" : "true"
- }
- } ],
- "useTemplateConfig" : false,
- "useTemplateScope" : false,
- "useTemplateMappers" : false
- }, {
- "id" : "9d84ccd5-81ea-468d-9646-73c0078962d7",
- "clientId" : "security-admin-console",
- "name" : "${client_security-admin-console}",
- "baseUrl" : "/auth/admin/rhamt/console/index.html",
- "surrogateAuthRequired" : false,
- "enabled" : true,
- "clientAuthenticatorType" : "client-secret",
- "secret" : "839e5ee0-97ff-453c-aa16-ca371cfd97f0",
- "redirectUris" : [ "/auth/admin/rhamt/console/*" ],
- "webOrigins" : [ ],
- "notBefore" : 0,
- "bearerOnly" : false,
- "consentRequired" : false,
- "standardFlowEnabled" : true,
- "implicitFlowEnabled" : false,
- "directAccessGrantsEnabled" : false,
- "serviceAccountsEnabled" : false,
- "publicClient" : true,
- "frontchannelLogout" : false,
- "attributes" : { },
- "fullScopeAllowed" : false,
- "nodeReRegistrationTimeout" : 0,
- "protocolMappers" : [ {
- "id" : "f4d35c54-6845-4ad1-b49c-671ed3803d46",
- "name" : "role list",
- "protocol" : "saml",
- "protocolMapper" : "saml-role-list-mapper",
- "consentRequired" : false,
- "config" : {
- "single" : "false",
- "attribute.nameformat" : "Basic",
- "attribute.name" : "Role"
- }
- }, {
- "id" : "702a51fa-555d-4691-be3a-0656ac78f386",
- "name" : "username",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${username}",
- "config" : {
- "user.attribute" : "username",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "preferred_username",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "5254b432-4fdf-4e26-834a-1b119add1e68",
- "name" : "given name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${givenName}",
- "config" : {
- "user.attribute" : "firstName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "given_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "2f955107-0ed7-4d58-9a47-f45e5f910687",
- "name" : "email",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${email}",
- "config" : {
- "user.attribute" : "email",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "email",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "532a7ba7-959d-4c15-95b2-37c816e24145",
- "name" : "family name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-property-mapper",
- "consentRequired" : true,
- "consentText" : "${familyName}",
- "config" : {
- "user.attribute" : "lastName",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "family_name",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "0767b0dd-88de-4f5e-bcc7-4322f545ce74",
- "name" : "locale",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-usermodel-attribute-mapper",
- "consentRequired" : false,
- "consentText" : "${locale}",
- "config" : {
- "user.attribute" : "locale",
- "id.token.claim" : "true",
- "access.token.claim" : "true",
- "claim.name" : "locale",
- "jsonType.label" : "String"
- }
- }, {
- "id" : "b5f2aa3c-8ff8-4770-b94e-a6eb0a115743",
- "name" : "full name",
- "protocol" : "openid-connect",
- "protocolMapper" : "oidc-full-name-mapper",
- "consentRequired" : true,
- "consentText" : "${fullName}",
- "config" : {
- "id.token.claim" : "true",
- "access.token.claim" : "true"
- }
- } ],
- "useTemplateConfig" : false,
- "useTemplateScope" : false,
- "useTemplateMappers" : false
- } ,
{
- "clientId": "rhamt-api",
- "name": "Red Hat Application Migration Toolkit API",
- "adminUrl": "/rhamt-web/",
+ "id": "739a78cd-ab8d-427a-93f7-4af38f0eab31",
+ "clientId": "rhamt-web",
+ "name": "Red Hat Application Migration Toolkit Web Console",
"surrogateAuthRequired": false,
"enabled": true,
"clientAuthenticatorType": "client-secret",
+ "secret": "3ab54e7d-0398-49ed-9f2d-05756aeeb765",
+ "adminUrl": "/rhamt-web/",
"redirectUris": [
"/rhamt-web/*"
],
@@ -938,27 +806,64 @@
"saml.force.post.binding": "false",
"saml.multivalued.roles": "false",
"saml.encrypt": "false",
- "saml.server.signature": "false",
- "saml.server.signature.keyinfo.ext": "false",
- "exclude.session.state.from.auth.response": "false",
"saml_force_name_id_format": "false",
"saml.client.signature": "false",
- "tls.client.certificate.bound.access.tokens": "false",
"saml.authnstatement": "false",
- "display.on.consent.screen": "false",
- "saml.onetimeuse.condition": "false"
+ "saml.server.signature": "false"
},
- "authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
"nodeReRegistrationTimeout": -1,
"protocolMappers": [
{
- "name": "email",
+ "id": "2f1f1cc4-005c-4ec3-bfb5-67e0ad3e6510",
+ "name": "username",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${username}",
+ "config": {
+ "user.attribute": "username",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "preferred_username",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "2c23345c-b32d-477e-9394-79478c01c4fe",
+ "name": "role list",
+ "protocol": "saml",
+ "protocolMapper": "saml-role-list-mapper",
"consentRequired": false,
"config": {
- "userinfo.token.claim": "true",
+ "single": "false",
+ "attribute.nameformat": "Basic",
+ "attribute.name": "Role"
+ }
+ },
+ {
+ "id": "a6af3203-4f26-4017-a53f-1728033e585a",
+ "name": "given name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${givenName}",
+ "config": {
+ "user.attribute": "firstName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "given_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "38e44fc8-632b-4c7c-80b9-d0e6c513a936",
+ "name": "email",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${email}",
+ "config": {
"user.attribute": "email",
"id.token.claim": "true",
"access.token.claim": "true",
@@ -967,12 +872,13 @@
}
},
{
+ "id": "aa807f3f-479f-477d-b27e-b7e9aee091b6",
"name": "family name",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-property-mapper",
- "consentRequired": false,
+ "consentRequired": true,
+ "consentText": "${familyName}",
"config": {
- "userinfo.token.claim": "true",
"user.attribute": "lastName",
"id.token.claim": "true",
"access.token.claim": "true",
@@ -981,12 +887,68 @@
}
},
{
+ "id": "5369232f-cf0a-44ee-af18-9227635593fb",
+ "name": "full name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-full-name-mapper",
+ "consentRequired": true,
+ "consentText": "${fullName}",
+ "config": {
+ "id.token.claim": "true",
+ "access.token.claim": "true"
+ }
+ }
+ ],
+ "useTemplateConfig": false,
+ "useTemplateScope": false,
+ "useTemplateMappers": false
+ },
+ {
+ "id": "9d84ccd5-81ea-468d-9646-73c0078962d7",
+ "clientId": "security-admin-console",
+ "name": "${client_security-admin-console}",
+ "baseUrl": "/auth/admin/rhamt/console/index.html",
+ "surrogateAuthRequired": false,
+ "enabled": true,
+ "clientAuthenticatorType": "client-secret",
+ "secret": "839e5ee0-97ff-453c-aa16-ca371cfd97f0",
+ "redirectUris": [
+ "/auth/admin/rhamt/console/*"
+ ],
+ "webOrigins": [],
+ "notBefore": 0,
+ "bearerOnly": false,
+ "consentRequired": false,
+ "standardFlowEnabled": true,
+ "implicitFlowEnabled": false,
+ "directAccessGrantsEnabled": false,
+ "serviceAccountsEnabled": false,
+ "publicClient": true,
+ "frontchannelLogout": false,
+ "attributes": {},
+ "fullScopeAllowed": false,
+ "nodeReRegistrationTimeout": 0,
+ "protocolMappers": [
+ {
+ "id": "f4d35c54-6845-4ad1-b49c-671ed3803d46",
+ "name": "role list",
+ "protocol": "saml",
+ "protocolMapper": "saml-role-list-mapper",
+ "consentRequired": false,
+ "config": {
+ "single": "false",
+ "attribute.nameformat": "Basic",
+ "attribute.name": "Role"
+ }
+ },
+ {
+ "id": "702a51fa-555d-4691-be3a-0656ac78f386",
"name": "username",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-property-mapper",
- "consentRequired": false,
+ "consentRequired": true,
+ "consentText": "${username}",
"config": {
- "userinfo.token.claim": "true",
"user.attribute": "username",
"id.token.claim": "true",
"access.token.claim": "true",
@@ -995,378 +957,472 @@
}
},
{
- "name": "full name",
+ "id": "5254b432-4fdf-4e26-834a-1b119add1e68",
+ "name": "given name",
"protocol": "openid-connect",
- "protocolMapper": "oidc-full-name-mapper",
- "consentRequired": false,
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${givenName}",
"config": {
+ "user.attribute": "firstName",
"id.token.claim": "true",
"access.token.claim": "true",
- "userinfo.token.claim": "true"
+ "claim.name": "given_name",
+ "jsonType.label": "String"
}
},
{
- "name": "given name",
+ "id": "2f955107-0ed7-4d58-9a47-f45e5f910687",
+ "name": "email",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${email}",
+ "config": {
+ "user.attribute": "email",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "email",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "532a7ba7-959d-4c15-95b2-37c816e24145",
+ "name": "family name",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-property-mapper",
+ "consentRequired": true,
+ "consentText": "${familyName}",
+ "config": {
+ "user.attribute": "lastName",
+ "id.token.claim": "true",
+ "access.token.claim": "true",
+ "claim.name": "family_name",
+ "jsonType.label": "String"
+ }
+ },
+ {
+ "id": "0767b0dd-88de-4f5e-bcc7-4322f545ce74",
+ "name": "locale",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-usermodel-attribute-mapper",
"consentRequired": false,
+ "consentText": "${locale}",
"config": {
- "userinfo.token.claim": "true",
- "user.attribute": "firstName",
+ "user.attribute": "locale",
"id.token.claim": "true",
"access.token.claim": "true",
- "claim.name": "given_name",
+ "claim.name": "locale",
"jsonType.label": "String"
}
+ },
+ {
+ "id": "b5f2aa3c-8ff8-4770-b94e-a6eb0a115743",
+ "name": "full name",
+ "protocol": "openid-connect",
+ "protocolMapper": "oidc-full-name-mapper",
+ "consentRequired": true,
+ "consentText": "${fullName}",
+ "config": {
+ "id.token.claim": "true",
+ "access.token.claim": "true"
+ }
}
],
- "defaultClientScopes": [
- "web-origins",
- "role_list",
- "profile",
- "roles",
- "email"
- ],
- "optionalClientScopes": [
- "address",
- "phone",
- "offline_access"
- ],
- "access": {
- "view": true,
- "configure": true,
- "manage": true
- }
- }
- ],
- "clientTemplates" : [ ],
- "browserSecurityHeaders" : {
- "xContentTypeOptions" : "nosniff",
- "xFrameOptions" : "SAMEORIGIN",
- "contentSecurityPolicy" : "frame-src 'self'"
- },
- "smtpServer" : { },
- "loginTheme" : "rhamt",
- "eventsEnabled" : false,
- "eventsListeners" : [ "jboss-logging" ],
- "enabledEventTypes" : [ ],
- "adminEventsEnabled" : false,
- "adminEventsDetailsEnabled" : false,
- "internationalizationEnabled" : false,
- "supportedLocales" : [ ],
- "authenticationFlows" : [ {
- "id" : "8aa331c3-466d-4ee8-9ab5-8734ff6b2d53",
- "alias" : "Handle Existing Account",
- "description" : "Handle what to do if there is existing account with same email/username like authenticated identity provider",
- "providerId" : "basic-flow",
- "topLevel" : false,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "idp-confirm-link",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "idp-email-verification",
- "requirement" : "ALTERNATIVE",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "requirement" : "ALTERNATIVE",
- "priority" : 30,
- "flowAlias" : "Verify Existing Account by Re-authentication",
- "userSetupAllowed" : false,
- "autheticatorFlow" : true
- } ]
- }, {
- "id" : "db80545f-f433-4897-a471-4b38b98e12bd",
- "alias" : "Verify Existing Account by Re-authentication",
- "description" : "Reauthentication of existing account",
- "providerId" : "basic-flow",
- "topLevel" : false,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "idp-username-password-form",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "auth-otp-form",
- "requirement" : "OPTIONAL",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
- }, {
- "id" : "12c53355-8c71-4d6b-873b-431a00bec116",
- "alias" : "browser",
- "description" : "browser based authentication",
- "providerId" : "basic-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "auth-cookie",
- "requirement" : "ALTERNATIVE",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "auth-spnego",
- "requirement" : "DISABLED",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "requirement" : "ALTERNATIVE",
- "priority" : 30,
- "flowAlias" : "forms",
- "userSetupAllowed" : false,
- "autheticatorFlow" : true
- } ]
- }, {
- "id" : "ca196226-3b47-4b6d-9d7b-f0628a87f938",
- "alias" : "clients",
- "description" : "Base authentication for clients",
- "providerId" : "client-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "client-secret",
- "requirement" : "ALTERNATIVE",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "client-jwt",
- "requirement" : "ALTERNATIVE",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
- }, {
- "id" : "4cd34261-5d3e-4b4a-8bf3-625c2812332a",
- "alias" : "direct grant",
- "description" : "OpenID Connect Resource Owner Grant",
- "providerId" : "basic-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "direct-grant-validate-username",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "direct-grant-validate-password",
- "requirement" : "REQUIRED",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "direct-grant-validate-otp",
- "requirement" : "OPTIONAL",
- "priority" : 30,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
- }, {
- "id" : "a381df9e-f8e5-49d7-9c86-a04e46086168",
- "alias" : "first broker login",
- "description" : "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
- "providerId" : "basic-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticatorConfig" : "review profile config",
- "authenticator" : "idp-review-profile",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticatorConfig" : "create unique user config",
- "authenticator" : "idp-create-user-if-unique",
- "requirement" : "ALTERNATIVE",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "requirement" : "ALTERNATIVE",
- "priority" : 30,
- "flowAlias" : "Handle Existing Account",
- "userSetupAllowed" : false,
- "autheticatorFlow" : true
- } ]
- }, {
- "id" : "0f469e0d-ae88-436b-84f6-425f9c99803c",
- "alias" : "forms",
- "description" : "Username, password, otp and other auth forms.",
- "providerId" : "basic-flow",
- "topLevel" : false,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "auth-username-password-form",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "auth-otp-form",
- "requirement" : "OPTIONAL",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
- }, {
- "id" : "b0c83f86-f064-42c7-8977-a7b2191ff71c",
- "alias" : "registration",
- "description" : "registration flow",
- "providerId" : "basic-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "registration-page-form",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "flowAlias" : "registration form",
- "userSetupAllowed" : false,
- "autheticatorFlow" : true
- } ]
- }, {
- "id" : "69729d6b-94da-4406-ad51-ca13327f75f5",
- "alias" : "registration form",
- "description" : "registration form",
- "providerId" : "form-flow",
- "topLevel" : false,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "registration-user-creation",
- "requirement" : "REQUIRED",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "registration-profile-action",
- "requirement" : "REQUIRED",
- "priority" : 40,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "registration-password-action",
- "requirement" : "REQUIRED",
- "priority" : 50,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "registration-recaptcha-action",
- "requirement" : "DISABLED",
- "priority" : 60,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
- }, {
- "id" : "a9be1d9f-5953-43e3-a0c4-633b72b7ad0f",
- "alias" : "reset credentials",
- "description" : "Reset credentials for a user if they forgot their password or something",
- "providerId" : "basic-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "reset-credentials-choose-user",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "reset-credential-email",
- "requirement" : "REQUIRED",
- "priority" : 20,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "reset-password",
- "requirement" : "REQUIRED",
- "priority" : 30,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- }, {
- "authenticator" : "reset-otp",
- "requirement" : "OPTIONAL",
- "priority" : 40,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
- }, {
- "id" : "c58e7cd1-edf2-4a09-b55a-6652401ccc14",
- "alias" : "saml ecp",
- "description" : "SAML ECP Profile Authentication Flow",
- "providerId" : "basic-flow",
- "topLevel" : true,
- "builtIn" : true,
- "authenticationExecutions" : [ {
- "authenticator" : "http-basic-authenticator",
- "requirement" : "REQUIRED",
- "priority" : 10,
- "userSetupAllowed" : false,
- "autheticatorFlow" : false
- } ]
+ "useTemplateConfig": false,
+ "useTemplateScope": false,
+ "useTemplateMappers": false
} ],
- "authenticatorConfig" : [ {
- "id" : "ce5e33be-7e2d-4653-9d68-4a47c22dab42",
- "alias" : "create unique user config",
- "config" : {
- "require.password.update.after.registration" : "false"
+ "clientTemplates": [],
+ "browserSecurityHeaders": {
+ "xContentTypeOptions": "nosniff",
+ "xFrameOptions": "SAMEORIGIN",
+ "contentSecurityPolicy": "frame-src 'self'"
+ },
+ "smtpServer": {},
+ "loginTheme": "rhamt",
+ "eventsEnabled": false,
+ "eventsListeners": [
+ "jboss-logging"
+ ],
+ "enabledEventTypes": [],
+ "adminEventsEnabled": false,
+ "adminEventsDetailsEnabled": false,
+ "internationalizationEnabled": false,
+ "supportedLocales": [],
+ "authenticationFlows": [
+ {
+ "id": "8aa331c3-466d-4ee8-9ab5-8734ff6b2d53",
+ "alias": "Handle Existing Account",
+ "description": "Handle what to do if there is existing account with same email/username like authenticated identity provider",
+ "providerId": "basic-flow",
+ "topLevel": false,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "idp-confirm-link",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "idp-email-verification",
+ "requirement": "ALTERNATIVE",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "requirement": "ALTERNATIVE",
+ "priority": 30,
+ "flowAlias": "Verify Existing Account by Re-authentication",
+ "userSetupAllowed": false,
+ "autheticatorFlow": true
+ }
+ ]
+ },
+ {
+ "id": "db80545f-f433-4897-a471-4b38b98e12bd",
+ "alias": "Verify Existing Account by Re-authentication",
+ "description": "Reauthentication of existing account",
+ "providerId": "basic-flow",
+ "topLevel": false,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "idp-username-password-form",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "auth-otp-form",
+ "requirement": "OPTIONAL",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
+ },
+ {
+ "id": "12c53355-8c71-4d6b-873b-431a00bec116",
+ "alias": "browser",
+ "description": "browser based authentication",
+ "providerId": "basic-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "auth-cookie",
+ "requirement": "ALTERNATIVE",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "auth-spnego",
+ "requirement": "DISABLED",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "requirement": "ALTERNATIVE",
+ "priority": 30,
+ "flowAlias": "forms",
+ "userSetupAllowed": false,
+ "autheticatorFlow": true
+ }
+ ]
+ },
+ {
+ "id": "ca196226-3b47-4b6d-9d7b-f0628a87f938",
+ "alias": "clients",
+ "description": "Base authentication for clients",
+ "providerId": "client-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "client-secret",
+ "requirement": "ALTERNATIVE",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "client-jwt",
+ "requirement": "ALTERNATIVE",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
+ },
+ {
+ "id": "4cd34261-5d3e-4b4a-8bf3-625c2812332a",
+ "alias": "direct grant",
+ "description": "OpenID Connect Resource Owner Grant",
+ "providerId": "basic-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "direct-grant-validate-username",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "direct-grant-validate-password",
+ "requirement": "REQUIRED",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "direct-grant-validate-otp",
+ "requirement": "OPTIONAL",
+ "priority": 30,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
+ },
+ {
+ "id": "a381df9e-f8e5-49d7-9c86-a04e46086168",
+ "alias": "first broker login",
+ "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
+ "providerId": "basic-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticatorConfig": "review profile config",
+ "authenticator": "idp-review-profile",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticatorConfig": "create unique user config",
+ "authenticator": "idp-create-user-if-unique",
+ "requirement": "ALTERNATIVE",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "requirement": "ALTERNATIVE",
+ "priority": 30,
+ "flowAlias": "Handle Existing Account",
+ "userSetupAllowed": false,
+ "autheticatorFlow": true
+ }
+ ]
+ },
+ {
+ "id": "0f469e0d-ae88-436b-84f6-425f9c99803c",
+ "alias": "forms",
+ "description": "Username, password, otp and other auth forms.",
+ "providerId": "basic-flow",
+ "topLevel": false,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "auth-username-password-form",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "auth-otp-form",
+ "requirement": "OPTIONAL",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
+ },
+ {
+ "id": "b0c83f86-f064-42c7-8977-a7b2191ff71c",
+ "alias": "registration",
+ "description": "registration flow",
+ "providerId": "basic-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "registration-page-form",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "flowAlias": "registration form",
+ "userSetupAllowed": false,
+ "autheticatorFlow": true
+ }
+ ]
+ },
+ {
+ "id": "69729d6b-94da-4406-ad51-ca13327f75f5",
+ "alias": "registration form",
+ "description": "registration form",
+ "providerId": "form-flow",
+ "topLevel": false,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "registration-user-creation",
+ "requirement": "REQUIRED",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "registration-profile-action",
+ "requirement": "REQUIRED",
+ "priority": 40,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "registration-password-action",
+ "requirement": "REQUIRED",
+ "priority": 50,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "registration-recaptcha-action",
+ "requirement": "DISABLED",
+ "priority": 60,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
+ },
+ {
+ "id": "a9be1d9f-5953-43e3-a0c4-633b72b7ad0f",
+ "alias": "reset credentials",
+ "description": "Reset credentials for a user if they forgot their password or something",
+ "providerId": "basic-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "reset-credentials-choose-user",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "reset-credential-email",
+ "requirement": "REQUIRED",
+ "priority": 20,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "reset-password",
+ "requirement": "REQUIRED",
+ "priority": 30,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ },
+ {
+ "authenticator": "reset-otp",
+ "requirement": "OPTIONAL",
+ "priority": 40,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
+ },
+ {
+ "id": "c58e7cd1-edf2-4a09-b55a-6652401ccc14",
+ "alias": "saml ecp",
+ "description": "SAML ECP Profile Authentication Flow",
+ "providerId": "basic-flow",
+ "topLevel": true,
+ "builtIn": true,
+ "authenticationExecutions": [
+ {
+ "authenticator": "http-basic-authenticator",
+ "requirement": "REQUIRED",
+ "priority": 10,
+ "userSetupAllowed": false,
+ "autheticatorFlow": false
+ }
+ ]
}
- }, {
- "id" : "c5c57489-988a-4b74-93ca-4d30835f173e",
- "alias" : "review profile config",
- "config" : {
- "update.profile.on.first.login" : "missing"
+ ],
+ "authenticatorConfig": [
+ {
+ "id": "ce5e33be-7e2d-4653-9d68-4a47c22dab42",
+ "alias": "create unique user config",
+ "config": {
+ "require.password.update.after.registration": "false"
+ }
+ },
+ {
+ "id": "c5c57489-988a-4b74-93ca-4d30835f173e",
+ "alias": "review profile config",
+ "config": {
+ "update.profile.on.first.login": "missing"
+ }
}
- } ],
- "requiredActions" : [ {
- "alias" : "CONFIGURE_TOTP",
- "name" : "Configure OTP",
- "providerId" : "CONFIGURE_TOTP",
- "enabled" : true,
- "defaultAction" : false,
- "config" : { }
- }, {
- "alias" : "UPDATE_PASSWORD",
- "name" : "Update Password",
- "providerId" : "UPDATE_PASSWORD",
- "enabled" : true,
- "defaultAction" : false,
- "config" : { }
- }, {
- "alias" : "UPDATE_PROFILE",
- "name" : "Update Profile",
- "providerId" : "UPDATE_PROFILE",
- "enabled" : true,
- "defaultAction" : false,
- "config" : { }
- }, {
- "alias" : "VERIFY_EMAIL",
- "name" : "Verify Email",
- "providerId" : "VERIFY_EMAIL",
- "enabled" : true,
- "defaultAction" : false,
- "config" : { }
- }, {
- "alias" : "terms_and_conditions",
- "name" : "Terms and Conditions",
- "providerId" : "terms_and_conditions",
- "enabled" : false,
- "defaultAction" : false,
- "config" : { }
- } ],
- "browserFlow" : "browser",
- "registrationFlow" : "registration",
- "directGrantFlow" : "direct grant",
- "resetCredentialsFlow" : "reset credentials",
- "clientAuthenticationFlow" : "clients",
- "keycloakVersion" : "2.1.0.Final"
+ ],
+ "requiredActions": [
+ {
+ "alias": "CONFIGURE_TOTP",
+ "name": "Configure OTP",
+ "providerId": "CONFIGURE_TOTP",
+ "enabled": true,
+ "defaultAction": false,
+ "config": {}
+ },
+ {
+ "alias": "UPDATE_PASSWORD",
+ "name": "Update Password",
+ "providerId": "UPDATE_PASSWORD",
+ "enabled": true,
+ "defaultAction": false,
+ "config": {}
+ },
+ {
+ "alias": "UPDATE_PROFILE",
+ "name": "Update Profile",
+ "providerId": "UPDATE_PROFILE",
+ "enabled": true,
+ "defaultAction": false,
+ "config": {}
+ },
+ {
+ "alias": "VERIFY_EMAIL",
+ "name": "Verify Email",
+ "providerId": "VERIFY_EMAIL",
+ "enabled": true,
+ "defaultAction": false,
+ "config": {}
+ },
+ {
+ "alias": "terms_and_conditions",
+ "name": "Terms and Conditions",
+ "providerId": "terms_and_conditions",
+ "enabled": false,
+ "defaultAction": false,
+ "config": {}
+ }
+ ],
+ "browserFlow": "browser",
+ "registrationFlow": "registration",
+ "directGrantFlow": "direct grant",
+ "resetCredentialsFlow": "reset credentials",
+ "clientAuthenticationFlow": "clients",
+ "keycloakVersion": "2.1.0.Final"
}
diff --git a/ui/src/main/webapp/WEB-INF/web.xml b/ui/src/main/webapp/WEB-INF/web.xml
index 95919ca8..4a16013e 100644
--- a/ui/src/main/webapp/WEB-INF/web.xml
+++ b/ui/src/main/webapp/WEB-INF/web.xml
@@ -67,20 +67,20 @@
<url-pattern>/tests/unit-tests.html</url-pattern>
</servlet-mapping>
- <!--<security-constraint>-->
- <!--<web-resource-collection>-->
- <!--<web-resource-name>secured</web-resource-name>-->
- <!--<url-pattern>/authenticated.jsp</url-pattern>-->
- <!--<url-pattern>/app/*</url-pattern>-->
- <!--</web-resource-collection>-->
- <!--<auth-constraint>-->
- <!--<role-name>user</role-name>-->
- <!--</auth-constraint>-->
- <!--</security-constraint>-->
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>secured</web-resource-name>
+ <url-pattern>/authenticated.jsp</url-pattern>
+ <url-pattern>/app/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>user</role-name>
+ </auth-constraint>
+ </security-constraint>
- <!--<login-config>-->
- <!--<auth-method>KEYCLOAK</auth-method>-->
- <!--</login-config>-->
+ <login-config>
+ <auth-method>KEYCLOAK</auth-method>
+ </login-config>
<security-role>
<role-name>user</role-name>
(EN
diff --git a/src/main/cli/setup-windup-keycloak-properties.cli b/src/main/cli/setup-windup-keycloak-properties.cli
index ec70f06..64f50fe 100644
--- a/src/main/cli/setup-windup-keycloak-properties.cli
+++ b/src/main/cli/setup-windup-keycloak-properties.cli
@@ -1,2 +1,3 @@
/system-property=keycloak.server.url:add(value="/auth")
/subsystem=keycloak/secure-deployment=api.war:add(realm=rhamt, realm-public-key="${keycloak.realm.public.key}", auth-server-url="${keycloak.server.url}", ssl-required="NONE", resource=rhamt-api, public-client=true)
+/subsystem=keycloak/secure-deployment=rhamt-web.war:add(realm=rhamt, realm-public-key="${keycloak.realm.public.key}", auth-server-url="${keycloak.server.url}", ssl-required="NONE", resource=rhamt-web, public-client=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment