You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Bryant Luk (JIRA)" <ji...@apache.org> on 2010/04/18 00:07:24 UTC

[jira] Resolved: (WINK-237) Add a basic auth client handler

     [ https://issues.apache.org/jira/browse/WINK-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryant Luk resolved WINK-237.
-----------------------------

    Resolution: Fixed

Simplified the BasicAuthSecurityHandler a bit.  If users need to read a specific property file for the username/password, they can do that in their own code and pass in the username/password directly to the handler.  This should allow more flexibility.

> Add a basic auth client handler
> -------------------------------
>
>                 Key: WINK-237
>                 URL: https://issues.apache.org/jira/browse/WINK-237
>             Project: Wink
>          Issue Type: New Feature
>          Components: Client
>    Affects Versions: 1.1
>            Reporter: Bryant Luk
>            Assignee: Bryant Luk
>             Fix For: 1.1
>
>
> Add an optional basic auth client handler to more easily handle the basic auth.  It first sends the request, checks for a 401, and then sends the username/password if available in the request header with a re-issued request.
> For now, commons-codec will be added as a "provided" dependency so if users use this functionality, they will need to add in the commons-codec.jar in their pom.xmls.
> Thanks to Messaoud Benantar for help with this contribution.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira