org.camunda.bpm.cycle.connector.crypt
Class EncryptionServiceImpl

java.lang.Object
  extended by org.camunda.bpm.cycle.connector.crypt.EncryptionServiceImpl
All Implemented Interfaces:
EncryptionService

@Component
public class EncryptionServiceImpl
extends Object
implements EncryptionService


Field Summary
static String DEFAULT_PASSWORD
           
 
Constructor Summary
EncryptionServiceImpl()
           
EncryptionServiceImpl(String encryptionPassword)
           
 
Method Summary
 boolean checkUserPassword(String plain, String digest)
           
 String decryptConnectorPassword(String input)
           
 String encryptConnectorPassword(String input)
          Symmetric key encryption
 String encryptUserPassword(String input)
          Asymmetric key encryption
 String getEncryptionPassword()
           
 String getPasswordFilePath()
           
static void main(String[] args)
           
 void setEncryptionPassword(String encryptionPassword)
           
 void setPasswordFilePath(String passwordFilePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PASSWORD

public static final String DEFAULT_PASSWORD
See Also:
Constant Field Values
Constructor Detail

EncryptionServiceImpl

public EncryptionServiceImpl()

EncryptionServiceImpl

public EncryptionServiceImpl(String encryptionPassword)
Method Detail

encryptConnectorPassword

public String encryptConnectorPassword(String input)
Description copied from interface: EncryptionService
Symmetric key encryption

Specified by:
encryptConnectorPassword in interface EncryptionService

decryptConnectorPassword

public String decryptConnectorPassword(String input)
Specified by:
decryptConnectorPassword in interface EncryptionService

getEncryptionPassword

public String getEncryptionPassword()

main

public static void main(String[] args)

getPasswordFilePath

public String getPasswordFilePath()

setPasswordFilePath

public void setPasswordFilePath(String passwordFilePath)

setEncryptionPassword

public void setEncryptionPassword(String encryptionPassword)

encryptUserPassword

public String encryptUserPassword(String input)
Description copied from interface: EncryptionService
Asymmetric key encryption

Specified by:
encryptUserPassword in interface EncryptionService

checkUserPassword

public boolean checkUserPassword(String plain,
                                 String digest)
Specified by:
checkUserPassword in interface EncryptionService


Copyright © 2014 camunda services GmbH. All rights reserved.