# The contents of this file are subject to the terms
#  of the Common Development and Distribution License
# (the License). You may not use this file except in
# compliance with the License.
#
# You can obtain a copy of the License at
# https://opensso.dev.java.net/public/CDDLv1.0.html or
# opensso/legal/CDDLv1.0.txt
# See the License for the specific language governing
# permission and limitations under the License.
#
# When distributing Covered Code, include this CDDL
# Header Notice in each file and include the License file
# at opensso/legal/CDDLv1.0.txt.
# If applicable, add the following below the CDDL Header,
# with the fields enclosed by brackets [] replaced by
# your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
#
# Copyright 2007 Sun Microsystems Inc. All Rights Reserved
#
#
# Property definitions.
#
# All parameter will be in the format UMGlobalDatastoreConfig[index].<key>.
# [datastore number]=<value>

# datastore-count   : Number of datatore to be created or deleted.
#
# datastore-type    : Type of datatore to be created. This has be the exact type
#                     expected by the SM schema. 
#
# root-suffix       : Root suffix for the datastore
#
# datastore-name    : Datastore name to be create, updated, listed, or deleted.
#
# datastore-realm   : Realm name where the datastore resides.
#
# datastore-adminid : Directory server admin user bindn.  This user should have 
#                     priviledge to load the schema.
#
# datastore-adminpw  : Directory server admin user password.
#
# datastore-keystore : Keystore name and location with trusted root certificate of SSL 
#		      LDAPv3 datastore.  This parameter is required for SSL datastore 
#		      and when sun-idrepo-ldapv3-config-ssl-enable is set to true
#
# The rest of the parameter should match with the datastore attributes 
# The mimimum parameters should be defined in this properties file are 
# (for LDAPv3 datastore):
# sun-idrepo-ldapv3-config-ldap-server       : Directory server hostname.
# sun-idrepo-ldapv3-config-ldap-port         : Directory server port number.
# sun-idrepo-ldapv3-config-authid            : Speical user bind dn (Sun DS and AD 
#					       has default user if not specified.  
#					       Need to specify this parameter for 
#					       generic LDAPv3.
# sun-idrepo-ldapv3-config-authpw            : Speical user password.
# sun-idrepo-ldapv3-config-organization_name : 
# sun-idrepo-ldapv3-config-psearchbase       : Persistence search basedn.  This only 
#					       needs if user datastore on different 
#					       instance from config datastore.	
# sun-idrepo-ldapv3-config-ssl-enable        : SSL flag.
#
# NOTE: For UMGlobalDatastoreConfig0, more datastores can be added but they
#       have to set same set of properties as mentioned in the current listed
#       configuration.
#       There is no such restriction for UMGlobalDatastoreConfig1.
#       In multi-server environment, 
#       UMGlobalDatastoreConfig0 is used for server1 which is IDP,
#       UMGlobalDatastoreConfig1 is used for server2 which is SP.
#       With Multiprotocol flag enabled,
#       UMGlobalDatastoreConfig2 is used for SP (IDFF)
#       UMGlobalDatastoreConfig3 is used for SP (WSFed)

UMGlobalDatastoreConfig0.datastore-count=1
UMGlobalDatastoreConfig0.datastore-type.0=LDAPv3ForAMDS
UMGlobalDatastoreConfig0.datastore-root-suffix.0=UM_CONFIG0_SUFFIX0
UMGlobalDatastoreConfig0.sun-idrepo-ldapv3-config-ldap-server.0=UM_CONFIG0_LDAPSERVER_NAME0
UMGlobalDatastoreConfig0.sun-idrepo-ldapv3-config-ldap-port.0=UM_CONFIG0_LDAPSERVER_PORT0
#following properties are used to bind to the UM directory to load the UM Schema
UMGlobalDatastoreConfig0.datastore-adminid.0=DS_CONFIG0_BIND_DN0
UMGlobalDatastoreConfig0.datastore-adminpw.0=DS_CONFIG0_BIND_PW0

# if you are running the single server tests only, then update only
# the following UM configuration datastore properties
UMGlobalDatastoreConfig1.datastore-count=1
UMGlobalDatastoreConfig1.datastore-type.0=LDAPv3ForAMDS
UMGlobalDatastoreConfig1.datastore-root-suffix.0=UM_CONFIG1_SUFFIX0
UMGlobalDatastoreConfig1.sun-idrepo-ldapv3-config-ldap-server.0=UM_CONFIG1_LDAPSERVER_NAME0
UMGlobalDatastoreConfig1.sun-idrepo-ldapv3-config-ldap-port.0=UM_CONFIG1_LDAPSERVER_PORT0
#following properties are used to bind to the UM directory to load the UM Schema
UMGlobalDatastoreConfig1.datastore-adminid.0=DS_CONFIG1_BIND_DN0
UMGlobalDatastoreConfig1.datastore-adminpw.0=DS_CONFIG1_BIND_PW0

UMGlobalDatastoreConfig2.datastore-count=1
UMGlobalDatastoreConfig2.datastore-type.0=LDAPv3ForAMDS
UMGlobalDatastoreConfig2.datastore-root-suffix.0=UM_CONFIG2_SUFFIX0
UMGlobalDatastoreConfig2.sun-idrepo-ldapv3-config-ldap-server.0=UM_CONFIG2_LDAPSERVER_NAME0
UMGlobalDatastoreConfig2.sun-idrepo-ldapv3-config-ldap-port.0=UM_CONFIG2_LDAPSERVER_PORT0
#following properties are used to bind to the UM directory to load the UM Schema
UMGlobalDatastoreConfig2.datastore-adminid.0=DS_CONFIG2_BIND_DN0
UMGlobalDatastoreConfig2.datastore-adminpw.0=DS_CONFIG2_BIND_PW0

UMGlobalDatastoreConfig3.datastore-count=1
UMGlobalDatastoreConfig3.datastore-type.0=LDAPv3ForAMDS
UMGlobalDatastoreConfig3.datastore-root-suffix.0=UM_CONFIG3_SUFFIX0
UMGlobalDatastoreConfig3.sun-idrepo-ldapv3-config-ldap-server.0=UM_CONFIG3_LDAPSERVER_NAME0
UMGlobalDatastoreConfig3.sun-idrepo-ldapv3-config-ldap-port.0=UM_CONFIG3_LDAPSERVER_PORT0
#following properties are used to bind to the UM directory to load the UM Schema
UMGlobalDatastoreConfig3.datastore-adminid.0=DS_CONFIG3_BIND_DN0
UMGlobalDatastoreConfig3.datastore-adminpw.0=DS_CONFIG3_BIND_PW0
