It's all about the answers!

Ask a question

Login with password wrong block active directory after one attempt


MARCO A (112) | asked May 15 '17, 5:29 p.m.

 Hi..

Normally my enterprise account is blocked after 3 attempt to login with wrong password.
If I use jazz rtc java api and try to login with my enterprise account and wrong password the account is blocked after only one attempt.
Why? Is there some autoretry mechanism?

3 answers



permanent link
Ralph Schoon (63.1k33645) | answered May 16 '17, 2:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

RTC does nothing on that level. That is all done in the LDAP system. 


Having said that, I think I have had something similar with the Jazz.net authentication and the Eclipse client. So I would assume that there is some auto retry in the Java Client API, but I am not totally sure.


permanent link
Donald Nong (14.5k414) | answered May 16 '17, 10:21 p.m.

If you're using TeamRepository.login(), then yes it retries 3 times. The code looks like this

            for (int i = 1; i <= LOGIN_RETRIES; i++) {
                synchronized (lock) {
            ......
 
LOGIN_RETRIES is a constant with value 3.


permanent link
MARCO A (112) | answered May 17 '17, 2:33 a.m.

 Bad, bad choice...

Is possible disable retrie or modify value to 1 ?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.