Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. maven-tests/mvnw

      targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName"
      cat >"$javaSource" <<-END
    	public class Downloader extends java.net.Authenticator
    	{
    	  protected java.net.PasswordAuthentication getPasswordAuthentication()
    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top