Joe Shibeika
Lurker
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?
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?