|Re: What is difference between JazzAuthErrorException and JazzAuthFailedException? [message #1706509 is a reply to message #1706413]
||Thu, 27 August 2015 12:51
| Michael Fiedler
Registered: September 2012
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.
Powered by FUDForum
. Page generated in 0.01791 seconds