[keycloak-dev] Integration tests for Brute force

Bruno Oliveira bruno at abstractj.org
Fri Jan 8 06:14:08 EST 2016


Thank you!

On Fri, Jan 8, 2016, 5:31 AM Stian Thorgersen <sthorger at redhat.com> wrote:

> 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 at 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/a5c159eeffaec051a15b94ac5129c42d511fce29/testsuite/integration/src/test/java/org/keycloak/testsuite/model/UserSessionProviderTest.java#L27-L27
>> with not too much luck.
>>
>> Thanks in advance.
>>
>
>> --
>> - abstractj
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160108/f0ac1f84/attachment.html 


More information about the keycloak-dev mailing list