You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2008/08/06 00:00:46 UTC

[jira] Created: (ODE-356) add support for HTTP Authentication

add support for HTTP Authentication
-----------------------------------

                 Key: ODE-356
                 URL: https://issues.apache.org/jira/browse/ODE-356
             Project: ODE
          Issue Type: New Feature
            Reporter: Alexis Midon
            Assignee: Alexis Midon
             Fix For: 1.3


add some properties to support HTTP Authentication through the service property file. 
see ODE-295 and http://cwiki.apache.org/confluence/display/ODExSITE/Endpoint+Configuration

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-356) add support for HTTP Authentication

Posted by "Frank Kerr (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632700#action_12632700 ] 

Frank Kerr commented on ODE-356:
--------------------------------

This can be achieved by adding an entry to the endpoint-configuration.properties, specifying the authentication header in Base64 format, for example to pass authentication details for username/password of Admin/Admin you would set the following property:

#Admin/Admin
http.default-headers.Authorization=Basic QWRtaW46QWRtaW4=

SoapUI is a handy tool for determining the above value for various usernames/passwords.

> add support for HTTP Authentication
> -----------------------------------
>
>                 Key: ODE-356
>                 URL: https://issues.apache.org/jira/browse/ODE-356
>             Project: ODE
>          Issue Type: New Feature
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3
>
>
> add some properties to support HTTP Authentication through the service property file. 
> see ODE-295 and http://cwiki.apache.org/confluence/display/ODExSITE/Endpoint+Configuration

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (ODE-356) add support for HTTP Authentication

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon closed ODE-356.
----------------------------

    Resolution: Invalid

This is already supported and documented [1]

You can add this property in the endpoint-configuration.properties
For instance:

alias.clients_ns=http://example.com/clients.rest
clients_ns.myService.ode.http.default-headers.Authorization=Basic WxleGlzemFueTpjYXRja==
clients_ns.myService.ode.http.default-headers.myHeader=foobar

And both headers Authorization and myHeader will be set on any request of myService.

[1] http://ode.apache.org/user-guide.html#UserGuide-EndpointConfiguration

> add support for HTTP Authentication
> -----------------------------------
>
>                 Key: ODE-356
>                 URL: https://issues.apache.org/jira/browse/ODE-356
>             Project: ODE
>          Issue Type: New Feature
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3
>
>
> add some properties to support HTTP Authentication through the service property file. 
> see ODE-295 and http://cwiki.apache.org/confluence/display/ODExSITE/Endpoint+Configuration

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.