lumis.util.security
Interface IEncryptor

Package class diagram package IEncryptor

Deprecated. Since 5.5.0, replaced by the lumis.portal.crypto package.

@Deprecated
public interface IEncryptor

Defines the methods an encryptor must implement.

Since:
4.0.0

Method Summary
 String decrypt(String value)
          Deprecated. Decrypts a string.
 String encrypt(String value)
          Deprecated. Encrypts a string.
 void init(Node configuration)
          Deprecated. This method is called only once and before any other method are called.
 

Method Detail

init

void init(Node configuration)
          throws Exception
Deprecated. 
This method is called only once and before any other method are called. This allows the encryptor to initialize itself and read any custom configuration.

Throws:
Exception

encrypt

String encrypt(String value)
               throws Exception
Deprecated. 
Encrypts a string.

Parameters:
value - the original string.
Returns:
the encrypted string.
Throws:
Exception

decrypt

String decrypt(String value)
               throws Exception
Deprecated. 
Decrypts a string.

Parameters:
value - the encrypted string.
Returns:
the string decrypted.
Throws:
Exception


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.