[keycloak-dev] Integration tests for Brute force

Bruno Oliveira bruno at abstractj.org
Thu Jan 7 21:35:28 EST 2016


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/a5c159eeffaec051a15b94ac5129c42d511fce29/testsuite/integration/src/test/java/org/keycloak/testsuite/model/UserSessionProviderTest.java#L27-L27
with not too much luck.

Thanks in advance.

-- 
- abstractj


More information about the keycloak-dev mailing list