# 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]"
#
#  $Id: IDMCreateIdentitiesTest.properties,v 1.5 2008/07/22 02:16:29 inthanga Exp $
#
# Copyright 2007 Sun Microsystems Inc. All Rights Reserved
#
#
# Property definitions.
# Format : 
# Parameter used by all tests has this format i.e. description, realm, count, etc.
# <test_name><test_number>.<parameter>=<value>
# The rest has this format
# <test_name><test_number>.<parameter><test_index>=<value>
# count         : Number of index or item in a test case
# description   : Test case description
# realm         : Realm name
# action        : A action or operation to be performed.  Available actions
#                 are: create, delete,update, search, addmember, removemember
# name          : Identity name
# type          : Identity type - user, role, filtered role, agent,
#                 and group
# attributes    : Identity attributes to be created or updated.  If
#                 not defined, it will use default value to create an
#                 identity.  Attribute can be concatenated with character ";" string
#                 i.e. password=testpassword;inetuserstatus=active
# member_name   : Member name to be added to an identity
# epxected_error_code	: Expected error code
# expected_error_message: Expected error message
#
# User test cases
IDMCreateIdentitiesTest1.count=2
IDMCreateIdentitiesTest1.description=Create a new user
IDMCreateIdentitiesTest1.realm=/testidmrealm
IDMCreateIdentitiesTest1.action.0=create
IDMCreateIdentitiesTest1.name.0=testcreateuser
IDMCreateIdentitiesTest1.type.0=user
IDMCreateIdentitiesTest1.action.1=delete
IDMCreateIdentitiesTest1.name.1=testcreateuser
IDMCreateIdentitiesTest1.type.1=user

IDMCreateIdentitiesTest2.count=3
IDMCreateIdentitiesTest2.description=Create a duplicate user
IDMCreateIdentitiesTest2.realm=/testidmrealm
IDMCreateIdentitiesTest2.action.0=create
IDMCreateIdentitiesTest2.name.0=testcreateduplicateuser
IDMCreateIdentitiesTest2.type.0=user
IDMCreateIdentitiesTest2.action.1=create
IDMCreateIdentitiesTest2.name.1=testcreateduplicateuser
IDMCreateIdentitiesTest2.type.1=user
IDMCreateIdentitiesTest2.expected_error_code.1=311
IDMCreateIdentitiesTest2.expected_error_message.1=The specified entry already exists.
IDMCreateIdentitiesTest2.action.2=delete
IDMCreateIdentitiesTest2.name.2=testcreateduplicateuser
IDMCreateIdentitiesTest2.type.2=user

IDMCreateIdentitiesTest3.count=1
IDMCreateIdentitiesTest3.description=Create an empty user
IDMCreateIdentitiesTest3.realm=/testidmrealm
IDMCreateIdentitiesTest3.action.0=create
IDMCreateIdentitiesTest3.name.0=" "
IDMCreateIdentitiesTest3.type.0=user
IDMCreateIdentitiesTest3.expected_error_code.0=313
IDMCreateIdentitiesTest3.expected_error_message.0=Invalid DN

# Role test cases
IDMCreateIdentitiesTest4.count=2
IDMCreateIdentitiesTest4.description=Create a new role
IDMCreateIdentitiesTest4.realm=/testidmrealm
IDMCreateIdentitiesTest4.action.0=create
IDMCreateIdentitiesTest4.name.0=testcreaterole
IDMCreateIdentitiesTest4.type.0=role
IDMCreateIdentitiesTest4.action.1=delete
IDMCreateIdentitiesTest4.name.1=testcreaterole
IDMCreateIdentitiesTest4.type.1=role

IDMCreateIdentitiesTest5.count=2
IDMCreateIdentitiesTest5.description=Create a duplicate role
IDMCreateIdentitiesTest5.realm=/testidmrealm
IDMCreateIdentitiesTest5.action.0=create
IDMCreateIdentitiesTest5.name.0=testcreateduplicaterole
IDMCreateIdentitiesTest5.type.0=role
IDMCreateIdentitiesTest5.action.1=create
IDMCreateIdentitiesTest5.name.1=testcreateduplicaterole
IDMCreateIdentitiesTest5.type.1=role
IDMCreateIdentitiesTest5.expected_error_code.1=311
IDMCreateIdentitiesTest5.expected_error_message.1=The specified entry already exists.

IDMCreateIdentitiesTest6.count=1
IDMCreateIdentitiesTest6.description=Create an empty role
IDMCreateIdentitiesTest6.realm=/testidmrealm
IDMCreateIdentitiesTest6.action.0=create
IDMCreateIdentitiesTest6.name.0=" "
IDMCreateIdentitiesTest6.type.0=role
IDMCreateIdentitiesTest6.expected_error_code.0=313
IDMCreateIdentitiesTest6.expected_error_message.0=Invalid DN

# Filtered role test cases
IDMCreateIdentitiesTest7.count=2
IDMCreateIdentitiesTest7.description=Create new filtered role
IDMCreateIdentitiesTest7.realm=/testidmrealm
IDMCreateIdentitiesTest7.action.0=create
IDMCreateIdentitiesTest7.name.0=testcreatefilteredrole
IDMCreateIdentitiesTest7.type.0=filteredrole
IDMCreateIdentitiesTest7.action.1=delete
IDMCreateIdentitiesTest7.name.1=testcreatefilteredrole
IDMCreateIdentitiesTest7.type.1=filteredrole

