Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        for (callback in callbacks) {
          if (callback is PasswordCallback) {
            val console = System.console()
    
            if (console != null) {
              callback.password = console.readPassword(callback.prompt)
            } else {
              System.err.println(callback.prompt)
              callback.password = System.`in`.bufferedReader().readLine().toCharArray()
            }
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                if (passwd == null) {
                    Console cons = System.console();
                    char[] password = (cons == null) ? null : cons.readPassword("Password: ");
                    if (password != null) {
                        // Cipher uses Strings
                        passwd = String.copyValueOf(password);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top