Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PasswordAuthentication (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/RecordingAuthenticator.kt

    import java.net.Authenticator
    import java.net.PasswordAuthentication
    
    class RecordingAuthenticator(
      private val authentication: PasswordAuthentication? =
        PasswordAuthentication(
          "username",
          "password".toCharArray(),
        ),
    ) : Authenticator() {
      val calls = mutableListOf<String>()
    
      override fun getPasswordAuthentication(): PasswordAuthentication? {
        calls.add(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                Authenticator.setDefault(new Authenticator() {
                    @Override
                    protected PasswordAuthentication getPasswordAuthentication() {
                        return new PasswordAuthentication(username, password);
                    }
                });
            }
            URL website = new URL(urlString);
            ReadableByteChannel rbc;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
Back to top