Package org.ops4j.pax.url.mvn.internal
Class PaxUrlSecDispatcher
- java.lang.Object
-
- org.ops4j.pax.url.mvn.internal.PaxUrlSecDispatcher
-
- All Implemented Interfaces:
org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
public class PaxUrlSecDispatcher extends Object implements org.sonatype.plexus.components.sec.dispatcher.SecDispatcher
- Author:
- Oleg Gusakov
-
-
Field Summary
Fields Modifier and Type Field Description protected org.sonatype.plexus.components.cipher.PlexusCipher_cipherDefaultHandlerprotected String_configurationFileprotected Map<String,org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor>_decryptorsAll available dispatchersstatic charATTR_STARTstatic charATTR_STOPstatic StringSYSTEM_PROPERTY_SEC_LOCATIONstatic StringTYPE_ATTR
-
Constructor Summary
Constructors Constructor Description PaxUrlSecDispatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdecrypt(String str)org.sonatype.plexus.components.cipher.PlexusCiphergetCipher()StringgetConfigurationFile()static voidmain(String[] args)voidsetCipher(org.sonatype.plexus.components.cipher.PlexusCipher cipher)voidsetConfigurationFile(String file)
-
-
-
Field Detail
-
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
-
_decryptors
protected Map<String,org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor> _decryptors
All available dispatchers
-
_configurationFile
protected String _configurationFile
-
-
Method Detail
-
decrypt
public String decrypt(String str) throws org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException
- Specified by:
decryptin interfaceorg.sonatype.plexus.components.sec.dispatcher.SecDispatcher- Throws:
org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException
-
getConfigurationFile
public String getConfigurationFile()
-
setConfigurationFile
public void setConfigurationFile(String file)
-
setCipher
public void setCipher(org.sonatype.plexus.components.cipher.PlexusCipher cipher)
-
getCipher
public org.sonatype.plexus.components.cipher.PlexusCipher getCipher()
-
-