|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.security.ClusterEncryptionFilter
Deprecated. As of Coherence 3.7, deprecated replaced by SSL.
@Deprecated
public class ClusterEncryptionFilter
Encryption filter implementation which switches between asymmetric and symmetric encryption based upon the type of data being filtered.
Asymmetric encryption is applied to the cluster service data to protect against untrusted entities joining the cluster. Data for other services is encrypted using a random shared symmetric key which is generated by the cluster's senior member and securely provided to other members via the cluster service. Unlike most cluster service traffic the shared secret is encrypted with both the originator's private key and the recipient's public key.
Custom certificate validation may be provided by extending the AsymmetricEncryptionFilter class, and supplying the alternate implementation as part of this filter's configuration.
setConfig(com.tangosol.run.xml.XmlElement)
, AsymmetricEncryptionFilter
, SymmetricEncryptionFilter
Nested Class Summary | |
---|---|
class |
ClusterEncryptionFilter.DemultiplexingInputStream Deprecated. WrapperInputStram which chooses the appropriate wrapper based on the protocol context. |
class |
ClusterEncryptionFilter.MultiplexingOutputStream Deprecated. WrapperOutputStram which chooses the appropriate wrapper based on the protocol context. |
Field Summary | |
---|---|
protected int |
m_nSharedKeySize Deprecated. Shared key length. |
protected java.lang.String |
m_sSharedKeyAlgorithm Deprecated. Shared key algorithm. |
protected AsymmetricEncryptionFilter |
m_wrapperAsymmetric Deprecated. The AsymmetricEncryptionFilter. |
protected SymmetricEncryptionFilter |
m_wrapperSymmetric Deprecated. The SymmetricEncryptionFilter. |
Constructor Summary | |
---|---|
ClusterEncryptionFilter() Deprecated. |
Method Summary | |
---|---|
XmlElement |
getConfig() Deprecated. Determine the current configuration of the object. |
java.io.InputStream |
getInputStream(java.io.InputStream stream) Deprecated. Requests an InputStream that wraps the passed InputStream. |
java.io.OutputStream |
getOutputStream(java.io.OutputStream stream) Deprecated. Requests an OutputStream that wraps the passed OutputStream. |
javax.crypto.SecretKey |
getSharedKey() Deprecated. Return the shared key, or generate one if none exists. |
protected void |
readSharedKey(java.io.DataInputStream stream) Deprecated. Read the shared key from the InputStream. |
protected WrapperStreamFactory |
selectWrapper(com.tangosol.net.internal.ProtocolAwareStream.ProtocolContext context) Deprecated. Select a Filter based on the supplied protocol information. |
void |
setConfig(XmlElement xml) Deprecated. Configures the ClusterEncryptionFilter. |
void |
setSharedKey(javax.crypto.SecretKey key) Deprecated. Set the shared key. |
protected void |
writeSharedKey(java.io.DataOutputStream stream, Member memberTo) Deprecated. Write the shared cluster secret to the supplied OutputStream. |
Field Detail |
---|
protected java.lang.String m_sSharedKeyAlgorithm
protected int m_nSharedKeySize
protected SymmetricEncryptionFilter m_wrapperSymmetric
protected AsymmetricEncryptionFilter m_wrapperAsymmetric
Constructor Detail |
---|
public ClusterEncryptionFilter()
Method Detail |
---|
protected WrapperStreamFactory selectWrapper(com.tangosol.net.internal.ProtocolAwareStream.ProtocolContext context)
context
- the protocol contextprotected void readSharedKey(java.io.DataInputStream stream)
stream
- the stream to read the secret fromprotected void writeSharedKey(java.io.DataOutputStream stream, Member memberTo)
stream
- the stream to write the secret tomemberTo
- the member to which the key will be sentpublic javax.crypto.SecretKey getSharedKey()
public void setSharedKey(javax.crypto.SecretKey key)
key
- the shared keypublic java.io.InputStream getInputStream(java.io.InputStream stream)
getInputStream
in interface WrapperStreamFactory
stream
- the java.io.InputStream to be wrappedpublic java.io.OutputStream getOutputStream(java.io.OutputStream stream)
getOutputStream
in interface WrapperStreamFactory
stream
- the java.io.OutputStream to be wrappedpublic XmlElement getConfig()
getConfig
in interface XmlConfigurable
public void setConfig(XmlElement xml)
setConfig
in interface XmlConfigurable
xml
- the XML configuration for the objectAsymmetricEncryptionFilter.setConfig(com.tangosol.run.xml.XmlElement)
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |