From 6e6c8be7df400afb755e5c56b8d280836002a86b Mon Sep 17 00:00:00 2001 From: smaguin <smaguin@localhost> Date: Mon, 02 Jul 2007 13:48:14 +0000 Subject: [PATCH] ldif used to configure client_auth testsuite --- opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_key_mgr_provider.ldif | 29 +++++ opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_ldaps_conn_handler.ldif | 30 ++++++ opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_startTLS.ldif | 33 ++++++ opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_ldaps_conn_handler.ldif | 7 + opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_startTLS.ldif | 36 +++++++ opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_TLS.ldif | 30 ++++++ opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_key_mgr_provider.ldif | 34 ++++++ opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_trust_mgr_provider.ldif | 29 +++++ opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_trust_mgr_provider.ldif | 30 ++++++ 9 files changed, 258 insertions(+), 0 deletions(-) diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_TLS.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_TLS.ldif new file mode 100644 index 0000000..5864274 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_TLS.ldif @@ -0,0 +1,30 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=LDAP Connection Handler,cn=Connection Handlers,cn=config +changetype: modify +replace: ds-cfg-allow-start-tls +ds-cfg-allow-start-tls: true + diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_key_mgr_provider.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_key_mgr_provider.ldif new file mode 100644 index 0000000..4915521 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_key_mgr_provider.ldif @@ -0,0 +1,34 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=JKS,cn=Key Manager Providers,cn=config +changetype: modify +replace: ds-cfg-key-manager-provider-enabled +ds-cfg-key-manager-provider-enabled: true +- +replace: ds-cfg-key-store-pin +ds-cfg-key-store-pin: servercert +- +delete: ds-cfg-key-store-pin-file \ No newline at end of file diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_ldaps_conn_handler.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_ldaps_conn_handler.ldif new file mode 100644 index 0000000..2157e58 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_ldaps_conn_handler.ldif @@ -0,0 +1,7 @@ +dn: cn=LDAPS Connection Handler,cn=Connection Handlers,cn=config +changetype: modify +replace: ds-cfg-trust-manager-provider-dn +ds-cfg-trust-manager-provider-dn: cn=Blind Trust,cn=Trust Manager Providers,cn=config +- +replace: ds-cfg-key-manager-provider-dn +ds-cfg-key-manager-provider-dn: cn=JKS,cn=Key Manager Providers,cn=config \ No newline at end of file diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_startTLS.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_startTLS.ldif new file mode 100644 index 0000000..400c9cf --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_startTLS.ldif @@ -0,0 +1,36 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=LDAP Connection Handler,cn=Connection Handlers,cn=config +changetype: modify +replace: ds-cfg-allow-start-tls +ds-cfg-allow-start-tls: true +- +add: ds-cfg-trust-manager-provider-dn +ds-cfg-trust-manager-provider-dn: cn=Blind Trust,cn=Trust Manager Providers,cn=config +- +add: ds-cfg-key-manager-provider-dn +ds-cfg-key-manager-provider-dn: cn=JKS,cn=Key Manager Providers,cn=config + diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_trust_mgr_provider.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_trust_mgr_provider.ldif new file mode 100644 index 0000000..c95f758 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/setup/enable_trust_mgr_provider.ldif @@ -0,0 +1,29 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=Blind Trust,cn=Trust Manager Providers,cn=config +changetype: modify +replace: ds-cfg-trust-manager-provider-enabled +ds-cfg-trust-manager-provider-enabled: true \ No newline at end of file diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_key_mgr_provider.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_key_mgr_provider.ldif new file mode 100644 index 0000000..0c63bc5 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_key_mgr_provider.ldif @@ -0,0 +1,29 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=JKS,cn=Key Manager Providers,cn=config +changetype: modify +replace: ds-cfg-key-manager-provider-enabled +ds-cfg-key-manager-provider-enabled: false diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_ldaps_conn_handler.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_ldaps_conn_handler.ldif new file mode 100644 index 0000000..0706b15 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_ldaps_conn_handler.ldif @@ -0,0 +1,30 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=LDAPS Connection Handler,cn=Connection Handlers,cn=config +changetype: modify +replace: ds-cfg-connection-handler-enabled +ds-cfg-connection-handler-enabled: false + diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_startTLS.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_startTLS.ldif new file mode 100644 index 0000000..f936581 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_startTLS.ldif @@ -0,0 +1,33 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=LDAP Connection Handler,cn=Connection Handlers,cn=config +changetype: modify +replace: ds-cfg-allow-start-tls +ds-cfg-allow-start-tls: false +- +delete: ds-cfg-trust-manager-provider-dn +- +delete: ds-cfg-key-manager-provider-dn \ No newline at end of file diff --git a/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_trust_mgr_provider.ldif b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_trust_mgr_provider.ldif new file mode 100644 index 0000000..f942502 --- /dev/null +++ b/opends/tests/functional-tests/shared/data/security/client_auth/teardown/disable_trust_mgr_provider.ldif @@ -0,0 +1,30 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE +# or https://OpenDS.dev.java.net/OpenDS.LICENSE. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at +# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, +# add the following below this CDDL HEADER, with the fields enclosed +# by brackets "[]" replaced with your own identifying information: +# Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# + +dn: cn=Blind Trust,cn=Trust Manager Providers,cn=config +changetype: modify +replace: ds-cfg-trust-manager-provider-enabled +ds-cfg-trust-manager-provider-enabled: false + -- Gitblit v1.10.0