It might be helpful to mention, that I use BASIC-Authentication here. Regards. Jan
> -----Original Message----- > From: Jan Bernhardt [mailto:[email protected]] > Sent: Dienstag, 18. Dezember 2012 11:26 > To: [email protected] > Subject: Configure retry limit for failed authentication in REST Client > > Hi CXF Users, > > is it possible to configure a maximum limit of automatic retries for a CXF > REST > Client? > > I use JAXRSClientFactoryBean to create my service proxy. And when I test a > method with wrong credentials, I get 41 retries on my TCP Monitor. So many > false tries causes my account to be suspended... > > I think it would be best, if CXF only tries once by default and throws an > exception directly if authentication fails. Automatic retries could be > helpful in > some cases but IMHO I don't think this should be default behavior. > > WDYT? > > Best regards > Jan
