public class EncryptionFactory extends java.lang.Object
EncryptionFactory.getInstance().getProvider("name of provider")
These are the available encryption provider names and their usage.
ActiveProvider- This provider is responsible for encrypting and decrypting sensitive data that is stored in the database, for example, credit card data and passwords.
SessionProvider- This provider is responsible for encrypting and decrypting external facing data such as values in a cookie.
|Modifier and Type||Method and Description|
This method returns an instance of the encryption factory for the application.
Gets the implementation class of the Provider based on the specified name.
public static EncryptionFactory getInstance()
public EncryptionProvider getProvider(java.lang.String name)
name- The name of the provider to get.