org.sonatype.plexus.components.sec.dispatcher
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
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM_PROPERTY_SEC_LOCATION
public static final java.lang.String SYSTEM_PROPERTY_SEC_LOCATION
- See Also:
- Constant Field Values
TYPE_ATTR
public static final java.lang.String TYPE_ATTR
- See Also:
- Constant Field Values
ATTR_START
public static final char ATTR_START
- See Also:
- Constant Field Values
ATTR_STOP
public static final char ATTR_STOP
- See Also:
- Constant Field Values
_cipher
protected org.sonatype.plexus.components.cipher.PlexusCipher _cipher
- DefaultHandler
_decryptors
protected java.util.Map _decryptors
- All available dispatchers
_configurationFile
protected java.lang.String _configurationFile
DefaultSecDispatcher
public DefaultSecDispatcher()
decrypt
public java.lang.String decrypt(java.lang.String str)
throws SecDispatcherException
- Description copied from interface:
SecDispatcher
- decrypt given encrypted string
- Specified by:
decrypt
in interface SecDispatcher
- Returns:
- decrypted string
- Throws:
SecDispatcherException
getConfigurationFile
public java.lang.String getConfigurationFile()
setConfigurationFile
public void setConfigurationFile(java.lang.String file)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2008-2010. All Rights Reserved.