Hi Danushka,

So are you going to set header for all outgoing requests? What is the flag
to indicate that for this message I need to add a authorisation header?

thanks,
dimuthu

On Wed, Oct 8, 2014 at 6:19 PM, Danushka Fernando <[email protected]>
wrote:

> Hi All
> The Approach I thought of is to add a new OutFlow phase after UEPPhase
> since I want this handler to run after unified endpoint handler (say
> AppFactoryEndPointPhase). And in this handler it will check whether any
> kind of authorization header is there and if it is not there it will set
> the authorization header for the new authenticator. Is there a better way
> of handling this.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Wed, Oct 8, 2014 at 2:24 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi
>> As a part of introducing a new authenticator to App Factory I am working
>> on setting a dynamic http header to the request done from bpel. Currently
>> we only have support for static basic auth headers which we specify in epr
>> files.
>> So to solve the problem I am working on a Axis2 Handler which is same
>> as UnifiedEndpointHandler [1] which will set the authorization header we
>> need. WDYT?
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/unified-endpoint/org.wso2.carbon.unifiedendpoint.core/4.2.1/src/main/java/org/wso2/carbon/unifiedendpoint/core/UnifiedEndpointHandler.java
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: [email protected]
Mobile : 0773661935

Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to