Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PasswordAuthentication (0.12 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. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        Authenticator.setDefault(new Authenticator() {
                            @Override
                            protected PasswordAuthentication getPasswordAuthentication() {
                                return new PasswordAuthentication(getHttpProxyUsername(), getHttpProxyPassword().toCharArray());
                            }
                        });
                    }
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import java.io.File
    import java.io.IOException
    import java.io.InputStream
    import java.net.ConnectException
    import java.net.CookieManager
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.PasswordAuthentication
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.ServerSocket
    import java.net.Socket
    import java.net.SocketAddress
    import java.net.SocketException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top