Package org.apache.maven.settings.crypto
Class DefaultSettingsDecrypter
- java.lang.Object
-
- org.apache.maven.settings.crypto.DefaultSettingsDecrypter
-
- All Implemented Interfaces:
SettingsDecrypter
@Named @Singleton public class DefaultSettingsDecrypter extends Object implements SettingsDecrypter
Decrypts passwords in the settings.- Author:
- Benjamin Bentmann
-
-
Constructor Summary
Constructors Constructor Description DefaultSettingsDecrypter(org.sonatype.plexus.components.sec.dispatcher.SecDispatcher securityDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SettingsDecryptionResult
decrypt(SettingsDecryptionRequest request)
Decrypts passwords in the settings.
-
-
-
Method Detail
-
decrypt
public SettingsDecryptionResult decrypt(SettingsDecryptionRequest request)
Description copied from interface:SettingsDecrypter
Decrypts passwords in the settings.- Specified by:
decrypt
in interfaceSettingsDecrypter
- Parameters:
request
- The settings decryption request that holds the parameters, must not benull
.- Returns:
- The result of the settings decryption, never
null
.
-
-