- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for promptForPassword (0.19 sec)
-
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java
* * @param message the message to display * @return the password entered by the user * @throws PrompterException if an exception occurs */ @Nonnull String promptForPassword(@Nullable String message) throws PrompterException; /** * Displays a message to the user. * * @param message the message to display * @throws PrompterException if an exception occurs
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.5K bytes - Viewed (0)