Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for promptForPassword (0.17 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

            }
        }
    
        @Override
        public String promptForPassword(String message) throws PrompterException {
            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("promptForPassword", String.class);
                return (String) method.invoke(instance, message);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

            return Optional.empty();
        }
    
        @Override
        public String handle(String config) throws SecDispatcherException {
            if (NAME.equals(config)) {
                try {
                    return prompter.promptForPassword("Enter the master password: ");
                } catch (PrompterException e) {
                    throw new SecDispatcherException("Could not collect the password", e);
                }
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top