diff options
Diffstat (limited to 'java/test/Ice/classLoader/PasswordCallbackI.java')
-rw-r--r-- | java/test/Ice/classLoader/PasswordCallbackI.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/java/test/Ice/classLoader/PasswordCallbackI.java b/java/test/Ice/classLoader/PasswordCallbackI.java new file mode 100644 index 00000000000..3fc9260e8de --- /dev/null +++ b/java/test/Ice/classLoader/PasswordCallbackI.java @@ -0,0 +1,28 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2009 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 test.Ice.classLoader; + +public class PasswordCallbackI implements IceSSL.PasswordCallback +{ + public char[] getPassword(String alias) + { + return "password".toCharArray(); + } + + public char[] getTruststorePassword() + { + return "password".toCharArray(); + } + + public char[] getKeystorePassword() + { + return "password".toCharArray(); + } +} |