diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-05-15 19:25:33 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-05-15 19:25:33 +0000 |
commit | 6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165 (patch) | |
tree | 2843fd9501faa3ebfc6999ef7230562592a3ede8 /java/ssl/jdk1.4/IceSSL/PluginI.java | |
parent | thread pool changes to support Java5 SSL plugin (diff) | |
download | ice-6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165.tar.bz2 ice-6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165.tar.xz ice-6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165.zip |
adding SSL plugin for Java5
Diffstat (limited to 'java/ssl/jdk1.4/IceSSL/PluginI.java')
-rw-r--r-- | java/ssl/jdk1.4/IceSSL/PluginI.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/java/ssl/jdk1.4/IceSSL/PluginI.java b/java/ssl/jdk1.4/IceSSL/PluginI.java new file mode 100644 index 00000000000..61cdb6e07b3 --- /dev/null +++ b/java/ssl/jdk1.4/IceSSL/PluginI.java @@ -0,0 +1,50 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +package IceSSL; + +class PluginI extends Ice.LocalObjectImpl implements Plugin +{ + public + PluginI(Ice.Communicator communicator) + { + _instance = new Instance(communicator); + } + + public void + initialize() + { + _instance.initialize(); + } + + public void + destroy() + { + } + + public void + setContext(javax.net.ssl.SSLContext context) + { + _instance.context(context); + } + + public javax.net.ssl.SSLContext + getContext() + { + return _instance.context(); + } + + public void + setCertificateVerifier(CertificateVerifier verifier) + { + _instance.setCertificateVerifier(verifier); + } + + private Instance _instance; +} |