1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android Password Authentication

Discussion in 'Android Development' started by Joe Shibeika, Jan 6, 2020.

  1. Joe Shibeika

    Joe Shibeika Lurker
    Thread Starter

    Hello
    I am trying to understand how the android password authenticator works in some specific app.
    There is this line of code in the app:

    PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication(url.host(), getConnectToInetAddress(proxy, url), url.port(), url.scheme(), challenge.getRealm(), challenge.getScheme(), url.url(), RequestorType.SERVER);

    I know that the requestPasswordAuthentication function Ask the authenticator that has been registered with the system for a password. It then returns the username and password and store them in "auth".

    My question is where is this password stored? Where does it get the password from?
     


    racibennett likes this.
Loading...
Similar Threads - Android Password Authentication
  1. Bahria Town Rawalpindi
    Replies:
    0
    Views:
    0
  2. Gabriel Trs
    Replies:
    0
    Views:
    64
  3. Syeda Quratulain
    Replies:
    1
    Views:
    128
  4. dandeniel
    Replies:
    0
    Views:
    51
  5. Dilip Birajadar
    Replies:
    4
    Views:
    535
  6. 96vksingh
    Replies:
    3
    Views:
    311
  7. Herb Diaz
    Replies:
    3
    Views:
    608
  8. MartinFe
    Replies:
    5
    Views:
    1,772
  9. Evan McClure
    Replies:
    1
    Views:
    1,207

Share This Page

Loading...