com.silverpeas.authentication
Interface CredentialEncryption

All Known Implementing Classes:
CustomCredentialEncryption

public interface CredentialEncryption

Encryption of the user credentials before recording them into a given storage (cookies, ...) All encryption algorithms available in Silverpeas to encrypt the user credentials must implement this interface.


Method Summary
 String decode(String str)
           
 String decode(String str, String key, boolean extraCrypt)
           
 String encode(String str)
           
 

Method Detail

encode

String encode(String str)

decode

String decode(String str)

decode

String decode(String str,
              String key,
              boolean extraCrypt)


Copyright © 2016 Silverpeas. All Rights Reserved.