Hi,

I don't have clear idea, why it sends a logout message..
CC is null since it is not populated. (default value). No it can't be null.
TenantID can be -1, since we can figure out later using the tenant domain.

thanks,
--Pradeep


On Tue, Jul 16, 2013 at 1:31 PM, Miyuru Wanninayaka <[email protected]> wrote:

> Hi all,
>
> When I writing a handler to set tenant domain and ID in NIO message flow,
> I found that when user is logs in to a tenant, 3rd request which received
> during login process points to local://services/AuthenticationAdmin
>
> with following message
>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope";><soapenv:Header xmlns:wsa="
> http://www.w3.org/2005/08/addressing
> "><wsa:To>local://services/AuthenticationAdmin</wsa:To><wsa:MessageID>urn:uuid:85d2f9fb-fd32-40a9-9387-3aa592f5ab14</wsa:MessageID><wsa:Action>urn:logout</wsa:Action></soapenv:Header><soapenv:Body>
> *<ns3:logout xmlns:ns3="
> http://authentication.services.core.carbon.wso2.org"/>*
> </soapenv:Body></soapenv:Envelope>
>
> Also when I checked carbon context data holder, only tenant ID is there (
> 1 in my case) and all other fields are null ( even tenant domain!)
>
> I have 2 questions:
>
> *Is it valid to have a CC with tenant domain = null
> *Why are we calling logout during login
>
> --
> Miyuru Wanninayaka
> Technical Lead
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 77 209 9788
> Blog : http://miyurudw.blogspot.com
> Flickr : http://www.flickr.com/photos/miyuru_daminda




-- 
*Pradeep Fernando*
Associate Technical Lead;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to