|
| 1 | +{ |
| 2 | + "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", |
| 3 | + "realm": "scrumboy", |
| 4 | + "displayName": "Scrumboy (local dev)", |
| 5 | + "enabled": true, |
| 6 | + "sslRequired": "none", |
| 7 | + "registrationAllowed": false, |
| 8 | + "registrationEmailAsUsername": false, |
| 9 | + "rememberMe": true, |
| 10 | + "verifyEmail": false, |
| 11 | + "loginWithEmailAllowed": true, |
| 12 | + "duplicateEmailsAllowed": false, |
| 13 | + "resetPasswordAllowed": true, |
| 14 | + "editUsernameAllowed": false, |
| 15 | + "bruteForceProtected": true, |
| 16 | + "failureFactor": 5, |
| 17 | + "defaultSignatureAlgorithm": "RS256", |
| 18 | + "accessTokenLifespan": 300, |
| 19 | + "ssoSessionIdleTimeout": 1800, |
| 20 | + "ssoSessionMaxLifespan": 36000, |
| 21 | + "accessCodeLifespan": 60, |
| 22 | + "accessCodeLifespanUserAction": 300, |
| 23 | + "accessCodeLifespanLogin": 1800, |
| 24 | + "browserFlow": "browser", |
| 25 | + "registrationFlow": "registration", |
| 26 | + "directGrantFlow": "direct grant", |
| 27 | + "resetCredentialsFlow": "reset credentials", |
| 28 | + "clientAuthenticationFlow": "clients", |
| 29 | + "dockerAuthenticationFlow": "docker auth", |
| 30 | + "firstBrokerLoginFlow": "first broker login", |
| 31 | + "attributes": { |
| 32 | + "cibaBackchannelTokenDeliveryMode": "poll", |
| 33 | + "cibaExpiresIn": "120", |
| 34 | + "cibaAuthRequestedUserHint": "login_hint", |
| 35 | + "parRequestUriLifespan": "60" |
| 36 | + }, |
| 37 | + "browserSecurityHeaders": { |
| 38 | + "contentSecurityPolicyReportOnly": "", |
| 39 | + "xContentTypeOptions": "nosniff", |
| 40 | + "referrerPolicy": "no-referrer", |
| 41 | + "xRobotsTag": "none", |
| 42 | + "xFrameOptions": "SAMEORIGIN", |
| 43 | + "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", |
| 44 | + "strictTransportSecurity": "max-age=31536000; includeSubDomains" |
| 45 | + }, |
| 46 | + "smtpServer": {}, |
| 47 | + "eventsEnabled": false, |
| 48 | + "eventsListeners": ["jboss-logging"], |
| 49 | + "roles": { |
| 50 | + "realm": [ |
| 51 | + { |
| 52 | + "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", |
| 53 | + "name": "offline_access", |
| 54 | + "description": "${role_offline-access}", |
| 55 | + "composite": false, |
| 56 | + "clientRole": false, |
| 57 | + "attributes": {} |
| 58 | + }, |
| 59 | + { |
| 60 | + "id": "c3d4e5f6-a7b8-9012-cdef-123456789012", |
| 61 | + "name": "uma_authorization", |
| 62 | + "description": "${role_uma_authorization}", |
| 63 | + "composite": false, |
| 64 | + "clientRole": false, |
| 65 | + "attributes": {} |
| 66 | + }, |
| 67 | + { |
| 68 | + "id": "d4e5f6a7-b8c9-0123-def0-234567890123", |
| 69 | + "name": "default-roles-scrumboy", |
| 70 | + "description": "${role_default-roles}", |
| 71 | + "composite": true, |
| 72 | + "composites": { |
| 73 | + "realm": ["offline_access", "uma_authorization"] |
| 74 | + }, |
| 75 | + "clientRole": false, |
| 76 | + "attributes": {} |
| 77 | + } |
| 78 | + ] |
| 79 | + }, |
| 80 | + "defaultRole": { |
| 81 | + "name": "default-roles-scrumboy", |
| 82 | + "description": "${role_default-roles}", |
| 83 | + "composite": true, |
| 84 | + "clientRole": false |
| 85 | + }, |
| 86 | + "users": [ |
| 87 | + { |
| 88 | + "username": "test", |
| 89 | + "enabled": true, |
| 90 | + "emailVerified": true, |
| 91 | + "email": "test@example.com", |
| 92 | + "firstName": "Test", |
| 93 | + "lastName": "User", |
| 94 | + "credentials": [ |
| 95 | + { |
| 96 | + "type": "password", |
| 97 | + "value": "test", |
| 98 | + "temporary": false |
| 99 | + } |
| 100 | + ], |
| 101 | + "realmRoles": ["default-roles-scrumboy"] |
| 102 | + } |
| 103 | + ], |
| 104 | + "clients": [ |
| 105 | + { |
| 106 | + "clientId": "scrumboy", |
| 107 | + "name": "Scrumboy", |
| 108 | + "description": "Scrumboy web app (local development)", |
| 109 | + "rootUrl": "http://localhost:8080", |
| 110 | + "baseUrl": "http://localhost:8080", |
| 111 | + "surrogateAuthRequired": false, |
| 112 | + "enabled": true, |
| 113 | + "alwaysDisplayInConsole": false, |
| 114 | + "clientAuthenticatorType": "client-secret", |
| 115 | + "redirectUris": [ |
| 116 | + "http://localhost:8080/*", |
| 117 | + "http://127.0.0.1:8080/*" |
| 118 | + ], |
| 119 | + "webOrigins": [ |
| 120 | + "http://localhost:8080", |
| 121 | + "http://127.0.0.1:8080" |
| 122 | + ], |
| 123 | + "notBefore": 0, |
| 124 | + "bearerOnly": false, |
| 125 | + "consentRequired": false, |
| 126 | + "standardFlowEnabled": true, |
| 127 | + "implicitFlowEnabled": false, |
| 128 | + "directAccessGrantsEnabled": true, |
| 129 | + "serviceAccountsEnabled": false, |
| 130 | + "publicClient": true, |
| 131 | + "frontchannelLogout": true, |
| 132 | + "protocol": "openid-connect", |
| 133 | + "attributes": { |
| 134 | + "post.logout.redirect.uris": "http://localhost:8080/*##http://127.0.0.1:8080/*", |
| 135 | + "pkce.code.challenge.method": "S256" |
| 136 | + }, |
| 137 | + "fullScopeAllowed": true, |
| 138 | + "nodeReRegistrationTimeout": -1, |
| 139 | + "defaultClientScopes": [ |
| 140 | + "web-origins", |
| 141 | + "acr", |
| 142 | + "profile", |
| 143 | + "roles", |
| 144 | + "basic", |
| 145 | + "email" |
| 146 | + ], |
| 147 | + "optionalClientScopes": [ |
| 148 | + "address", |
| 149 | + "phone", |
| 150 | + "offline_access", |
| 151 | + "microprofile-jwt" |
| 152 | + ] |
| 153 | + } |
| 154 | + ] |
| 155 | +} |
0 commit comments