Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for prompt (0.03 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

     */
    @Experimental
    public interface Prompter extends Service {
        /**
         * Prompts the user for a string.
         *
         * @param message the message to display to the user
         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        default String prompt(@Nullable String message) throws PrompterException {
            return prompt(message, null, null);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

    public class LegacyPlexusInteractivity implements Prompter, InputHandler, OutputHandler {
        private final org.apache.maven.api.services.Prompter prompter;
    
        @Inject
        public LegacyPlexusInteractivity(org.apache.maven.api.services.Prompter prompter) {
            this.prompter = prompter;
        }
    
        @Override
        public String readLine() throws IOException {
            try {
                return prompter.prompt(null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

     * Trivial master password source using Maven {@link Prompter} service.
     */
    @Singleton
    @Named(ConsolePasswordPrompt.NAME)
    public class ConsolePasswordPrompt implements MasterSource, MasterSourceMeta {
        public static final String NAME = "console-prompt";
    
        private final Prompter prompter;
    
        @Inject
        public ConsolePasswordPrompt(Prompter prompter) {
            this.prompter = prompter;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Nov 16 13:55:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

    import org.jline.consoleui.elements.ConfirmChoice;
    import org.jline.consoleui.prompt.ConfirmResult;
    import org.jline.consoleui.prompt.ConsolePrompt;
    import org.jline.consoleui.prompt.PromptResultItemIF;
    import org.jline.consoleui.prompt.builder.ListPromptBuilder;
    import org.jline.consoleui.prompt.builder.PromptBuilder;
    import org.jline.utils.Colors;
    import org.jline.utils.OSUtils;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

          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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmAuthenticator.java

         *
         * @param url the URL that requires authentication
         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt
         */
        public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
            return requestNtlmPasswordAuthentication(auth, url, sae);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt

      override fun getPasswordAuthentication(): PasswordAuthentication? {
        calls.add(
          "host=$requestingHost port=$requestingPort site=${requestingSite.hostName} " +
            "url=$requestingURL type=$requestorType prompt=$requestingPrompt " +
            "protocol=$requestingProtocol scheme=$requestingScheme",
        )
        return authentication
      }
    
      companion object {
        /** base64("username:password")  */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

         * @param url the URL that requires authentication
         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt or null if none available
         */
    
        public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
            if (auth == null) {
                return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NbtAddress.java

     * providing name service, datagram service, and session service to the
     * Microsoft Windows platform. A NetBIOS name can be 15 characters long
     * and hosts usually registers several names on the network. From a
     * Windows command prompt you can see
     * what names a host registers with the nbtstat command.
     *
     *  * <blockquote>
     *
     * <pre>
     * C:\&gt;nbtstat -a 192.168.1.15
     *
     *        NetBIOS Remote Machine Name Table
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/NetbiosAddress.java

     * providing name service, datagram service, and session service to the
     * Microsoft Windows platform. A NetBIOS name can be 15 characters long
     * and hosts usually registers several names on the network. From a
     * Windows command prompt you can see
     * what names a host registers with the nbtstat command.
     *
     *  * <blockquote>
     *
     * <pre>
     * C:\&gt;nbtstat -a 192.168.1.15
     *
     *        NetBIOS Remote Machine Name Table
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top