01: package org.objectweb.celtix.systest.securebasic;
02:
03: import org.objectweb.celtix.bus.configuration.security.SSLClientPolicy;
04: import org.objectweb.celtix.bus.configuration.security.SSLServerPolicy;
05:
06: //import org.objectweb.celtix.bus.transports.http.SecurityDataProvider;
07:
08: public class SetBadDataSecurityDataProvider {
09:
10: public static final long serialVersionUID = 1L;
11: private static final String BACK_TO_SRC_DIR = "../../../../../../../src/test/java/org/objectweb/celtix/systest/securebasic/";
12:
13: public SetBadDataSecurityDataProvider() {
14:
15: }
16:
17: public void configure(SSLServerPolicy sslPolicyParam) {
18: sslPolicyParam.setTrustStore(getClass().getResource(".")
19: .getPath()
20: + BACK_TO_SRC_DIR + "defaulttruststore");
21: }
22:
23: public void configure(SSLClientPolicy sslPolicyParam) {
24: sslPolicyParam.setTrustStore(getClass().getResource(".")
25: .getPath()
26: + BACK_TO_SRC_DIR + "defaulttruststore");
27:
28: }
29: }
|