SSL - Java for Android App Development

Hi, Regards!
I have the next scenario. I am working in a solution that envolve several development tools. We have two web services, the first of them was developed on Visual Studio 2008 using SOAP and the other was developed on Java using Restfull. To communicate my Android App wih SOAP web services i am using KSOAP packages, while to communicate with Restfull I am using the packages java.net.URL and java.net.URLConnection.
Both web servers that host web services will be converted to SSL servers using trust digital certificates issued by CAs. On NO SSL server I can use HTTP protocol while on SSL Server I must use HTTPS protocol. My question is: I must change my program to allow it to communicate with SSL web servers that host web services?
I thank yours commnts.
Regards!

As far as I know, with restfull and java.net.URL, you just have to change HTTP to HTTPS in url. I don't know about soap.
Sent from my LG-P760 using Tapatalk 4

Related

Integrated Windows Authentication

Hi,
I'm having a mare trying to get more info anywhere on the web.
I have an Intranet based web app running on latest version of IIS with .NET & SQL Server 2000 (on different boxes) using Integrated Windows Authentication (the IIS is trusted to the SQL Server box)
It runs fine on IE v6 provided the Enable Integrated Windows Authentication checkbox is ticked.
However on the XDA using Pocket IE (ROM 3.17.03 ENG) it gives Login failed for user 'NT AUTHORITY \ANONYMOUS LOGON' which usually means no Integrated Windows Authentication.
I can't find any docos on whether Integrated Windows Authentication is supported in Pocket PC 2002 - has anyone else come accross this or got any pointers they could help me with?
Thanks
As far as I know, Integrated Windows Authentication means that IIS will use the user's Windows login to authenticate the user. This is normally using your DomainName\Username for windows. When you are on your xda, you are not authenticated by Windows as the xda is not on the domain and you are logging into "Windows" using the same DomainName\Username on your xda. Try changing the IIS setting to use simple authentication so that users are prompted for a username and password to access the website.
I hope this helps
Thanks Illwil.
I can't allow simple authentication on the IIS as it will then screw the security for PC users (ie 99%)
I'm already logging onto the Domain via a dial up connection so it should all be OK
I think its something to do with Pocket IE declaring itself as IE version 4 to the Web Server rather than as Pocket IE
IE v4 doesn't support NTLM authentication (ie Windows Integrated Authentication) whereas I think Pocket IE should.
Also I've got 2002 which means that ByPass proxy server for local sites is automatic so its not that.
Still scrabbling - any help still gratefully received!
An answer after 3 months!
Bit of a dull one I know but just in case anyone was interested (!) I've used some mobile web forms instead of normal web forms - they only support ObjectList as opposed to DataGrid but seem to allow the windows integrated seciruty to work.
Thanks to anyone that gave this some thought.
John

(Request] ssl ftp app

Was wondering if there are already any ftp clients for android that can cannect to author ssl /tls. Sites I need to connect to a few drftpd and glftpd sites and none I have tried work also is there any fxp apps for androind like ftprush or flashfxp
Sent from my EVO using XDA Premium App
andFTP has SSL implemented correctly.
The problem is, drFTPD (example) usually requires the PRET command, which no client i've found supports. Also... FXP isn't supported.
Perhaps you would like to correct the thread title

Connection between server and client

How to create web service for android app. and how to connect ?
Is that what you want?
http://forum.xda-developers.com/showthread.php?t=2325799
Magesh.K said:
How to create web service for android app. and how to connect ?
Click to expand...
Click to collapse
For the webserver I use Jersey Lib it's very easy to do with annotations and then you only need to do a HTTP GET/POST/PUT to the WS on the server
thank you for replay,
can you give step by step explanation? ,with sql server
For sql server, most likely you're using an IIS for web server... Hence you can use asp for web services... w3schools offers a good tutorial on this... Have fun!
Sent from my LG-P350 using xda app-developers app

Is good to use custom server app?

I have planned to develop a app like PushBullet.
On server side,i planned to use custom server app written in java to accept connection from client using socket.
About server app,im going to upload it to VPS and run it.
Is this good idea?

Own authorization server with rest.

Hi. How to write own authentication server with rest resources? At this moment we have server with Jersey and shiro. Users are stored in mysql database with hibernate.
Now I have problem how to join this with oauth to authenticate android users.
Also this auth/resources server will use vaadin webapp.
On other forum I get suggestion to use spring android framework. http://projects.spring.io/spring-android/
What option will be the best?

Categories

Resources