Class SecDispatcherProvider
- java.lang.Object
-
- org.apache.maven.internal.secdispatcher.SecDispatcherProvider
-
- All Implemented Interfaces:
javax.inject.Provider<org.sonatype.plexus.components.sec.dispatcher.SecDispatcher>
@Singleton @Named("maven") public class SecDispatcherProvider extends java.lang.Object implements javax.inject.Provider<org.sonatype.plexus.components.sec.dispatcher.SecDispatcher>Provides a security dispatcher named "maven". Maven uses this security dispatcher instead of the default. The default security dispatcher is unaware of Maven specific configuration file locations and should not be used (injected or referenced in any way) at all in any Maven related codebase.Note: This whole stuff is really deprecated and replaced with proper security in Maven 4, while this one is just "security through obscurity".
- Since:
- 3.9.13
-
-
Constructor Summary
Constructors Constructor Description SecDispatcherProvider(org.sonatype.plexus.components.cipher.PlexusCipher plexusCipher, java.util.Map<java.lang.String,org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor> decryptors, java.lang.String configurationFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.sonatype.plexus.components.sec.dispatcher.SecDispatcherget()
-
-
-
Constructor Detail
-
SecDispatcherProvider
@Inject public SecDispatcherProvider(org.sonatype.plexus.components.cipher.PlexusCipher plexusCipher, java.util.Map<java.lang.String,org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor> decryptors, @Named("${maven.settings.security.configurationFile:-~/.m2/settings-security.xml}") java.lang.String configurationFile)
-
-