Summary:
Http authentication is needed for the specific web page authentication with 
username and password.
Currently http authentication  is implemented in xwalk runtime Java layer for 
Android port.  While native http
authentication needs to be handled in xwalk runtime for Android port, it is 
used to provide the xwalk login delegation
and handle the http authentication request including the network data and 
client IO thread.
We need to import and implement the similar functions as web view http 
authentication and connect the interfaces
to the runtime java layer for Android port.

Affected component: N/A

Related feature: XWALK-159<https://crosswalk-project.org/jira/browse/XWALK-159>

Target Release: Crosswalk 3

Implementation details:

1.       Introduce the following to enable the login and http authentication 
handler.

xwalk_login_delegate.cc

xwalk_login_delegate.h

xwalk_http_auth_handler.cc

xwalk_http_auth_handler.h

xwalk_http_auth_handler_base.cc

xwalk_http_auth_handler_base.h
2     Introduce the following to handle the network data request and set the io 
thread to handle the client request.

intercepted_request_data_impl.h

intercepted_request_data.h

intercepted_request_data_impl.cc

xwalk_contents_io_thread_client.h

xwalk_contents_io_thread_clinet_impl.h

xwalk_contents_io_thread_client_impl.cc

InterceptedRequestData.java

XWalkContentsIoThreadClient.java

3     Set up the bridge function related to OnReceivedHttpAuthRequest() and 
connect java layer.

XWalk_contents_client_bridge.cc

XWalk_contents_client_bridge.h
4     Other minor modifications of related files.



Best regards
David Liu

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to