This commit is contained in:
2026-03-15 11:22:01 +01:00
commit 599ecd66a5
109 changed files with 3348 additions and 0 deletions

View File

@@ -0,0 +1,85 @@
{
"realm": "mccn",
"enabled": true,
"sslRequired": "external",
"registrationAllowed": false,
"loginWithEmailAllowed": true,
"duplicateEmailsAllowed": false,
"resetPasswordAllowed": true,
"editUsernameAllowed": false,
"bruteForceProtected": true,
"permanentLockout": false,
"maxFailureWaitSeconds": 900,
"minimumQuickLoginWaitSeconds": 60,
"waitIncrementSeconds": 60,
"quickLoginCheckMilliSeconds": 1000,
"maxDeltaTimeSeconds": 43200,
"failureFactor": 30,
"accessTokenLifespan": 1800,
"accessTokenLifespanForImplicitFlow": 900,
"ssoSessionIdleTimeout": 1800,
"ssoSessionMaxLifespan": 36000,
"offlineSessionIdleTimeout": 2592000,
"clients": [
{
"clientId": "mccn-api",
"name": "Mccn API",
"enabled": true,
"clientAuthenticatorType": "client-secret",
"secret": "change-this-secret",
"serviceAccountsEnabled": true,
"authorizationServicesEnabled": false,
"publicClient": false,
"protocol": "openid-connect",
"standardFlowEnabled": false,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false
},
{
"clientId": "mccn-swagger",
"name": "Mccn Swagger UI",
"enabled": true,
"publicClient": true,
"protocol": "openid-connect",
"standardFlowEnabled": true,
"directAccessGrantsEnabled": true,
"redirectUris": [
"http://localhost:5000/*",
"http://localhost:5001/*"
],
"webOrigins": [
"http://localhost:5000",
"http://localhost:5001"
]
}
],
"roles": {
"realm": [
{
"name": "user",
"description": "Regular user"
},
{
"name": "admin",
"description": "Administrator"
}
]
},
"users": [
{
"username": "service-account-mccn-api",
"enabled": true,
"serviceAccountClientId": "mccn-api",
"clientRoleMappings": {
"realm-management": [
{
"name": "manage-users"
},
{
"name": "view-users"
}
]
}
}
]
}