org.nuiton.components.sec.dispatcher
Class DefaultSecDispatcher
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.nuiton.components.sec.dispatcher.DefaultSecDispatcher
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled, org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
public class DefaultSecDispatcher
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
This class was forked from plexus-sec-dispatcher:1.3.1.
Since maven 2.2.x can not use this plexus component in a mojo
from the original artifact.
- Author:
- Oleg Gusakov
- Plexus component:
- role-hint:
- "maven-helper-plugin"
|
| Fields inherited from interface org.sonatype.plexus.components.sec.dispatcher.SecDispatcher |
ROLE, SYSTEM_PROPERTY_MASTER_PASSWORD, SYSTEM_PROPERTY_SERVER_PASSWORD |
| 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 String SYSTEM_PROPERTY_SEC_LOCATION
- See Also:
- Constant Field Values
TYPE_ATTR
public static final 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
- Plexus requirement:
- role-hint:
- "maven-helper-plugin"
|
_decryptors
protected Map _decryptors
- All available dispatchers
- Plexus requirement:
- role:
- "org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor"
|
_configurationFile
protected String _configurationFile
- Plexus configuration:
- default-value:
- "~/.settings-security.xml"
|
DefaultSecDispatcher
public DefaultSecDispatcher()
decrypt
public String decrypt(String str)
throws org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException
- Specified by:
decrypt in interface org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
- Throws:
org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException
getConfigurationFile
public String getConfigurationFile()
setConfigurationFile
public void setConfigurationFile(String file)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2009-2010 CodeLutin. All Rights Reserved.