Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lyo » What is difference between JazzAuthErrorException and JazzAuthFailedException?
What is difference between JazzAuthErrorException and JazzAuthFailedException? [message #1706413] Wed, 26 August 2015 17:04 Go to next message
Eclipse UserFriend
Javadoc for the JazzAuthErrorException and JazzAuthFailedException classes gives the same description:
Exception indicating a Jazz authentication or credentials problem 

So what are the differences between the two classes (other than their names)? When would each be used?
Re: What is difference between JazzAuthErrorException and JazzAuthFailedException? [message #1706509 is a reply to message #1706413] Thu, 27 August 2015 12:51 Go to previous message
Eclipse UserFriend
The Javadoc needs some improvement in that area - I will open a Bugzilla.

JazzAuthFailedException is thrown by JazzFormAuthClient.login() when an HTTP response comes back from the Jazz server with an HTTP response header X-com-ibm-team-repository-web-auth-msg with a value of "authfailed". The server sends this when the user could not be authenticated. The exception will contain the username and the URL of the server.

After checking for the authfailed header above, the same method looks at the HTTP status code. If it is anything other than SC_OK or SC_MOVED_TEMPORARILY, JazzAuthErrorException is thrown with the HTTP status code and the server URL.
Previous Topic:Anyone going to All Things Open or REST Fest 2015 this year
Next Topic:Testing Jazz repository connection data
Goto Forum:
  


Current Time: Wed Feb 19 06:40:09 GMT 2025

Powered by FUDForum. Page generated in 0.04011 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top