Skip to content
Snippets Groups Projects
Verified Commit fafe9062 authored by Martin Weise's avatar Martin Weise
Browse files

Implemented basic brute-force detection and wait increments

parent e3da956e
No related branches found
No related tags found
2 merge requests!387Wrong model,!384Wrong model
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"duplicateEmailsAllowed" : false, "duplicateEmailsAllowed" : false,
"resetPasswordAllowed" : false, "resetPasswordAllowed" : false,
"editUsernameAllowed" : false, "editUsernameAllowed" : false,
"bruteForceProtected" : false, "bruteForceProtected" : true,
"permanentLockout" : false, "permanentLockout" : false,
"maxTemporaryLockouts" : 0, "maxTemporaryLockouts" : 0,
"bruteForceStrategy" : "MULTIPLE", "bruteForceStrategy" : "MULTIPLE",
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
"minimumQuickLoginWaitSeconds" : 60, "minimumQuickLoginWaitSeconds" : 60,
"waitIncrementSeconds" : 60, "waitIncrementSeconds" : 60,
"quickLoginCheckMilliSeconds" : 1000, "quickLoginCheckMilliSeconds" : 1000,
"maxDeltaTimeSeconds" : 43200, "maxDeltaTimeSeconds" : 1036800,
"failureFactor" : 30, "failureFactor" : 10,
"roles" : { "roles" : {
"realm" : [ { "realm" : [ {
"id" : "48f38342-1e3f-427a-995d-c436eaee65cb", "id" : "48f38342-1e3f-427a-995d-c436eaee65cb",
...@@ -2409,7 +2409,7 @@ ...@@ -2409,7 +2409,7 @@
"subType" : "anonymous", "subType" : "anonymous",
"subComponents" : { }, "subComponents" : { },
"config" : { "config" : {
"allowed-protocol-mapper-types" : [ "saml-role-list-mapper", "saml-user-property-mapper", "oidc-address-mapper", "oidc-usermodel-property-mapper", "oidc-full-name-mapper", "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "oidc-sha256-pairwise-sub-mapper" ] "allowed-protocol-mapper-types" : [ "saml-user-attribute-mapper", "saml-user-property-mapper", "saml-role-list-mapper", "oidc-address-mapper", "oidc-usermodel-attribute-mapper", "oidc-full-name-mapper", "oidc-usermodel-property-mapper", "oidc-sha256-pairwise-sub-mapper" ]
} }
}, { }, {
"id" : "1849e52a-b8c9-44a8-af3d-ee19376a1ed1", "id" : "1849e52a-b8c9-44a8-af3d-ee19376a1ed1",
...@@ -2435,7 +2435,7 @@ ...@@ -2435,7 +2435,7 @@
"subType" : "authenticated", "subType" : "authenticated",
"subComponents" : { }, "subComponents" : { },
"config" : { "config" : {
"allowed-protocol-mapper-types" : [ "oidc-full-name-mapper", "saml-role-list-mapper", "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-property-mapper", "saml-user-property-mapper", "oidc-address-mapper" ] "allowed-protocol-mapper-types" : [ "saml-role-list-mapper", "oidc-address-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-property-mapper", "saml-user-property-mapper", "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "oidc-full-name-mapper" ]
} }
} ], } ],
"org.keycloak.userprofile.UserProfileProvider" : [ { "org.keycloak.userprofile.UserProfileProvider" : [ {
...@@ -2459,8 +2459,8 @@ ...@@ -2459,8 +2459,8 @@
"config" : { "config" : {
"ldap.attribute" : [ "createTimestamp" ], "ldap.attribute" : [ "createTimestamp" ],
"is.mandatory.in.ldap" : [ "false" ], "is.mandatory.in.ldap" : [ "false" ],
"read.only" : [ "true" ],
"always.read.value.from.ldap" : [ "true" ], "always.read.value.from.ldap" : [ "true" ],
"read.only" : [ "true" ],
"user.model.attribute" : [ "createTimestamp" ] "user.model.attribute" : [ "createTimestamp" ]
} }
}, { }, {
...@@ -2511,10 +2511,10 @@ ...@@ -2511,10 +2511,10 @@
"group.name.ldap.attribute" : [ "cn" ], "group.name.ldap.attribute" : [ "cn" ],
"preserve.group.inheritance" : [ "false" ], "preserve.group.inheritance" : [ "false" ],
"membership.ldap.attribute" : [ "member" ], "membership.ldap.attribute" : [ "member" ],
"ignore.missing.groups" : [ "false" ],
"membership.user.ldap.attribute" : [ "uid" ], "membership.user.ldap.attribute" : [ "uid" ],
"groups.dn" : [ "ou=users,dc=dbrepo,dc=at" ], "ignore.missing.groups" : [ "false" ],
"group.object.classes" : [ "groupOfNames" ], "group.object.classes" : [ "groupOfNames" ],
"groups.dn" : [ "ou=users,dc=dbrepo,dc=at" ],
"memberof.ldap.attribute" : [ "memberOf" ], "memberof.ldap.attribute" : [ "memberOf" ],
"drop.non.existing.groups.during.sync" : [ "false" ], "drop.non.existing.groups.during.sync" : [ "false" ],
"groups.path" : [ "/" ] "groups.path" : [ "/" ]
...@@ -2527,8 +2527,8 @@ ...@@ -2527,8 +2527,8 @@
"config" : { "config" : {
"ldap.attribute" : [ "modifyTimestamp" ], "ldap.attribute" : [ "modifyTimestamp" ],
"is.mandatory.in.ldap" : [ "false" ], "is.mandatory.in.ldap" : [ "false" ],
"read.only" : [ "true" ],
"always.read.value.from.ldap" : [ "true" ], "always.read.value.from.ldap" : [ "true" ],
"read.only" : [ "true" ],
"user.model.attribute" : [ "modifyTimestamp" ] "user.model.attribute" : [ "modifyTimestamp" ]
} }
}, { }, {
...@@ -2538,8 +2538,8 @@ ...@@ -2538,8 +2538,8 @@
"subComponents" : { }, "subComponents" : { },
"config" : { "config" : {
"ldap.attribute" : [ "uid" ], "ldap.attribute" : [ "uid" ],
"is.mandatory.in.ldap" : [ "true" ],
"attribute.force.default" : [ "false" ], "attribute.force.default" : [ "false" ],
"is.mandatory.in.ldap" : [ "true" ],
"is.binary.attribute" : [ "false" ], "is.binary.attribute" : [ "false" ],
"always.read.value.from.ldap" : [ "false" ], "always.read.value.from.ldap" : [ "false" ],
"read.only" : [ "false" ], "read.only" : [ "false" ],
...@@ -2557,15 +2557,15 @@ ...@@ -2557,15 +2557,15 @@
"useKerberosForPasswordAuthentication" : [ "false" ], "useKerberosForPasswordAuthentication" : [ "false" ],
"importEnabled" : [ "true" ], "importEnabled" : [ "true" ],
"enabled" : [ "true" ], "enabled" : [ "true" ],
"bindCredential" : [ "admin" ],
"changedSyncPeriod" : [ "-1" ], "changedSyncPeriod" : [ "-1" ],
"bindCredential" : [ "admin" ],
"usernameLDAPAttribute" : [ "uid" ], "usernameLDAPAttribute" : [ "uid" ],
"bindDn" : [ "cn=admin,dc=dbrepo,dc=at" ], "bindDn" : [ "cn=admin,dc=dbrepo,dc=at" ],
"lastSync" : [ "1719252666" ], "lastSync" : [ "1719252666" ],
"vendor" : [ "other" ], "vendor" : [ "other" ],
"uuidLDAPAttribute" : [ "entryUUID" ], "uuidLDAPAttribute" : [ "entryUUID" ],
"connectionUrl" : [ "ldap://identity-service:1389" ],
"allowKerberosAuthentication" : [ "false" ], "allowKerberosAuthentication" : [ "false" ],
"connectionUrl" : [ "ldap://identity-service:1389" ],
"syncRegistrations" : [ "true" ], "syncRegistrations" : [ "true" ],
"authType" : [ "simple" ], "authType" : [ "simple" ],
"useTruststoreSpi" : [ "always" ], "useTruststoreSpi" : [ "always" ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment