<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best Practise for storing login data on android device for later reuse? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651877#M4489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I'm already using the UserCredentials class in the app to access the content of the portal.&lt;/P&gt;&lt;P&gt;In the description of the class I find the hint: "If you wish to store and reuse UserCredentials, the best way of doing this is by serializing them to disk. This should be done to a secure location, and should use some form of encryption if possible."&lt;/P&gt;&lt;P&gt;So I guess the recommendation is to serialize the UserCredentials object to a Byte array, encrypt this byte array and save that to the device.&lt;/P&gt;&lt;P&gt;What would be the best way to encrypt the credentials and to handle encryption keys to avoid security issues?&lt;/P&gt;&lt;P&gt;And what's the best way to store the data to the device? Would you recommend to use the SharedPreferences for that or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 09:55:32 GMT</pubDate>
    <dc:creator>RainaldSuchan</dc:creator>
    <dc:date>2017-02-07T09:55:32Z</dc:date>
    <item>
      <title>Best Practise for storing login data on android device for later reuse?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651874#M4486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my android app the user has to login with a Named User from Portal for ArcGIS. When the user has logged in once, he shoudn't need to log in any more, when he reuses the app later. So I am looking for a best practise to store the login data somehow on the devise and read it later from the app to use it with the portal. So the user doesn't have to login again when he reuses the app.&lt;/P&gt;&lt;P&gt;Is there a recommended way for this approach?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 12:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651874#M4486</guid>
      <dc:creator>RainaldSuchan</dc:creator>
      <dc:date>2017-02-02T12:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practise for storing login data on android device for later reuse?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651875#M4487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Collector for ArcGIS for example has such a functionality. If I already used the Collector app and open it again, I don't have to login again. So the app somehow remenbers my login.&lt;BR /&gt;Does anybody know how this is done and how this could be implemented in an own app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 12:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651875#M4487</guid>
      <dc:creator>RainaldSuchan</dc:creator>
      <dc:date>2017-02-03T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practise for storing login data on android device for later reuse?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651876#M4488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you are looking for &lt;A href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/core/io/UserCredentials.html"&gt;UserCredentials&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 01:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651876#M4488</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2017-02-07T01:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practise for storing login data on android device for later reuse?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651877#M4489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I'm already using the UserCredentials class in the app to access the content of the portal.&lt;/P&gt;&lt;P&gt;In the description of the class I find the hint: "If you wish to store and reuse UserCredentials, the best way of doing this is by serializing them to disk. This should be done to a secure location, and should use some form of encryption if possible."&lt;/P&gt;&lt;P&gt;So I guess the recommendation is to serialize the UserCredentials object to a Byte array, encrypt this byte array and save that to the device.&lt;/P&gt;&lt;P&gt;What would be the best way to encrypt the credentials and to handle encryption keys to avoid security issues?&lt;/P&gt;&lt;P&gt;And what's the best way to store the data to the device? Would you recommend to use the SharedPreferences for that or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 09:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/best-practise-for-storing-login-data-on-android/m-p/651877#M4489</guid>
      <dc:creator>RainaldSuchan</dc:creator>
      <dc:date>2017-02-07T09:55:32Z</dc:date>
    </item>
  </channel>
</rss>

