| <html><head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <title>Chapter 11. Encryption Provider</title><base href="display"><link rel="stylesheet" type="text/css" href="css/docbook.css"><meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"><link rel="home" href="manual.html" title="Apache OpenJPA 2.2 User's Guide"><link rel="up" href="ref_guide.html" title="Part 3. Reference Guide"><link rel="prev" href="ref_guide_cache_querysql.html" title="3. Prepared SQL Cache"><link rel="next" href="ref_guide_remote.html" title="Chapter 12. Remote and Offline Operation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 11. |
| Encryption Provider |
| </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref_guide_cache_querysql.html">Prev</a> </td><th width="60%" align="center">Part 3. Reference Guide</th><td width="20%" align="right"> <a accesskey="n" href="ref_guide_remote.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 11. Encryption Provider" id="ref_guide_encryption"><div class="titlepage"><div><div><h2 class="title">Chapter 11. |
| Encryption Provider |
| </h2></div></div></div> |
| |
| <p> |
| OpenJPA provides an interface for a provider to implement |
| connection password encryption. Whenever a connection password |
| is needed, the <code class="methodname">decrypt(String)</code> method will be invoked. See |
| <a class="ulink" href="../javadoc/org/apache/openjpa/lib/encryption/EncryptionProvider.html" target="_top"> |
| <code class="classname">org.apache.openjpa.lib.encryption.EncryptionProvider</code> |
| </a> for the detailed Javadoc. |
| </p> |
| <p> |
| Notes: |
| </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> |
| <p> |
| It is an OpenJPA user responsibility to implement the |
| <code class="classname">EncryptionProvider</code> |
| interface. There is no default implementation. |
| </p> |
| </li><li class="listitem"> |
| <p> |
| The interface has an <code class="methodname">encrypt(String)</code> method, |
| but it is not called by the OpenJPA runtime. |
| </p> |
| </li></ul></div><p> |
| </p> |
| </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref_guide_cache_querysql.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref_guide.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ref_guide_remote.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3. Prepared SQL Cache </td><td width="20%" align="center"><a accesskey="h" href="manual.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 12. |
| Remote and Offline Operation |
| </td></tr></table></div></body></html> |