@Named @Singleton public class DefaultSettingsDecrypter extends java.lang.Object implements SettingsDecrypter
| Modifier and Type | Field and Description |
|---|---|
private org.sonatype.plexus.components.sec.dispatcher.SecDispatcher |
securityDispatcher |
| Constructor and Description |
|---|
DefaultSettingsDecrypter(org.sonatype.plexus.components.sec.dispatcher.SecDispatcher securityDispatcher) |
| Modifier and Type | Method and Description |
|---|---|
SettingsDecryptionResult |
decrypt(SettingsDecryptionRequest request)
Decrypts passwords in the settings.
|
private java.lang.String |
decrypt(java.lang.String str) |
private final org.sonatype.plexus.components.sec.dispatcher.SecDispatcher securityDispatcher
@Inject
public DefaultSettingsDecrypter(@Named(value="maven")
org.sonatype.plexus.components.sec.dispatcher.SecDispatcher securityDispatcher)
public SettingsDecryptionResult decrypt(SettingsDecryptionRequest request)
SettingsDecrypterdecrypt in interface SettingsDecrypterrequest - The settings decryption request that holds the parameters, must not be null.null.private java.lang.String decrypt(java.lang.String str)
throws org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException
org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException