org.alfresco.httpclient
Class EncryptionService

java.lang.Object
  extended by org.alfresco.httpclient.EncryptionService

public class EncryptionService
extends java.lang.Object

Provides encryption services for SOLR communications with the Alfresco repository

Since:
4.0

Field Summary
protected  java.lang.String alfrescoHost
           
protected  int alfrescoPort
           
protected  MD5EncryptionParameters encryptionParameters
           
protected  DefaultEncryptionUtils encryptionUtils
           
protected  DefaultEncryptor encryptor
           
protected  KeystoreKeyProvider keyProvider
           
protected  KeyResourceLoader keyResourceLoader
           
protected  KeyStoreParameters keyStoreParameters
           
protected  MACUtils macUtils
           
 
Constructor Summary
EncryptionService(java.lang.String alfrescoHost, int alfrescoPort, KeyResourceLoader keyResourceLoader, KeyStoreParameters keyStoreParameters, MD5EncryptionParameters encryptionParameters)
           
 
Method Summary
 MD5EncryptionParameters getEncryptionParameters()
           
 EncryptionUtils getEncryptionUtils()
           
 Encryptor getEncryptor()
           
 KeyProvider getKeyProvider()
           
 MACUtils getMacUtils()
           
protected  void setup()
           
protected  void setupEncryptionUtils()
           
protected  void setupEncryptor()
           
protected  void setupKeyProvider()
           
protected  void setupMacUtils()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyStoreParameters

protected KeyStoreParameters keyStoreParameters

encryptionParameters

protected MD5EncryptionParameters encryptionParameters

keyResourceLoader

protected KeyResourceLoader keyResourceLoader

alfrescoHost

protected java.lang.String alfrescoHost

alfrescoPort

protected int alfrescoPort

keyProvider

protected KeystoreKeyProvider keyProvider

encryptor

protected DefaultEncryptor encryptor

macUtils

protected MACUtils macUtils

encryptionUtils

protected DefaultEncryptionUtils encryptionUtils
Constructor Detail

EncryptionService

public EncryptionService(java.lang.String alfrescoHost,
                         int alfrescoPort,
                         KeyResourceLoader keyResourceLoader,
                         KeyStoreParameters keyStoreParameters,
                         MD5EncryptionParameters encryptionParameters)
Method Detail

getEncryptionParameters

public MD5EncryptionParameters getEncryptionParameters()

getKeyProvider

public KeyProvider getKeyProvider()

getEncryptor

public Encryptor getEncryptor()

getMacUtils

public MACUtils getMacUtils()

getEncryptionUtils

public EncryptionUtils getEncryptionUtils()

setup

protected void setup()

setupEncryptionUtils

protected void setupEncryptionUtils()

setupKeyProvider

protected void setupKeyProvider()

setupMacUtils

protected void setupMacUtils()

setupEncryptor

protected void setupEncryptor()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.