This is the one:
org.keycloak.testsuite.forms.BruteForceTest
For user registration look at:
org.keycloak.testsuite.forms.RegisterTest
For extra brownie points you could also migrate the above tests to the
Arquillian based integration testsuite (integration-arquillian).
On 8 January 2016 at 03:35, Bruno Oliveira <bruno(a)abstractj.org> wrote:
Good morning, I'm looking at this
https://issues.jboss.org/browse/KEYCLOAK-2151 and would like to know
where I can find the integration tests for brute force. If they don't
exist, which place would be the best to add?
I would like to reproduce exactly the same scenario described on that jira:
1. try to login several times with a username that doesn't exist
2. register the user
3. try to login with the correct credentials
I started to look at
https://github.com/keycloak/keycloak/blob/a5c159eeffaec051a15b94ac5129c42...
with not too much luck.
Thanks in advance.
--
- abstractj
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev