Class DefaultSecDispatcher
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled, SecDispatcher
public class DefaultSecDispatcher
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements SecDispatcher
- Author:
- Oleg Gusakov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.sonatype.plexus.components.cipher.PlexusCipherDefaultHandlerprotected Stringprotected MapAll available dispatchersstatic final charstatic final charstatic final Stringstatic final StringFields inherited from interface SecDispatcher
ROLE, SYSTEM_PROPERTY_MASTER_PASSWORD, SYSTEM_PROPERTY_SERVER_PASSWORD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecrypt given encrypted stringstatic voidvoidsetConfigurationFile(String file) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
SYSTEM_PROPERTY_SEC_LOCATION
- See Also:
-
TYPE_ATTR
- See Also:
-
ATTR_START
public static final char ATTR_START- See Also:
-
ATTR_STOP
public static final char ATTR_STOP- See Also:
-
_cipher
protected org.sonatype.plexus.components.cipher.PlexusCipher _cipherDefaultHandler -
_decryptors
All available dispatchers -
_configurationFile
-
-
Constructor Details
-
DefaultSecDispatcher
public DefaultSecDispatcher()
-
-
Method Details
-
decrypt
Description copied from interface:SecDispatcherdecrypt given encrypted string- Specified by:
decryptin interfaceSecDispatcher- Parameters:
str-- Returns:
- decrypted string
- Throws:
SecDispatcherException
-
getConfigurationFile
-
setConfigurationFile
-
main
-