Working on an Android app which utilizes ArcGIS Android SDK. In the project, I am having a requirement where in I need to show some maps of our client. Those services are all secured and can be accessed only via VPN. The VPN server type is Juniper for which I had installed Junos Pulse app in my phone. Made the VPN connection in Junos Pulse app. Trying to make a ArcGISTiledMapServiceLayer instance by passing the URL of my client's map service. But it's giving me EsriSecurityException.
Would like to know is my app not able to recognize the VPN connection made in Junos Pulse app? Other than providing the credentials (while making the VPN connection) do I still have to pass the credentials by my app as well? If yes, in what format?
Can somebody please guide on how can I utilize some secured Map Services of a particular domain?
Thanks.
Get your VPN connection working and your ArcGIS services will work. This is a problem with Junos Pulse, not with ArcGIS.
Related
I have a backend published to a server that only has access via VPN and I can't consume this API from Xamarin Forms as it is outside of the VPN.
I want to be able to consume this API using Xamarin Forms (for many users?). How can I do this?
I assume this is for bespoke application for a specific client/set of users.
You could try to setting the VPN through your phone settings before trying to use XamarinForms to connect to service.
I have a project, angularjs webapp (backend java and spring boot) and uses google map too, there is an android app that sends alerts to this webapp and those show location on the webapp’s map. However when I implement spring security it would secure the webapp and REST api, but will prevent the alerts from android showing on the map (can not find resource)….
I want an easy simple way to secure the app without stopping the REST API services, yes I want to secure my API but still want to be able to show the alerts sent from android device, also still accepts new registration from android users....(android users cant access webapp they only register to use android app and will be added to database..they will need to be able to post their info...)
I tried oauth2 using google sing in, but I must be missing something as it wont load,..If you think this is the right approach please confirm...I will further look into it...Or direct me to tutorial or give me any suggestions...
P.S I am using bluemix platform as a service at the moment and CLearDB database service from bluemix
I am a student and all this is new to me...Thanks
I have created a VPN Profile on my Android device. Now, I would like to create an Android application to manage (restrict and allow) which applications can access this VPN Profile.
So far, I've looked at Android's VPN Service which allows us to manage which applications can access the VPN Service but I am unable to correlate how this solution fits in with an already created VPN Profile.
There is no relation betweeen the VpnService API and VPN connections you create in Android's built-in VPN client. When using the VpnService API you'll have to implement a VPN protocol yourself and tunnel data read from the TUN device, which is created via the API, and back again (or use a library that implements a VPN protocol that does this for you), only then can you restrict apps from using the VPN using VpnService.Builder's addDisallowedApplication() method.
You can also look for VPN apps in the app store that already use this API and support excluding (or including) apps that may use the VPN.
you can find many free vpn or proxy servers. I use nord vpn and his efficiency I check on whats my ip service. You can also use it. Its free. VPN is important where you need to get access to blocked sites or social media like twitter or Facebook. During my trip to China I used vpn and whats my ip service.
I have a web based service (running for years) that works with google apis.
Now I would like to create an android and iphone ui (using xamarin) that uses my web services which in turn talks to google apis.
Given that I don't talk directly to google apis from the phone, do I need to use a web browser control to let the user login, or can I authenticate my server and establish a session natively on the phone?
I'm afraid I need to use a browser window, and I don't think it's user friendly to have to login to a google account in a browser window on the phone.
(I want to keep the logic on the server, so that the phone apps and the web ui uses the exact same code for it's calculations.)
EDIT: It seems Cross-client identity is what I'm looking for.
It can be done natively. See this video https://www.youtube.com/watch?v=9wAx39s10yw which explains all of the procedure using cross-platform authentication.
maybe this is a stupid question.. but, is Google Maps app on Android an example of WAP application? and can anybody provide me example of WAP Application?
Thanks in Advance :)
It looks like WAP is a standard protocol for mobile phones and mobile telecomunications.
An android application is not tied to a specific standard or protocole. It just uses the connection provided by the android phone. This connection could either be a 3G connection or a Wifi connection. (Or a WAP connection, but this standard is getting old)
To summarise Google Maps uses a connection to get localisation data etc. But the Google Maps application is not "aware" of the caracteristics of that connection. It is just using whatever available connection through a sort of wrapper.