Class ConsolePasswordPrompt
java.lang.Object
org.apache.maven.cling.invoker.mvnenc.ConsolePasswordPrompt
- All Implemented Interfaces:
org.codehaus.plexus.components.secdispatcher.MasterSource
,org.codehaus.plexus.components.secdispatcher.MasterSourceMeta
@Singleton
@Named("console-prompt")
public class ConsolePasswordPrompt
extends Object
implements org.codehaus.plexus.components.secdispatcher.MasterSource, org.codehaus.plexus.components.secdispatcher.MasterSourceMeta
Trivial master password source using Maven
Prompter
service.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.components.secdispatcher.SecDispatcher.ValidationResponse
validateConfiguration
(String config)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ConsolePasswordPrompt
@Inject public ConsolePasswordPrompt(org.apache.maven.api.services.Prompter prompter)
-
-
Method Details
-
description
- Specified by:
description
in interfaceorg.codehaus.plexus.components.secdispatcher.MasterSourceMeta
-
configTemplate
- Specified by:
configTemplate
in interfaceorg.codehaus.plexus.components.secdispatcher.MasterSourceMeta
-
handle
public String handle(String config) throws org.codehaus.plexus.components.secdispatcher.SecDispatcherException - Specified by:
handle
in interfaceorg.codehaus.plexus.components.secdispatcher.MasterSource
- Throws:
org.codehaus.plexus.components.secdispatcher.SecDispatcherException
-
validateConfiguration
public org.codehaus.plexus.components.secdispatcher.SecDispatcher.ValidationResponse validateConfiguration(String config) - Specified by:
validateConfiguration
in interfaceorg.codehaus.plexus.components.secdispatcher.MasterSource
-