[jboss-jira] [JBoss JIRA] (AS7-5890) JdrService assumes auth is required if http code !=200

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Mon Nov 12 09:37:18 EST 2012


    [ https://issues.jboss.org/browse/AS7-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733408#comment-12733408 ] 

Darran Lofthouse commented on AS7-5890:
---------------------------------------

I don't really follow why this status check is needed - plenty of Http clients support registering some form of authenticator that can prompt for these values on demand and void this try/fail/repeat loop for authentication.
                
> JdrService assumes auth is required if  http code !=200
> -------------------------------------------------------
>
>                 Key: AS7-5890
>                 URL: https://issues.jboss.org/browse/AS7-5890
>             Project: Application Server 7
>          Issue Type: Bug
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Bartosz Baranowski
>            Priority: Minor
>
> https://github.com/jbossas/jboss-as/commit/44ada8238bbe962ffd35cf4bd8216a891c99ffe0
> JDR service asssumes that if return code is different than 200, it needs to ask user for auth. What if code is 500 ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list