I am using ApacheWink and WAS Liberty 8.5 When a user enters a wrong password at server console below log message is printed 20 times consecutively.
[AUDIT ] CWWKS1100A: Authentication did not succeed for user ID sdwtest1@in.ibm.com. An invalid user ID or password was specified.
I debugged the client code of Apache Wink so above logs are printed when call reaches to line java.net.HttpURLConnection.getResponseCode()
when the call returns it give the response code 401.
The connection.getResponseCode()
call is made from the org.apache.wink.client.internal.handlers.HttpURLConnectionHandler
class
I want that if at first attempt 401 is received it should not retry again.
Any help would be appreciated.