IDMCreateIdentitiesTest8.count=3
IDMCreateIdentitiesTest8.description=Create duplicate filtered role
IDMCreateIdentitiesTest8.realm=/testidmrealm
IDMCreateIdentitiesTest8.action.0=create
IDMCreateIdentitiesTest8.name.0=testcreateduplicatefilteredrole
IDMCreateIdentitiesTest8.type.0=filteredrole
IDMCreateIdentitiesTest8.action.1=create
IDMCreateIdentitiesTest8.name.1=testcreateduplicatefilteredrole
IDMCreateIdentitiesTest8.type.1=filteredrole
IDMCreateIdentitiesTest8.expected_error_code.1=311
IDMCreateIdentitiesTest8.expected_error_message.1=The specified entry already exists.
IDMCreateIdentitiesTest8.action.2=delete
IDMCreateIdentitiesTest8.name.2=testcreateduplicatefilteredrole
IDMCreateIdentitiesTest8.type.2=filteredrole

IDMCreateIdentitiesTest9.count=1
IDMCreateIdentitiesTest9.description=Create an empty filtered role
IDMCreateIdentitiesTest9.realm=/testidmrealm
IDMCreateIdentitiesTest9.action.0=create
IDMCreateIdentitiesTest9.name.0=" "
IDMCreateIdentitiesTest9.type.0=filteredrole
IDMCreateIdentitiesTest9.expected_error_code.0=313
IDMCreateIdentitiesTest9.expected_error_message.0=Invalid DN

# Agent test cases
IDMCreateIdentitiesTest10.count=2
IDMCreateIdentitiesTest10.description=Create a new agent 
IDMCreateIdentitiesTest10.realm=/testidmrealm
IDMCreateIdentitiesTest10.action.0=create
IDMCreateIdentitiesTest10.name.0=testcreateagent
IDMCreateIdentitiesTest10.type.0=agent
IDMCreateIdentitiesTest10.action.1=delete
IDMCreateIdentitiesTest10.name.1=testcreateagent
IDMCreateIdentitiesTest10.type.1=agent

IDMCreateIdentitiesTest11.count=3
IDMCreateIdentitiesTest11.description=Create a duplicate agent 
IDMCreateIdentitiesTest11.realm=/testidmrealm
IDMCreateIdentitiesTest11.action.0=create
IDMCreateIdentitiesTest11.name.0=testcreateduplicateagent
IDMCreateIdentitiesTest11.type.0=agent
IDMCreateIdentitiesTest11.action.1=create
IDMCreateIdentitiesTest11.name.1=testcreateduplicateagent
IDMCreateIdentitiesTest11.type.1=agent
IDMCreateIdentitiesTest11.expected_error_code.1=224
IDMCreateIdentitiesTest11.expected_error_message.1=already exists
IDMCreateIdentitiesTest11.action.2=delete
IDMCreateIdentitiesTest11.name.2=testcreateduplicateagent
IDMCreateIdentitiesTest11.type.2=agent

IDMCreateIdentitiesTest12.count=1
IDMCreateIdentitiesTest12.description=Create a empty agent 
IDMCreateIdentitiesTest12.realm=/testidmrealm
IDMCreateIdentitiesTest12.action.0=create
IDMCreateIdentitiesTest12.name.0=" "
IDMCreateIdentitiesTest12.type.0=agent
IDMCreateIdentitiesTest12.expected_error_code.0=226
IDMCreateIdentitiesTest12.expected_error_message.0=Unable to create agent

# Group test cases
IDMCreateIdentitiesTest13.count=2
IDMCreateIdentitiesTest13.description=Create a new group
IDMCreateIdentitiesTest13.realm=/testidmrealm
IDMCreateIdentitiesTest13.action.0=create
IDMCreateIdentitiesTest13.name.0=testcreategroup
IDMCreateIdentitiesTest13.type.0=group
IDMCreateIdentitiesTest13.action.1=delete
IDMCreateIdentitiesTest13.name.1=testcreategroup
IDMCreateIdentitiesTest13.type.1=group

IDMCreateIdentitiesTest14.count=3
IDMCreateIdentitiesTest14.description=Create a duplicate group
IDMCreateIdentitiesTest14.realm=/testidmrealm
IDMCreateIdentitiesTest14.action.0=create
IDMCreateIdentitiesTest14.name.0=testcreateduplicategroup
IDMCreateIdentitiesTest14.type.0=group
IDMCreateIdentitiesTest14.action.1=create
IDMCreateIdentitiesTest14.name.1=testcreateduplicategroup
IDMCreateIdentitiesTest14.type.1=group
IDMCreateIdentitiesTest14.expected_error_code.1=311
IDMCreateIdentitiesTest14.expected_error_message.1=The specified entry already exists.
IDMCreateIdentitiesTest14.action.2=delete
IDMCreateIdentitiesTest14.name.2=testcreateduplicategroup
IDMCreateIdentitiesTest14.type.2=group

IDMCreateIdentitiesTest15.count=1
IDMCreateIdentitiesTest15.description=Create an empty group
IDMCreateIdentitiesTest15.realm=/testidmrealm
IDMCreateIdentitiesTest15.action.0=create
IDMCreateIdentitiesTest15.name.0=" "
IDMCreateIdentitiesTest15.type.0=group
IDMCreateIdentitiesTest15.expected_error_code.0=313
IDMCreateIdentitiesTest15.expected_error_message.0=Invalid DN
