/* 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 $:
 *
 * Copyright 2007 Sun Microsystems Inc. All Rights Reserved
 */

################################################################################
# ATTRIBUTES FOR POLICY TEST 0 == LDAP Subjects and AMIdentity subjects Test
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy
################################################################################
PolicyTests0.noOfIdentities=16

PolicyTests0.identity0.name=group1
PolicyTests0.identity0.type=Group
PolicyTests0.identity0.attributes=
PolicyTests0.identity0.isMemberOf=no
PolicyTests0.identity0.hasSessionAttributes=false
PolicyTests0.identity1.name=group2
PolicyTests0.identity1.type=Group
PolicyTests0.identity1.attributes=
PolicyTests0.identity1.isMemberOf=no
PolicyTests0.identity1.hasSessionAttributes=false
PolicyTests0.identity2.name=role1
PolicyTests0.identity2.type=Role
PolicyTests0.identity2.attributes=
PolicyTests0.identity2.isMemberOf=no
PolicyTests0.identity2.hasSessionAttributes=false
PolicyTests0.identity3.name=role2
PolicyTests0.identity3.type=Role
PolicyTests0.identity3.attributes=
PolicyTests0.identity3.isMemberOf=no
PolicyTests0.identity3.hasSessionAttributes=false
PolicyTests0.identity4.name=user0
PolicyTests0.identity4.type=User
PolicyTests0.identity4.attributes=sn=user0,cn=user0,userpassword=user0,inetuserstatus=Active
PolicyTests0.identity4.isMemberOf=no
PolicyTests0.identity4.hasSessionAttributes=false
PolicyTests0.identity5.name=roleuser1
PolicyTests0.identity5.type=User
PolicyTests0.identity5.attributes=sn=roleuser1,cn=roleuser1,userpassword=roleuser1,inetuserstatus=Active
PolicyTests0.identity5.isMemberOf=yes
PolicyTests0.identity5.memberOf=PolicyTests0.identity2
PolicyTests0.identity5.hasSessionAttributes=false
PolicyTests0.identity6.name=groupuser1
PolicyTests0.identity6.type=User
PolicyTests0.identity6.attributes=sn=groupuser1,cn=groupuser1,userpassword=groupuser1,inetuserstatus=Active
PolicyTests0.identity6.isMemberOf=yes
PolicyTests0.identity6.memberOf=PolicyTests0.identity0
PolicyTests0.identity6.hasSessionAttributes=false
PolicyTests0.identity7.name=user1
PolicyTests0.identity7.type=User
PolicyTests0.identity7.attributes=sn=user1,cn=user1,userpassword=user1,inetuserstatus=Active
PolicyTests0.identity7.isMemberOf=no
PolicyTests0.identity7.hasSessionAttributes=false
PolicyTests0.identity8.name=groupuser2
PolicyTests0.identity8.type=User
PolicyTests0.identity8.attributes=sn=groupuser2,cn=groupuser2,userpassword=groupuser2,inetuserstatus=Active
PolicyTests0.identity8.isMemberOf=yes
PolicyTests0.identity8.memberOf=PolicyTests0.identity1
PolicyTests0.identity8.hasSessionAttributes=false
PolicyTests0.identity9.name=roleuser2
PolicyTests0.identity9.type=User
PolicyTests0.identity9.attributes=sn=roleuser2,cn=roleuser2,userpassword=roleuser2,inetuserstatus=Active
PolicyTests0.identity9.isMemberOf=yes
PolicyTests0.identity9.memberOf=PolicyTests0.identity3
PolicyTests0.identity9.hasSessionAttributes=false
PolicyTests0.identity10.name=user2
PolicyTests0.identity10.type=User
PolicyTests0.identity10.attributes=sn=user2,cn=user2,userpassword=user2,inetuserstatus=Active
PolicyTests0.identity10.isMemberOf=no
PolicyTests0.identity10.hasSessionAttributes=false
PolicyTests0.identity11.name=group3
PolicyTests0.identity11.type=Group
PolicyTests0.identity11.attributes=
PolicyTests0.identity11.isMemberOf=no
PolicyTests0.identity11.hasSessionAttributes=false
PolicyTests0.identity12.name=group3user1
PolicyTests0.identity12.type=User
PolicyTests0.identity12.attributes=sn=group3user1,cn=group3user1,userpassword=group3user1,inetuserstatus=Active
PolicyTests0.identity12.isMemberOf=yes
PolicyTests0.identity12.memberOf=PolicyTests0.identity11
PolicyTests0.identity12.hasSessionAttributes=false
PolicyTests0.identity13.name=role3user1
PolicyTests0.identity13.type=Role
PolicyTests0.identity13.attributes=
PolicyTests0.identity13.isMemberOf=no
PolicyTests0.identity13.hasSessionAttributes=false
PolicyTests0.identity14.name=role3user1
PolicyTests0.identity14.type=User
PolicyTests0.identity14.attributes=sn=role3user1,cn=role3user1,userpassword=role3user1,inetuserstatus=Active
PolicyTests0.identity14.isMemberOf=yes
PolicyTests0.identity14.memberOf=PolicyTests0.identity13
PolicyTests0.identity15.name=ruleuser0
PolicyTests0.identity15.type=User
PolicyTests0.identity15.attributes=sn=ruleuser0,cn=ruleuser0,userpassword=ruleuser0,inetuserstatus=Active
PolicyTests0.identity15.isMemberOf=no
PolicyTests0.identity15.hasSessionAttributes=false

PolicyTests0.noOfPolicies=2

PolicyTests0.policy0.name=SubjectTestPolicy00
PolicyTests0.policy0.description=subject test 0
PolicyTests0.policy0.referral=false
PolicyTests0.policy0.active=true

PolicyTests0.policy0.noOfRules=1
PolicyTests0.policy0.rule0.name=rule0
PolicyTests0.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests0.policy0.rule0.resource=PolicyGlobal.resource0
PolicyTests0.policy0.rule0.noOfActions=2
PolicyTests0.policy0.rule0.action0=GET=allow
PolicyTests0.policy0.rule0.action1=POST=allow

PolicyTests0.policy0.noOfSubjects=6
PolicyTests0.policy0.subject0.type=LDAPUsers
PolicyTests0.policy0.subject0.name=LDAPUser
PolicyTests0.policy0.subject0.includeType=inclusive
PolicyTests0.policy0.subject0.noOfAttributes=1
PolicyTests0.policy0.subject0.att0=Values=PolicyTests0.identity4
PolicyTests0.policy0.subject1.type=LDAPGroups
PolicyTests0.policy0.subject1.name=LDAPGroup
PolicyTests0.policy0.subject1.includeType=inclusive
PolicyTests0.policy0.subject1.noOfAttributes=1
PolicyTests0.policy0.subject1.att0=Values=PolicyTests0.identity0
PolicyTests0.policy0.subject2.type=LDAPRoles
PolicyTests0.policy0.subject2.name=LDAPRoles subject
PolicyTests0.policy0.subject2.includeType=inclusive
PolicyTests0.policy0.subject2.noOfAttributes=1
PolicyTests0.policy0.subject2.att0=Values=PolicyTests0.identity2
PolicyTests0.policy0.subject3.type=AMIdentitySubject
PolicyTests0.policy0.subject3.name=AmidUser
PolicyTests0.policy0.subject3.includeType=inclusive
PolicyTests0.policy0.subject3.noOfAttributes=1
PolicyTests0.policy0.subject3.att0=Values=PolicyTests0.identity15
PolicyTests0.policy0.subject4.type=AMIdentitySubject
PolicyTests0.policy0.subject4.name=Amidgroup
PolicyTests0.policy0.subject4.includeType=inclusive
PolicyTests0.policy0.subject4.noOfAttributes=1
PolicyTests0.policy0.subject4.att0=Values=PolicyTests0.identity1
PolicyTests0.policy0.subject5.type=AMIdentitySubject
PolicyTests0.policy0.subject5.name=Amidrole
PolicyTests0.policy0.subject5.includeType=inclusive
PolicyTests0.policy0.subject5.noOfAttributes=1
PolicyTests0.policy0.subject5.att0=Values=PolicyTests0.identity3

PolicyTests0.policy0.noOfConditions=0

PolicyTests0.policy0.noOfResponseProviders=1
PolicyTests0.policy0.responseprovider0.name=idresponseprovider
PolicyTests0.policy0.responseprovider0.type=IDRepoResponseProvider
PolicyTests0.policy0.responseprovider0.noOfStatic=2
PolicyTests0.policy0.responseprovider0.staticAttributeName=StaticAttribute
PolicyTests0.policy0.responseprovider0.static0=m=10
PolicyTests0.policy0.responseprovider0.static1=m=20
PolicyTests0.policy0.responseprovider0.noOfDynamic=1
PolicyTests0.policy0.responseprovider0.dynamicAttributeName=DynamicAttribute
PolicyTests0.policy0.responseprovider0.dynamic0=cn

PolicyTests0.policy1.name=policy01
PolicyTests0.policy1.description=subject test 1
PolicyTests0.policy1.referral=false
PolicyTests0.policy1.active=true

PolicyTests0.policy1.noOfRules=1
PolicyTests0.policy1.rule0.name=rule0
PolicyTests0.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests0.policy1.rule0.resource=PolicyGlobal.resource1
PolicyTests0.policy1.rule0.noOfActions=2
PolicyTests0.policy1.rule0.action0=GET=allow
PolicyTests0.policy1.rule0.action1=POST=allow

PolicyTests0.policy1.noOfSubjects=1
PolicyTests0.policy1.subject0.type=AuthenticatedUsers
PolicyTests0.policy1.subject0.name=test
PolicyTests0.policy1.subject0.includeType=inclusive
PolicyTests0.policy1.subject0.noOfAttributes=0
PolicyTests0.policy1.subject1.type=AMIdentitySubject
PolicyTests0.policy1.subject1.name=AmidUser
PolicyTests0.policy1.subject1.includeType=inclusive
PolicyTests0.policy1.subject1.noOfAttributes=1
PolicyTests0.policy1.subject1.att0=Values=PolicyTests0.identity15

PolicyTests0.policy1.noOfConditions=0

PolicyTests0.policy1.noOfResponseProviders=0

######## Testcases for Policy0 ###########
PolicyTests0.evaluation0.resource=PolicyGlobal.resource0
PolicyTests0.evaluation0.username=PolicyTests0.identity4.name
PolicyTests0.evaluation0.password=PolicyTests0.identity4.name
PolicyTests0.evaluation0.noOfEnvParamSet=0
PolicyTests0.evaluation0.action=GET
PolicyTests0.evaluation0.expectedResult=true
PolicyTests0.evaluation0.description=Access should be allowed (valid user)

PolicyTests0.evaluation1.resource=PolicyGlobal.resource0
PolicyTests0.evaluation1.username=PolicyTests0.identity6.name
PolicyTests0.evaluation1.password=PolicyTests0.identity6.name
PolicyTests0.evaluation1.noOfEnvParamSet=0
PolicyTests0.evaluation1.action=GET
PolicyTests0.evaluation1.expectedResult=true
PolicyTests0.evaluation1.description=Access should be allowed (valid user group user)

PolicyTests0.evaluation2.resource=PolicyGlobal.resource0
PolicyTests0.evaluation2.username=PolicyTests0.identity5.name
PolicyTests0.evaluation2.password=PolicyTests0.identity5.name
PolicyTests0.evaluation2.noOfEnvParamSet=0
PolicyTests0.evaluation2.action=GET
PolicyTests0.evaluation2.expectedResult=true
PolicyTests0.evaluation2.description=Access should be allowed (valid role user)

####### Testcases for Policy1 #############
PolicyTests0.evaluation3.resource=PolicyGlobal.resource1
PolicyTests0.evaluation3.username=PolicyTests0.identity7.name
PolicyTests0.evaluation3.password=PolicyTests0.identity7.name
PolicyTests0.evaluation3.noOfEnvParamSet=0
PolicyTests0.evaluation3.action=GET
PolicyTests0.evaluation3.expectedResult=true
PolicyTests0.evaluation3.description=Access should be allowed  AuthenticatedUsers Subject

PolicyTests0.evaluation4.resource=PolicyGlobal.resource0
PolicyTests0.evaluation4.username=PolicyTests0.identity8.name
PolicyTests0.evaluation4.password=PolicyTests0.identity8.name
PolicyTests0.evaluation4.noOfEnvParamSet=0
PolicyTests0.evaluation4.action=GET
PolicyTests0.evaluation4.expectedResult=true
PolicyTests0.evaluation4.description=Access should be allowed)

PolicyTests0.evaluation5.resource=PolicyGlobal.resource0
PolicyTests0.evaluation5.username=PolicyTests0.identity9.name
PolicyTests0.evaluation5.password=PolicyTests0.identity9.name
PolicyTests0.evaluation5.noOfEnvParamSet=0
PolicyTests0.evaluation5.action=GET
PolicyTests0.evaluation5.expectedResult=true
PolicyTests0.evaluation5.description=Access should be allowed 
PolicyTests0.evaluation6.resource=PolicyGlobal.resource0
PolicyTests0.evaluation6.username=PolicyTests0.identity10.name
PolicyTests0.evaluation6.password=PolicyTests0.identity10.name
PolicyTests0.evaluation6.noOfEnvParamSet=0
PolicyTests0.evaluation6.action=GET
PolicyTests0.evaluation6.expectedResult=false
PolicyTests0.evaluation6.description=Access should be denied

PolicyTests0.evaluation7.resource=PolicyGlobal.resource0
PolicyTests0.evaluation7.username=PolicyTests0.identity12.name
PolicyTests0.evaluation7.password=PolicyTests0.identity12.name
PolicyTests0.evaluation7.noOfEnvParamSet=0
PolicyTests0.evaluation7.action=GET
PolicyTests0.evaluation7.expectedResult=false
PolicyTests0.evaluation7.description=Access should be denied (invalid subject)

PolicyTests0.evaluation8.resource=PolicyGlobal.resource0
PolicyTests0.evaluation8.username=PolicyTests0.identity14.name
PolicyTests0.evaluation8.password=PolicyTests0.identity14.name
PolicyTests0.evaluation8.noOfEnvParamSet=0
PolicyTests0.evaluation8.action=GET
PolicyTests0.evaluation8.expectedResult=false
PolicyTests0.evaluation8.description=Access should be denied (invalid subject

###############################################################################
# ATTRIBUTES FOR POLICY TEST 1 == LDAPFilter Condition Test
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy
###############################################################################
PolicyTests1.noOfIdentities=6

PolicyTests1.identity0.name=test0
PolicyTests1.identity0.type=User
PolicyTests1.identity0.attributes=sn=test0,cn=test0,userpassword=test0,inetuserstatus=Active,postaladdress=sanjose
PolicyTests1.identity0.isMemberOf=no
PolicyTests1.identity0.hasSessionAttributes=false
PolicyTests1.identity1.name=lfltruser0
PolicyTests1.identity1.type=User
PolicyTests1.identity1.attributes=sn=lfltruser0,cn=lfltruser0,userpassword=lfltruser0,inetuserstatus=Active,postaladdress=sanjose
PolicyTests1.identity1.isMemberOf=no
PolicyTests1.identity1.hasSessionAttributes=false
PolicyTests1.identity2.name=lfltruser1
PolicyTests1.identity2.type=User
PolicyTests1.identity2.attributes=sn=lfltruser1,cn=lfltruser1,userpassword=lfltruser1,inetuserstatus=Active,postaladdress=evergreen
PolicyTests1.identity2.isMemberOf=no
PolicyTests1.identity2.hasSessionAttributes=false
PolicyTests1.identity3.name=lfltruser2
PolicyTests1.identity3.type=User
PolicyTests1.identity3.attributes=sn=lfltruser2,cn=lfltruser2,userpassword=lfltruser2,inetuserstatus=Active,postaladdress=fremont
PolicyTests1.identity3.isMemberOf=no
PolicyTests1.identity3.hasSessionAttributes=false
PolicyTests1.identity4.name=lfltrPositive
PolicyTests1.identity4.type=User
PolicyTests1.identity4.attributes=sn=lfltrPositive,cn=lfltrPositive,userpassword=lfltrPositive,inetuserstatus=Active,postaladdress=india
PolicyTests1.identity4.isMemberOf=no
PolicyTests1.identity4.hasSessionAttributes=false
PolicyTests1.identity5.name=lfltrNegative
PolicyTests1.identity5.type=User
PolicyTests1.identity5.attributes=sn=lfltrNegative,cn=lfltrNegative,userpassword=lfltrNegative,inetuserstatus=Active,postaladdress=india
PolicyTests1.identity5.isMemberOf=no
PolicyTests1.identity5.hasSessionAttributes=false

PolicyTests1.noOfPolicies=3

PolicyTests1.policy0.name=policy10
PolicyTests1.policy0.description=ldapfilter test1
PolicyTests1.policy0.referral=false
PolicyTests1.policy0.active=true

PolicyTests1.policy0.noOfRules=1
PolicyTests1.policy0.rule0.name=rule0
PolicyTests1.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests1.policy0.rule0.resource=PolicyGlobal.resource17
PolicyTests1.policy0.rule0.noOfActions=2
PolicyTests1.policy0.rule0.action0=GET=allow
PolicyTests1.policy0.rule0.action1=POST=allow

PolicyTests1.policy0.noOfSubjects=2
PolicyTests1.policy0.subject0.type=LDAPUsers
PolicyTests1.policy0.subject0.name=LDAPUser firstfluser
PolicyTests1.policy0.subject0.includeType=inclusive
PolicyTests1.policy0.subject0.noOfAttributes=1
PolicyTests1.policy0.subject0.att0=Values=PolicyTests1.identity0
PolicyTests1.policy0.subject1.type=LDAPUsers
PolicyTests1.policy0.subject1.name=LDAPUser secondfluser
PolicyTests1.policy0.subject1.includeType=inclusive
PolicyTests1.policy0.subject1.noOfAttributes=1
PolicyTests1.policy0.subject1.att0=Values=PolicyTests1.identity2

PolicyTests1.policy0.noOfConditions=1
PolicyTests1.policy0.condition0.type=LDAPFilterCondition
PolicyTests1.policy0.condition0.name=ldapfilterCondition with multivalue
PolicyTests1.policy0.condition0.noOfAttributes=1
PolicyTests1.policy0.condition0.att0=ldapFilter=sn=test0

PolicyTests1.policy0.noOfResponseProviders=0

PolicyTests1.policy1.name=policy11
PolicyTests1.policy1.description=ldap filter test
PolicyTests1.policy1.referral=false
PolicyTests1.policy1.active=true

PolicyTests1.policy1.noOfRules=1
PolicyTests1.policy1.rule0.name=rule0
PolicyTests1.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests1.policy1.rule0.resource=PolicyGlobal.resource2
PolicyTests1.policy1.rule0.noOfActions=2
PolicyTests1.policy1.rule0.action0=GET=allow
PolicyTests1.policy1.rule0.action1=POST=allow

PolicyTests1.policy1.noOfSubjects=2
PolicyTests1.policy1.subject0.type=LDAPUsers
PolicyTests1.policy1.subject0.name=ldapuser for filter test
PolicyTests1.policy1.subject0.includeType=inclusive
PolicyTests1.policy1.subject0.noOfAttributes=1
PolicyTests1.policy1.subject0.att0=Values=PolicyTests1.identity1
PolicyTests1.policy1.subject1.type=LDAPUsers
PolicyTests1.policy1.subject1.name=second ldapuser for filter test
PolicyTests1.policy1.subject1.includeType=inclusive
PolicyTests1.policy1.subject1.noOfAttributes=1
PolicyTests1.policy1.subject1.att0=Values=PolicyTests1.identity3

PolicyTests1.policy1.noOfConditions=1
PolicyTests1.policy1.condition0.type=LDAPFilterCondition
PolicyTests1.policy1.condition0.name=ldapfilterConditionTest
PolicyTests1.policy1.condition0.noOfAttributes=1
PolicyTests1.policy1.condition0.att0=ldapFilter=postaladdress=sanjose

PolicyTests1.policy1.noOfResponseProviders=0

PolicyTests1.policy2.name=policy12
PolicyTests1.policy2.description=ldap filter test for multi value
PolicyTests1.policy2.referral=false
PolicyTests1.policy2.active=true

PolicyTests1.policy2.noOfRules=1
PolicyTests1.policy2.rule0.name=rule0
PolicyTests1.policy2.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests1.policy2.rule0.resource=PolicyGlobal.resource8
PolicyTests1.policy2.rule0.noOfActions=2
PolicyTests1.policy2.rule0.action0=GET=allow
PolicyTests1.policy2.rule0.action1=POST=allow

PolicyTests1.policy2.noOfSubjects=2
PolicyTests1.policy2.subject0.type=LDAPUsers
PolicyTests1.policy2.subject0.name=ldapuser for filter test
PolicyTests1.policy2.subject0.includeType=inclusive
PolicyTests1.policy2.subject0.noOfAttributes=1
PolicyTests1.policy2.subject0.att0=Values=PolicyTests1.identity4
PolicyTests1.policy2.subject1.type=LDAPUsers
PolicyTests1.policy2.subject1.name=second ldapuser for filter test
PolicyTests1.policy2.subject1.includeType=inclusive
PolicyTests1.policy2.subject1.noOfAttributes=1
PolicyTests1.policy2.subject1.att0=Values=PolicyTests1.identity5

PolicyTests1.policy2.noOfConditions=1
PolicyTests1.policy2.condition0.type=LDAPFilterCondition
PolicyTests1.policy2.condition0.name=ldapfilterConditionTest
PolicyTests1.policy2.condition0.noOfAttributes=1
PolicyTests1.policy2.condition0.att0=ldapFilter=(&amp;(sn=lfltrPos*)(postaladdress=india))

PolicyTests1.policy2.noOfResponseProviders=0

############ Testcases for policy 0 ###############
PolicyTests1.evaluation0.resource=PolicyGlobal.resource17
PolicyTests1.evaluation0.username=PolicyTests1.identity0.name
PolicyTests1.evaluation0.password=PolicyTests1.identity0.name
PolicyTests1.evaluation0.noOfEnvParamSet=0
PolicyTests1.evaluation0.expectedResult=true
PolicyTests1.evaluation0.action=GET
PolicyTests1.evaluation0.description=Access should be allowed as filter mismatch with sn

PolicyTests1.evaluation1.resource=PolicyGlobal.resource17
PolicyTests1.evaluation1.username=PolicyTests1.identity2.name
PolicyTests1.evaluation1.password=PolicyTests1.identity2.name
PolicyTests1.evaluation1.noOfEnvParamSet=0
PolicyTests1.evaluation1.expectedResult=false
PolicyTests1.evaluation1.action=GET
PolicyTests1.evaluation1.description=Access should not be allowed as filter mismatch with sn

########## Testcases for Policy1 ###################
PolicyTests1.evaluation2.resource=PolicyGlobal.resource2
PolicyTests1.evaluation2.username=PolicyTests1.identity1.name
PolicyTests1.evaluation2.password=PolicyTests1.identity1.name
PolicyTests1.evaluation2.noOfEnvParamSet=0
PolicyTests1.evaluation2.action=GET
PolicyTests1.evaluation2.expectedResult=true
PolicyTests1.evaluation2.description=Access should be allowed as single value filter match

PolicyTests1.evaluation3.resource=PolicyGlobal.resource2
PolicyTests1.evaluation3.username=PolicyTests1.identity3.name
PolicyTests1.evaluation3.password=PolicyTests1.identity3.name
PolicyTests1.evaluation3.noOfEnvParamSet=0
PolicyTests1.evaluation3.action=GET
PolicyTests1.evaluation3.expectedResult=false
PolicyTests1.evaluation3.description=Access should be denied as single value filter mismatch

############ Test for policy 2 ###############
PolicyTests1.evaluation4.resource=PolicyGlobal.resource8
PolicyTests1.evaluation4.username=PolicyTests1.identity4.name
PolicyTests1.evaluation4.password=PolicyTests1.identity4.name
PolicyTests1.evaluation4.noOfEnvParamSet=0
PolicyTests1.evaluation4.action=GET
PolicyTests1.evaluation4.expectedResult=true
PolicyTests1.evaluation4.description=Access should be allowed as multi value filter match

PolicyTests1.evaluation5.resource=PolicyGlobal.resource8
PolicyTests1.evaluation5.username=PolicyTests1.identity5.name
PolicyTests1.evaluation5.password=PolicyTests1.identity5.name
PolicyTests1.evaluation5.noOfEnvParamSet=0
PolicyTests1.evaluation5.action=GET
PolicyTests1.evaluation5.expectedResult=false
PolicyTests1.evaluation5.description=Access should be denied as multi value filter mismatch

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 2== Realm qualified and non qualified auth conditions
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy 
##################################################################################################################
PolicyTests2.noOfIdentities=11

PolicyTests2.identity0.name=group1
PolicyTests2.identity0.type=Group
PolicyTests2.identity0.attributes=
PolicyTests2.identity0.isMemberOf=no
PolicyTests2.identity0.hasSessionAttributes=false
PolicyTests2.identity1.name=group2
PolicyTests2.identity1.type=Group
PolicyTests2.identity1.attributes=
PolicyTests2.identity1.isMemberOf=no
PolicyTests2.identity1.hasSessionAttributes=false
PolicyTests2.identity2.name=role1
PolicyTests2.identity2.type=Role
PolicyTests2.identity2.attributes=
PolicyTests2.identity2.isMemberOf=no
PolicyTests2.identity2.hasSessionAttributes=false
PolicyTests2.identity3.name=role2
PolicyTests2.identity3.type=Role
PolicyTests2.identity3.attributes=
PolicyTests2.identity3.isMemberOf=no
PolicyTests2.identity4.name=user0
PolicyTests2.identity4.type=User
PolicyTests2.identity4.attributes=sn=user0,cn=user0,userpassword=user0,inetuserstatus=Active
PolicyTests2.identity4.isMemberOf=no
PolicyTests2.identity4.hasSessionAttributes=false
PolicyTests2.identity5.name=roleuser1
PolicyTests2.identity5.type=User
PolicyTests2.identity5.attributes=sn=roleuser1,cn=roleuser1,userpassword=roleuser1,inetuserstatus=Active
PolicyTests2.identity5.isMemberOf=yes
PolicyTests2.identity5.memberOf=PolicyTests2.identity2
PolicyTests2.identity5.hasSessionAttributes=false
PolicyTests2.identity6.name=groupuser1
PolicyTests2.identity6.type=User
PolicyTests2.identity6.attributes=sn=groupuser1,cn=groupuser1,userpassword=groupuser1,inetuserstatus=Active
PolicyTests2.identity6.isMemberOf=yes
PolicyTests2.identity6.memberOf=PolicyTests2.identity0
PolicyTests2.identity6.hasSessionAttributes=false
PolicyTests2.identity7.name=user1
PolicyTests2.identity7.type=User
PolicyTests2.identity7.attributes=sn=user1,cn=user1,userpassword=user1,inetuserstatus=Active
PolicyTests2.identity7.isMemberOf=no
PolicyTests2.identity7.hasSessionAttributes=false
PolicyTests2.identity8.name=groupuser2
PolicyTests2.identity8.type=User
PolicyTests2.identity8.attributes=sn=groupuser2,cn=groupuser2,userpassword=groupuser2,inetuserstatus=Active
PolicyTests2.identity8.isMemberOf=yes
PolicyTests2.identity8.memberOf=PolicyTests2.identity1
PolicyTests2.identity8.hasSessionAttributes=false
PolicyTests2.identity9.name=roleuser2
PolicyTests2.identity9.type=User
PolicyTests2.identity9.attributes=sn=roleuser2,cn=roleuser2,userpassword=roleuser2,inetuserstatus=Active
PolicyTests2.identity9.isMemberOf=yes
PolicyTests2.identity9.memberOf=PolicyTests2.identity3
PolicyTests2.identity9.hasSessionAttributes=false
PolicyTests2.identity10.name=user2
PolicyTests2.identity10.type=User
PolicyTests2.identity10.attributes=sn=user2,cn=user2,userpassword=user2,inetuserstatus=Active
PolicyTests2.identity10.isMemberOf=no
PolicyTests2.identity10.hasSessionAttributes=false

PolicyTests2.noOfPolicies=7

PolicyTests2.policy0.name=AuthPolicy00
PolicyTests2.policy0.description=subject test 0
PolicyTests2.policy0.referral=false
PolicyTests2.policy0.active=true

PolicyTests2.policy0.noOfRules=1
PolicyTests2.policy0.rule0.name=rule0
PolicyTests2.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy0.rule0.resource=PolicyGlobal.resource0
PolicyTests2.policy0.rule0.noOfActions=2
PolicyTests2.policy0.rule0.action0=GET=allow
PolicyTests2.policy0.rule0.action1=POST=allow

PolicyTests2.policy0.noOfSubjects=3
PolicyTests2.policy0.subject0.type=AMIdentitySubject
PolicyTests2.policy0.subject0.name=AmidUser
PolicyTests2.policy0.subject0.includeType=inclusive
PolicyTests2.policy0.subject0.noOfAttributes=1
PolicyTests2.policy0.subject0.att0=Values=PolicyTests2.identity4
PolicyTests2.policy0.subject1.type=AMIdentitySubject
PolicyTests2.policy0.subject1.name=AmidGroup
PolicyTests2.policy0.subject1.includeType=inclusive
PolicyTests2.policy0.subject1.noOfAttributes=1
PolicyTests2.policy0.subject1.att0=Values=PolicyTests2.identity0
PolicyTests2.policy0.subject2.type=AMIdentitySubject
PolicyTests2.policy0.subject2.name=AmidRole
PolicyTests2.policy0.subject2.includeType=inclusive
PolicyTests2.policy0.subject2.noOfAttributes=1
PolicyTests2.policy0.subject2.att0=Values=PolicyTests2.identity2

PolicyTests2.policy0.noOfConditions=1
PolicyTests2.policy0.condition0.type=LEAuthLevelCondition
PolicyTests2.policy0.condition0.name=leAuthLevelCondition_nonrelamQualified
PolicyTests2.policy0.condition0.noOfAttributes=1
PolicyTests2.policy0.condition0.att0=AuthLevel=4

PolicyTests2.policy0.noOfResponseProviders=0

PolicyTests2.policy1.name=policyLeAuthlevelrealmqualified
PolicyTests2.policy1.description=subject test 1
PolicyTests2.policy1.referral=false
PolicyTests2.policy1.active=true

PolicyTests2.policy1.noOfRules=1
PolicyTests2.policy1.rule0.name=rule0
PolicyTests2.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy1.rule0.resource=PolicyGlobal.resource1
PolicyTests2.policy1.rule0.noOfActions=2
PolicyTests2.policy1.rule0.action0=GET=allow
PolicyTests2.policy1.rule0.action1=POST=allow

PolicyTests2.policy1.noOfSubjects=1
PolicyTests2.policy1.subject0.type=AMIdentitySubject
PolicyTests2.policy1.subject0.name=AmidGroup
PolicyTests2.policy1.subject0.includeType=inclusive
PolicyTests2.policy1.subject0.noOfAttributes=1
PolicyTests2.policy1.subject0.att0=Values=PolicyTests2.identity6

PolicyTests2.policy1.noOfConditions=1
PolicyTests2.policy1.condition0.type=LEAuthLevelCondition
PolicyTests2.policy1.condition0.name=leAuthLevelCondition_relamQualified
PolicyTests2.policy1.condition0.noOfAttributes=1
PolicyTests2.policy1.condition0.att0=AuthLevel=/:4

PolicyTests2.policy1.noOfResponseProviders=0

PolicyTests2.policy2.name=policyAuthlevelrealmqualified
PolicyTests2.policy2.description=subject test 1
PolicyTests2.policy2.referral=false
PolicyTests2.policy2.active=true

PolicyTests2.policy2.noOfRules=1
PolicyTests2.policy2.rule0.name=rule0
PolicyTests2.policy2.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy2.rule0.resource=PolicyGlobal.resource2
PolicyTests2.policy2.rule0.noOfActions=2
PolicyTests2.policy2.rule0.action0=GET=allow
PolicyTests2.policy2.rule0.action1=POST=allow

PolicyTests2.policy2.noOfSubjects=1
PolicyTests2.policy2.subject0.type=AMIdentitySubject
PolicyTests2.policy2.subject0.name=AmidRole
PolicyTests2.policy2.subject0.includeType=inclusive
PolicyTests2.policy2.subject0.noOfAttributes=1
PolicyTests2.policy2.subject0.att0=Values=PolicyTests2.identity5

PolicyTests2.policy2.noOfConditions=1
PolicyTests2.policy2.condition0.type=AuthLevelCondition
PolicyTests2.policy2.condition0.name=AuthLevelCondition_relamQualified
PolicyTests2.policy2.condition0.noOfAttributes=1
PolicyTests2.policy2.condition0.att0=AuthLevel=/:5

PolicyTests2.policy2.noOfResponseProviders=0

PolicyTests2.policy3.name=policyAuthenticateToServiceCondition_realmq
PolicyTests2.policy3.description=subject test 1
PolicyTests2.policy3.referral=false
PolicyTests2.policy3.active=true

PolicyTests2.policy3.noOfRules=1
PolicyTests2.policy3.rule0.name=rule0
PolicyTests2.policy3.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy3.rule0.resource=PolicyGlobal.resource3
PolicyTests2.policy3.rule0.noOfActions=2
PolicyTests2.policy3.rule0.action0=GET=allow
PolicyTests2.policy3.rule0.action1=POST=allow

PolicyTests2.policy3.noOfSubjects=1
PolicyTests2.policy3.subject0.type=AMIdentitySubject
PolicyTests2.policy3.subject0.name=AmidUser10
PolicyTests2.policy3.subject0.includeType=inclusive
PolicyTests2.policy3.subject0.noOfAttributes=1
PolicyTests2.policy3.subject0.att0=Values=PolicyTests2.identity10

PolicyTests2.policy3.noOfConditions=1
PolicyTests2.policy3.condition0.type=AuthenticateToServiceCondition
PolicyTests2.policy3.condition0.name=AuthenticateToServiceCondition_realmqualified
PolicyTests2.policy3.condition0.noOfAttributes=1
PolicyTests2.policy3.condition0.att0=AuthenticateToService=/:ldapService

PolicyTests2.policy3.noOfResponseProviders=0

PolicyTests2.policy4.name=policyAuthenticateToServiceCondition_nonrealm
PolicyTests2.policy4.description=subject test 1
PolicyTests2.policy4.referral=false
PolicyTests2.policy4.active=true

PolicyTests2.policy4.noOfRules=1
PolicyTests2.policy4.rule0.name=rule0
PolicyTests2.policy4.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy4.rule0.resource=PolicyGlobal.resource4
PolicyTests2.policy4.rule0.noOfActions=2
PolicyTests2.policy4.rule0.action0=GET=allow
PolicyTests2.policy4.rule0.action1=POST=allow

PolicyTests2.policy4.noOfSubjects=1
PolicyTests2.policy4.subject0.type=AMIdentitySubject
PolicyTests2.policy4.subject0.name=AmidUser9
PolicyTests2.policy4.subject0.includeType=inclusive
PolicyTests2.policy4.subject0.noOfAttributes=1
PolicyTests2.policy4.subject0.att0=Values=PolicyTests2.identity9

PolicyTests2.policy4.noOfConditions=1
PolicyTests2.policy4.condition0.type=AuthenticateToServiceCondition
PolicyTests2.policy4.condition0.name=AuthenticateToServiceCondition_realmqualified
PolicyTests2.policy4.condition0.noOfAttributes=1
PolicyTests2.policy4.condition0.att0=AuthenticateToService=ldapService

PolicyTests2.policy4.noOfResponseProviders=0

PolicyTests2.policy5.name=policy_AuthenticateToRealmCondition
PolicyTests2.policy5.description=subject test 1
PolicyTests2.policy5.referral=false
PolicyTests2.policy5.active=true

PolicyTests2.policy5.noOfRules=1
PolicyTests2.policy5.rule0.name=rule0
PolicyTests2.policy5.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy5.rule0.resource=PolicyGlobal.resource5
PolicyTests2.policy5.rule0.noOfActions=2
PolicyTests2.policy5.rule0.action0=GET=allow
PolicyTests2.policy5.rule0.action1=POST=allow

PolicyTests2.policy5.noOfSubjects=1
PolicyTests2.policy5.subject0.type=AMIdentitySubject
PolicyTests2.policy5.subject0.name=AmidUser8
PolicyTests2.policy5.subject0.includeType=inclusive
PolicyTests2.policy5.subject0.noOfAttributes=1
PolicyTests2.policy5.subject0.att0=Values=PolicyTests2.identity8

PolicyTests2.policy5.noOfConditions=1
PolicyTests2.policy5.condition0.type=AuthenticateToRealmCondition
PolicyTests2.policy5.condition0.name=AuthenticateToRealmConditionTest
PolicyTests2.policy5.condition0.noOfAttributes=1
PolicyTests2.policy5.condition0.att0=AuthenticateToRealm=mytestrealm
PolicyTests2.policy5.noOfResponseProviders=0

PolicyTests2.policy6.name=policy_AuthSchemeRealmQualified
PolicyTests2.policy6.description=AuthSchemeRealmQualified test 1
PolicyTests2.policy6.referral=false
PolicyTests2.policy6.active=true

PolicyTests2.policy6.noOfRules=1
PolicyTests2.policy6.rule0.name=rule0
PolicyTests2.policy6.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests2.policy6.rule0.resource=PolicyGlobal.resource6
PolicyTests2.policy6.rule0.noOfActions=2
PolicyTests2.policy6.rule0.action0=GET=allow
PolicyTests2.policy6.rule0.action1=POST=allow

PolicyTests2.policy6.noOfSubjects=1
PolicyTests2.policy6.subject0.type=AMIdentitySubject
PolicyTests2.policy6.subject0.name=AmidUser7
PolicyTests2.policy6.subject0.includeType=inclusive
PolicyTests2.policy6.subject0.noOfAttributes=1
PolicyTests2.policy6.subject0.att0=Values=PolicyTests2.identity7

PolicyTests2.policy6.noOfConditions=1
PolicyTests2.policy6.condition0.type=AuthSchemeCondition
PolicyTests2.policy6.condition0.name=AuthSchemeRealmQualifiedCondition
PolicyTests2.policy6.condition0.noOfAttributes=1
PolicyTests2.policy6.condition0.att0=AuthScheme=r1:DataStore
PolicyTests2.policy6.noOfResponseProviders=0

############ Test for policy 0 ############### 
PolicyTests2.evaluation0.resource=PolicyGlobal.resource0
PolicyTests2.evaluation0.username=PolicyTests2.identity4.name
PolicyTests2.evaluation0.password=PolicyTests2.identity4.name
PolicyTests2.evaluation0.noOfEnvParamSet=1
PolicyTests2.evaluation0.envParamSet0.type=requestAuthLevel
PolicyTests2.evaluation0.envParamSet0.noOfValues=1
PolicyTests2.evaluation0.envParamSet0.val0=3
PolicyTests2.evaluation0.action=GET
PolicyTests2.evaluation0.expectedResult=true
PolicyTests2.evaluation0.description=Access should be allowed as per policy condition definition with request auth level 6
############ Test for policy 1 ###############
PolicyTests2.evaluation1.resource=PolicyGlobal.resource1
PolicyTests2.evaluation1.username=PolicyTests2.identity6.name
PolicyTests2.evaluation1.password=PolicyTests2.identity6.name
PolicyTests2.evaluation1.noOfEnvParamSet=1
PolicyTests2.evaluation1.envParamSet0.type=requestAuthLevel
PolicyTests2.evaluation1.envParamSet0.noOfValues=1
PolicyTests2.evaluation1.envParamSet0.val0=/:3
PolicyTests2.evaluation1.action=GET
PolicyTests2.evaluation1.expectedResult=true
PolicyTests2.evaluation1.description=Access should be allowed as per policy condition definition with request auth level with realm qualified 

PolicyTests2.evaluation2.resource=PolicyGlobal.resource1
PolicyTests2.evaluation2.username=PolicyTests2.identity6.name
PolicyTests2.evaluation2.password=PolicyTests2.identity6.name
PolicyTests2.evaluation2.noOfEnvParamSet=1
PolicyTests2.evaluation2.envParamSet0.type=requestAuthLevel
PolicyTests2.evaluation2.envParamSet0.noOfValues=1
PolicyTests2.evaluation2.envParamSet0.val0=realm:3
PolicyTests2.evaluation2.action=GET
PolicyTests2.evaluation2.expectedResult=false
PolicyTests2.evaluation2.description=Access should be denied as qualified realm is a mismatch
###### Testcases for Policy2 ##########################
PolicyTests2.evaluation3.resource=PolicyGlobal.resource2
PolicyTests2.evaluation3.username=PolicyTests2.identity5.name
PolicyTests2.evaluation3.password=PolicyTests2.identity5.name
PolicyTests2.evaluation3.noOfEnvParamSet=1
PolicyTests2.evaluation3.envParamSet0.type=requestAuthLevel
PolicyTests2.evaluation3.envParamSet0.noOfValues=1
PolicyTests2.evaluation3.envParamSet0.val0=/:6
PolicyTests2.evaluation3.action=GET
PolicyTests2.evaluation3.expectedResult=true
PolicyTests2.evaluation3.description=Access should be allowed realm and authlevel is greater than condition

PolicyTests2.evaluation4.resource=PolicyGlobal.resource2
PolicyTests2.evaluation4.username=PolicyTests2.identity5.name
PolicyTests2.evaluation4.password=PolicyTests2.identity5.name
PolicyTests2.evaluation4.noOfEnvParamSet=1
PolicyTests2.evaluation4.envParamSet0.type=requestAuthLevel
PolicyTests2.evaluation4.envParamSet0.noOfValues=1
PolicyTests2.evaluation4.envParamSet0.val0=myrealm:6
PolicyTests2.evaluation4.action=GET
PolicyTests2.evaluation4.expectedResult=false
PolicyTests2.evaluation4.description=Access should be denied as realm mismatch and authlevel is greater than condition

###### Testcases for Policy3 ##########################
PolicyTests2.evaluation5.resource=PolicyGlobal.resource3
PolicyTests2.evaluation5.username=PolicyTests2.identity10.name
PolicyTests2.evaluation5.password=PolicyTests2.identity10.name
PolicyTests2.evaluation5.noOfEnvParamSet=1
PolicyTests2.evaluation5.envParamSet0.type=requestAuthenticatedToServices
PolicyTests2.evaluation5.envParamSet0.noOfValues=1
PolicyTests2.evaluation5.envParamSet0.val0=/:ldapService
PolicyTests2.evaluation5.action=GET
PolicyTests2.evaluation5.expectedResult=true
PolicyTests2.evaluation5.description=Access should be allowed as service match with realm qualified

PolicyTests2.evaluation6.resource=PolicyGlobal.resource3
PolicyTests2.evaluation6.username=PolicyTests2.identity10.name
PolicyTests2.evaluation6.password=PolicyTests2.identity10.name
PolicyTests2.evaluation6.noOfEnvParamSet=1
PolicyTests2.evaluation6.envParamSet0.type=requestAuthenticatedToServices
PolicyTests2.evaluation6.envParamSet0.noOfValues=1
PolicyTests2.evaluation6.envParamSet0.val0=relam10:ldapService
PolicyTests2.evaluation6.action=GET
PolicyTests2.evaluation6.expectedResult=false
PolicyTests2.evaluation6.description=Access should be denied as mismatch of the realm

###### Testcases for Policy4 ##########################
PolicyTests2.evaluation7.resource=PolicyGlobal.resource4
PolicyTests2.evaluation7.username=PolicyTests2.identity9.name
PolicyTests2.evaluation7.password=PolicyTests2.identity9.name
PolicyTests2.evaluation7.noOfEnvParamSet=1
PolicyTests2.evaluation7.envParamSet0.type=requestAuthenticatedToServices
PolicyTests2.evaluation7.envParamSet0.noOfValues=1
PolicyTests2.evaluation7.envParamSet0.val0=ldapService
PolicyTests2.evaluation7.action=GET
PolicyTests2.evaluation7.expectedResult=true
PolicyTests2.evaluation7.description=Access should be allowed as match of service name

PolicyTests2.evaluation8.resource=PolicyGlobal.resource4
PolicyTests2.evaluation8.username=PolicyTests2.identity9.name
PolicyTests2.evaluation8.password=PolicyTests2.identity9.name
PolicyTests2.evaluation8.noOfEnvParamSet=1
PolicyTests2.evaluation8.envParamSet0.type=requestAuthenticatedToServices
PolicyTests2.evaluation8.envParamSet0.noOfValues=1
PolicyTests2.evaluation8.envParamSet0.val0=testldapService
PolicyTests2.evaluation8.action=GET
PolicyTests2.evaluation8.expectedResult=false
PolicyTests2.evaluation8.description=Access should be denied as mismatch of service name

###### Testcases for Policy5 ##########################
PolicyTests2.evaluation9.resource=PolicyGlobal.resource5
PolicyTests2.evaluation9.username=PolicyTests2.identity8.name
PolicyTests2.evaluation9.password=PolicyTests2.identity8.name
PolicyTests2.evaluation9.noOfEnvParamSet=1
PolicyTests2.evaluation9.envParamSet0.type=requestAuthenticatedToRealms
PolicyTests2.evaluation9.envParamSet0.noOfValues=1
PolicyTests2.evaluation9.envParamSet0.val0=mytestrealm
PolicyTests2.evaluation9.action=GET
PolicyTests2.evaluation9.expectedResult=true
PolicyTests2.evaluation9.description=Access should be allowed as match of service name

PolicyTests2.evaluation10.resource=PolicyGlobal.resource5
PolicyTests2.evaluation10.username=PolicyTests2.identity8.name
PolicyTests2.evaluation10.password=PolicyTests2.identity8.name
PolicyTests2.evaluation10.noOfEnvParamSet=1
PolicyTests2.evaluation10.envParamSet0.type=requestAuthenticatedToRealms
PolicyTests2.evaluation10.envParamSet0.noOfValues=1
PolicyTests2.evaluation10.envParamSet0.val0=differentrealm
PolicyTests2.evaluation10.action=GET
PolicyTests2.evaluation10.expectedResult=false
PolicyTests2.evaluation10.description=Access should be denied as mismatch of service name

###### Testcases for Policy6 ##########################
PolicyTests2.evaluation11.resource=PolicyGlobal.resource6
PolicyTests2.evaluation11.username=PolicyTests2.identity7.name
PolicyTests2.evaluation11.password=PolicyTests2.identity7.name
PolicyTests2.evaluation11.noOfEnvParamSet=1
PolicyTests2.evaluation11.envParamSet0.type=requestAuthSchemes
PolicyTests2.evaluation11.envParamSet0.noOfValues=1
PolicyTests2.evaluation11.envParamSet0.val0=r1:DataStore
PolicyTests2.evaluation11.action=GET
PolicyTests2.evaluation11.expectedResult=true
PolicyTests2.evaluation11.description=Access should be allowed as match of service name

PolicyTests2.evaluation12.resource=PolicyGlobal.resource6
PolicyTests2.evaluation12.username=PolicyTests2.identity7.name
PolicyTests2.evaluation12.password=PolicyTests2.identity7.name
PolicyTests2.evaluation12.noOfEnvParamSet=1
PolicyTests2.evaluation12.envParamSet0.type=requestAuthSchemes
PolicyTests2.evaluation12.envParamSet0.noOfValues=1
PolicyTests2.evaluation12.envParamSet0.val0=realm100:DataStore
PolicyTests2.evaluation12.action=GET
PolicyTests2.evaluation12.expectedResult=false
PolicyTests2.evaluation12.description=Access should be denied as mismatch of service name

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 3 === AMIdentity subject exclusive 
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy
##################################################################################################################
PolicyTests3.noOfIdentities=8

PolicyTests3.identity0.name=testgroup1
PolicyTests3.identity0.type=Group
PolicyTests3.identity0.attributes=
PolicyTests3.identity0.isMemberOf=no
PolicyTests3.identity0.hasSessionAttributes=false
PolicyTests3.identity1.name=testrole1
PolicyTests3.identity1.type=Role
PolicyTests3.identity1.attributes=
PolicyTests3.identity1.isMemberOf=no
PolicyTests3.identity1.hasSessionAttributes=false
PolicyTests3.identity2.name=includeuser0
PolicyTests3.identity2.type=User
PolicyTests3.identity2.attributes=sn=includeuser0,cn=includeuser0,userpassword=includeuser0,inetuserstatus=Active
PolicyTests3.identity2.isMemberOf=no
PolicyTests3.identity2.hasSessionAttributes=false
PolicyTests3.identity3.name=excludeuser0
PolicyTests3.identity3.type=User
PolicyTests3.identity3.attributes=sn=excludeuser0,cn=excludeuser0,userpassword=excludeuser0,inetuserstatus=Active
PolicyTests3.identity3.isMemberOf=no
PolicyTests3.identity3.hasSessionAttributes=false
PolicyTests3.identity4.name=testroleuser1
PolicyTests3.identity4.type=User
PolicyTests3.identity4.attributes=sn=testroleuser1,cn=testroleuser1,userpassword=testroleuser1,inetuserstatus=Active
PolicyTests3.identity4.isMemberOf=yes
PolicyTests3.identity4.memberOf=PolicyTests3.identity1
PolicyTests3.identity4.hasSessionAttributes=false
PolicyTests3.identity5.name=testuser2
PolicyTests3.identity5.type=User
PolicyTests3.identity5.isMemberOf=no
PolicyTests3.identity5.attributes=sn=testuser2,cn=testuser2,userpassword=testuser2,inetuserstatus=Active
PolicyTests3.identity5.hasSessionAttributes=false
PolicyTests3.identity6.name=testgroupuser1
PolicyTests3.identity6.type=User
PolicyTests3.identity6.attributes=sn=testgroupuser1,cn=testgroupuser1,userpassword=testgroupuser1,inetuserstatus=Active
PolicyTests3.identity6.isMemberOf=yes
PolicyTests3.identity6.memberOf=PolicyTests3.identity0
PolicyTests3.identity6.hasSessionAttributes=false
PolicyTests3.identity7.name=testuser3
PolicyTests3.identity7.type=User
PolicyTests3.identity7.attributes=sn=testuser3,cn=testuser3,userpassword=testuser3,inetuserstatus=Active
PolicyTests3.identity7.isMemberOf=no
PolicyTests3.identity7.hasSessionAttributes=false

PolicyTests3.noOfPolicies=3

PolicyTests3.policy0.name=AMIdentitySubjectExclusiveTest
PolicyTests3.policy0.description=policy to test AMIdentity subject exclusive
PolicyTests3.policy0.referral=false
PolicyTests3.policy0.active=true

PolicyTests3.policy0.noOfRules=1
PolicyTests3.policy0.rule0.name=rule0
PolicyTests3.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests3.policy0.rule0.resource=PolicyGlobal.resource40
PolicyTests3.policy0.rule0.noOfActions=2
PolicyTests3.policy0.rule0.action0=GET=allow
PolicyTests3.policy0.rule0.action1=POST=allow

PolicyTests3.policy0.noOfSubjects=2

PolicyTests3.policy0.subject0.type=AMIdentitySubject
PolicyTests3.policy0.subject0.name=AMIndentity subject inclusive
PolicyTests3.policy0.subject0.includeType=inclusive
PolicyTests3.policy0.subject0.noOfAttributes=1
PolicyTests3.policy0.subject0.att0=Values=PolicyTests3.identity2

PolicyTests3.policy0.subject1.type=AMIdentitySubject
PolicyTests3.policy0.subject1.name=exclude user Subject
PolicyTests3.policy0.subject1.includeType=exclusive
PolicyTests3.policy0.subject1.noOfAttributes=1
PolicyTests3.policy0.subject1.att0=Values=PolicyTests3.identity3

PolicyTests3.policy0.noOfConditions=0

PolicyTests3.policy0.noOfResponseProviders=0

PolicyTests3.policy1.name=AMIdentityRoleExclusiveTest
PolicyTests3.policy1.description=policy to test AMIdentity subject exclusive
PolicyTests3.policy1.referral=false
PolicyTests3.policy1.active=true

PolicyTests3.policy1.noOfRules=1
PolicyTests3.policy1.rule0.name=rule0
PolicyTests3.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests3.policy1.rule0.resource=PolicyGlobal.resource41
PolicyTests3.policy1.rule0.noOfActions=2
PolicyTests3.policy1.rule0.action0=GET=allow
PolicyTests3.policy1.rule0.action1=POST=allow

PolicyTests3.policy1.noOfSubjects=1

PolicyTests3.policy1.subject0.type=AMIdentitySubject
PolicyTests3.policy1.subject0.name=AMIdentity subject role
PolicyTests3.policy1.subject0.includeType=exclusive
PolicyTests3.policy1.subject0.noOfAttributes=1
PolicyTests3.policy1.subject0.att0=Values=PolicyTests3.identity1

PolicyTests3.policy1.noOfConditions=0

PolicyTests3.policy1.noOfResponseProviders=0

PolicyTests3.policy2.name=AMIdentityGroupExclusiveTest
PolicyTests3.policy2.description=policy to test AMIdentity subject exclusive
PolicyTests3.policy2.referral=false
PolicyTests3.policy2.active=true

PolicyTests3.policy2.noOfRules=1
PolicyTests3.policy2.rule0.name=rule0
PolicyTests3.policy2.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests3.policy2.rule0.resource=PolicyGlobal.resource42
PolicyTests3.policy2.rule0.noOfActions=2
PolicyTests3.policy2.rule0.action0=GET=allow
PolicyTests3.policy2.rule0.action1=POST=allow

PolicyTests3.policy2.noOfSubjects=1

PolicyTests3.policy2.subject0.type=AMIdentitySubject
PolicyTests3.policy2.subject0.name=AMIdentity subject group
PolicyTests3.policy2.subject0.includeType=exclusive
PolicyTests3.policy2.subject0.noOfAttributes=1
PolicyTests3.policy2.subject0.att0=Values=PolicyTests3.identity0

PolicyTests3.policy2.noOfConditions=0

PolicyTests3.policy2.noOfResponseProviders=0

##### TestCases for Policy0 ###############
PolicyTests3.evaluation0.resource=PolicyGlobal.resource40
PolicyTests3.evaluation0.username=PolicyTests3.identity2.name
PolicyTests3.evaluation0.password=PolicyTests3.identity2.name
PolicyTests3.evaluation0.noOfEnvParamSet=0
PolicyTests3.evaluation0.action=GET
PolicyTests3.evaluation0.expectedResult=true
PolicyTests3.evaluation0.description=Access should be allowed as this user is inclusive

PolicyTests3.evaluation1.resource=PolicyGlobal.resource40
PolicyTests3.evaluation1.username=PolicyTests3.identity3.name
PolicyTests3.evaluation1.password=PolicyTests3.identity3.name
PolicyTests3.evaluation1.noOfEnvParamSet=0
PolicyTests3.evaluation1.action=GET
PolicyTests3.evaluation1.expectedResult=false
PolicyTests3.evaluation1.description=Access should be denied as this user is exclusive

##### TestCases for Policy1 ###############
PolicyTests3.evaluation2.resource=PolicyGlobal.resource41
PolicyTests3.evaluation2.username=PolicyTests3.identity4.name
PolicyTests3.evaluation2.password=PolicyTests3.identity4.name
PolicyTests3.evaluation2.noOfEnvParamSet=0
PolicyTests3.evaluation2.action=GET
PolicyTests3.evaluation2.expectedResult=false
PolicyTests3.evaluation2.description=Access should be allowed as this user is inclusive

PolicyTests3.evaluation3.resource=PolicyGlobal.resource41
PolicyTests3.evaluation3.username=PolicyTests3.identity5.name
PolicyTests3.evaluation3.password=PolicyTests3.identity5.name
PolicyTests3.evaluation3.noOfEnvParamSet=0
PolicyTests3.evaluation3.action=GET
PolicyTests3.evaluation3.expectedResult=true
PolicyTests3.evaluation3.description=Access should be denied as this user is exclusive

##### TestCases for Policy2 ###############
PolicyTests3.evaluation4.resource=PolicyGlobal.resource42
PolicyTests3.evaluation4.username=PolicyTests3.identity6.name
PolicyTests3.evaluation4.password=PolicyTests3.identity6.name
PolicyTests3.evaluation4.noOfEnvParamSet=0
PolicyTests3.evaluation4.action=GET
PolicyTests3.evaluation4.expectedResult=false
PolicyTests3.evaluation4.description=Access should be allowed as this user is inclusive

PolicyTests3.evaluation5.resource=PolicyGlobal.resource42
PolicyTests3.evaluation5.username=PolicyTests3.identity7.name
PolicyTests3.evaluation5.password=PolicyTests3.identity7.name
PolicyTests3.evaluation5.noOfEnvParamSet=0
PolicyTests3.evaluation5.action=GET
PolicyTests3.evaluation5.expectedResult=true
PolicyTests3.evaluation5.description=Access should be denied as this user is exclusive

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 4 === One level wild card support
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy
##################################################################################################################
PolicyTests4.noOfIdentities=2

PolicyTests4.identity0.name=wildcarduser0
PolicyTests4.identity0.type=User
PolicyTests4.identity0.attributes=sn=wildcarduser0,cn=wildcarduser0,userpassword=wildcarduser0,inetuserstatus=Active
PolicyTests4.identity0.isMemberOf=no
PolicyTests4.identity0.hasSessionAttributes=false
PolicyTests4.identity1.name=wildcarduser1
PolicyTests4.identity1.type=User
PolicyTests4.identity1.attributes=sn=wildcarduser1,cn=wildcarduser1,userpassword=wildcarduser1,inetuserstatus=Active
PolicyTests4.identity1.isMemberOf=no
PolicyTests4.identity1.hasSessionAttributes=false

PolicyTests4.noOfPolicies=2

PolicyTests4.policy0.name=OneLevelWildcardTest
PolicyTests4.policy0.description=policy to test one level wild card support
PolicyTests4.policy0.referral=false
PolicyTests4.policy0.active=true

PolicyTests4.policy0.noOfRules=1
PolicyTests4.policy0.rule0.name=rule0
PolicyTests4.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests4.policy0.rule0.resource=PolicyGlobal.resource30
PolicyTests4.policy0.rule0.noOfActions=2
PolicyTests4.policy0.rule0.action0=GET=allow
PolicyTests4.policy0.rule0.action1=POST=allow

PolicyTests4.policy0.noOfSubjects=1
PolicyTests4.policy0.subject0.type=AMIdentitySubject
PolicyTests4.policy0.subject0.name=AmidUser Wildcarduser0 subject for wildcard 
PolicyTests4.policy0.subject0.includeType=inclusive
PolicyTests4.policy0.subject0.noOfAttributes=1
PolicyTests4.policy0.subject0.att0=Values=PolicyTests4.identity0

PolicyTests4.policy0.noOfConditions=0

PolicyTests4.policy0.noOfResponseProviders=0

PolicyTests4.policy1.name=MultiOneLevelWildcard
PolicyTests4.policy1.description=policy to test multi onelevel wild card support
PolicyTests4.policy1.referral=false
PolicyTests4.policy1.active=true

PolicyTests4.policy1.noOfRules=1
PolicyTests4.policy1.rule0.name=rule0
PolicyTests4.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests4.policy1.rule0.resource=PolicyGlobal.resource33
PolicyTests4.policy1.rule0.noOfActions=2
PolicyTests4.policy1.rule0.action0=GET=allow
PolicyTests4.policy1.rule0.action1=POST=allow

PolicyTests4.policy1.noOfSubjects=1
PolicyTests4.policy1.subject0.type=AMIdentitySubject
PolicyTests4.policy1.subject0.name=AmidUser Wildcarduser1 subject for wildcard 
PolicyTests4.policy1.subject0.includeType=inclusive
PolicyTests4.policy1.subject0.noOfAttributes=1
PolicyTests4.policy1.subject0.att0=Values=PolicyTests4.identity1

PolicyTests4.policy1.noOfConditions=0

PolicyTests4.policy1.noOfResponseProviders=0

#### Testcases for Policy0 ############
PolicyTests4.evaluation0.resource=PolicyGlobal.resource31
PolicyTests4.evaluation0.username=PolicyTests4.identity0.name
PolicyTests4.evaluation0.password=PolicyTests4.identity0.name
PolicyTests4.evaluation0.noOfEnvParamSet=0
PolicyTests4.evaluation0.action=GET
PolicyTests4.evaluation0.expectedResult=true
PolicyTests4.evaluation0.description=Access should be allowed (resource match) 

PolicyTests4.evaluation1.resource=PolicyGlobal.resource32
PolicyTests4.evaluation1.username=PolicyTests4.identity0.name
PolicyTests4.evaluation1.password=PolicyTests4.identity0.name
PolicyTests4.evaluation1.noOfEnvParamSet=0
PolicyTests4.evaluation1.action=GET
PolicyTests4.evaluation1.expectedResult=false
PolicyTests4.evaluation1.description=Access should be denied (matches only one level wild) 

#### TestCases for Policy1 ############
PolicyTests4.evaluation2.resource=PolicyGlobal.resource34
PolicyTests4.evaluation2.username=PolicyTests4.identity1.name
PolicyTests4.evaluation2.password=PolicyTests4.identity1.name
PolicyTests4.evaluation2.noOfEnvParamSet=0
PolicyTests4.evaluation2.action=GET
PolicyTests4.evaluation2.expectedResult=true
PolicyTests4.evaluation2.description=Access should be allowed (multiple wildcard match)

PolicyTests4.evaluation3.resource=PolicyGlobal.resource35
PolicyTests4.evaluation3.username=PolicyTests4.identity1.name
PolicyTests4.evaluation3.password=PolicyTests4.identity1.name
PolicyTests4.evaluation3.noOfEnvParamSet=0
PolicyTests4.evaluation3.action=GET
PolicyTests4.evaluation3.expectedResult=false
PolicyTests4.evaluation3.description=Access should be allowed (multiple wildcard only one level each match

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 5 === Allow/Deny Combination Policy
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy
##################################################################################################################
PolicyTests5.noOfIdentities=2

PolicyTests5.identity0.name=test5user0
PolicyTests5.identity0.type=User
PolicyTests5.identity0.attributes=sn=test5user0,cn=test5user0,userpassword=test5user0,inetuserstatus=Active
PolicyTests5.identity0.isMemberOf=no
PolicyTests5.identity0.hasSessionAttributes=false
PolicyTests5.identity1.name=test5user1
PolicyTests5.identity1.type=User
PolicyTests5.identity1.attributes=sn=test5user1,cn=test5user1,userpassword=test5user1,inetuserstatus=Active
PolicyTests5.identity1.isMemberOf=no
PolicyTests5.identity1.hasSessionAttributes=false

PolicyTests5.noOfPolicies=2

PolicyTests5.policy0.name=ConflictPolicyTest
PolicyTests5.policy0.description=policy to test allow/deny for the same resource
PolicyTests5.policy0.referral=false
PolicyTests5.policy0.active=true

PolicyTests5.policy0.noOfRules=2
PolicyTests5.policy0.rule0.name=rule0
PolicyTests5.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests5.policy0.rule0.resource=PolicyGlobal.resource50
PolicyTests5.policy0.rule0.noOfActions=2
PolicyTests5.policy0.rule0.action0=GET=allow
PolicyTests5.policy0.rule0.action1=POST=allow
PolicyTests5.policy0.rule1.name=rule1
PolicyTests5.policy0.rule1.serviceName=iPlanetAMWebAgentService
PolicyTests5.policy0.rule1.resource=PolicyGlobal.resource50
PolicyTests5.policy0.rule1.noOfActions=2
PolicyTests5.policy0.rule1.action0=GET=deny
PolicyTests5.policy0.rule1.action1=POST=deny

PolicyTests5.policy0.noOfSubjects=1
PolicyTests5.policy0.subject0.type=AMIdentitySubject
PolicyTests5.policy0.subject0.name=AmidUser 
PolicyTests5.policy0.subject0.includeType=inclusive
PolicyTests5.policy0.subject0.noOfAttributes=1
PolicyTests5.policy0.subject0.att0=Values=PolicyTests5.identity0

PolicyTests5.policy0.noOfConditions=0

PolicyTests5.policy0.noOfResponseProviders=0

PolicyTests5.policy1.name=allow_deny Test
PolicyTests5.policy1.description=allow_deny for diff dir Test
PolicyTests5.policy1.referral=false
PolicyTests5.policy1.active=true

PolicyTests5.policy1.noOfRules=2
PolicyTests5.policy1.rule0.name=rule0
PolicyTests5.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests5.policy1.rule0.resource=PolicyGlobal.resource51
PolicyTests5.policy1.rule0.noOfActions=2
PolicyTests5.policy1.rule0.action0=GET=allow
PolicyTests5.policy1.rule0.action1=POST=allow
PolicyTests5.policy1.rule1.name=rule1
PolicyTests5.policy1.rule1.serviceName=iPlanetAMWebAgentService
PolicyTests5.policy1.rule1.resource=PolicyGlobal.resource52
PolicyTests5.policy1.rule1.noOfActions=2
PolicyTests5.policy1.rule1.action0=GET=deny
PolicyTests5.policy1.rule1.action1=POST=deny
PolicyTests5.policy1.noOfSubjects=1
PolicyTests5.policy1.subject0.type=AMIdentitySubject
PolicyTests5.policy1.subject0.name=AmidUser 
PolicyTests5.policy1.subject0.includeType=inclusive
PolicyTests5.policy1.subject0.noOfAttributes=1
PolicyTests5.policy1.subject0.att0=Values=PolicyTests5.identity1

PolicyTests5.policy1.noOfConditions=0

PolicyTests5.policy1.noOfResponseProviders=0

#### Testcases for Policy0 ############
PolicyTests5.evaluation0.resource=PolicyGlobal.resource50
PolicyTests5.evaluation0.username=PolicyTests5.identity0.name
PolicyTests5.evaluation0.password=PolicyTests5.identity0.name
PolicyTests5.evaluation0.noOfEnvParamSet=0
PolicyTests5.evaluation0.action=GET
PolicyTests5.evaluation0.expectedResult=false
PolicyTests5.evaluation0.description=Access should be allowed (allow/deny for the same resource) 
#### TestCases for Policy1 ############
PolicyTests5.evaluation1.resource=PolicyGlobal.resource51
PolicyTests5.evaluation1.username=PolicyTests5.identity1.name
PolicyTests5.evaluation1.password=PolicyTests5.identity1.name
PolicyTests5.evaluation1.noOfEnvParamSet=0
PolicyTests5.evaluation1.action=GET
PolicyTests5.evaluation1.expectedResult=true
PolicyTests5.evaluation1.description=Access should be allowed (allow for one dir but denied for other)

PolicyTests5.evaluation2.resource=PolicyGlobal.resource52
PolicyTests5.evaluation2.username=PolicyTests5.identity1.name
PolicyTests5.evaluation2.password=PolicyTests5.identity1.name
PolicyTests5.evaluation2.noOfEnvParamSet=0
PolicyTests5.evaluation2.action=GET
PolicyTests5.evaluation2.expectedResult=false
PolicyTests5.evaluation2.description=Access should be allowed (allow for one dir but denied for other) 

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 6 === Merge of Policy Conditions --Satisfying one for each type of condition
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy
##################################################################################################################
PolicyTests6.noOfIdentities=2

PolicyTests6.identity0.name=test6user0
PolicyTests6.identity0.type=User
PolicyTests6.identity0.attributes=sn=test6user0,cn=test6user0,userpassword=test6user0,inetuserstatus=Active,postaladdress=india
PolicyTests6.identity0.isMemberOf=no
PolicyTests6.identity0.hasSessionAttributes=false
PolicyTests6.identity1.name=test6user1
PolicyTests6.identity1.type=User
PolicyTests6.identity1.attributes=sn=test6user1,cn=test6user1,userpassword=test6user1,inetuserstatus=Active,postaladdress=usa
PolicyTests6.identity1.isMemberOf=no
PolicyTests6.identity1.hasSessionAttributes=false

PolicyTests6.noOfPolicies=1

PolicyTests6.policy0.name=EachConditionSatisfyPolicyTest
PolicyTests6.policy0.description=policy to test allow/deny for the same resource
PolicyTests6.policy0.referral=false
PolicyTests6.policy0.active=true

PolicyTests6.policy0.noOfRules=1
PolicyTests6.policy0.rule0.name=rule0
PolicyTests6.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests6.policy0.rule0.resource=PolicyGlobal.resource60
PolicyTests6.policy0.rule0.noOfActions=2
PolicyTests6.policy0.rule0.action0=GET=allow
PolicyTests6.policy0.rule0.action1=POST=allow

PolicyTests6.policy0.noOfSubjects=2
PolicyTests6.policy0.subject0.type=AMIdentitySubject
PolicyTests6.policy0.subject0.name=AmidUser 
PolicyTests6.policy0.subject0.includeType=inclusive
PolicyTests6.policy0.subject0.noOfAttributes=1
PolicyTests6.policy0.subject0.att0=Values=PolicyTests6.identity0
PolicyTests6.policy0.subject1.type=AMIdentitySubject
PolicyTests6.policy0.subject1.name=AmidUser test1
PolicyTests6.policy0.subject1.includeType=inclusive
PolicyTests6.policy0.subject1.noOfAttributes=1
PolicyTests6.policy0.subject1.att0=Values=PolicyTests6.identity1

PolicyTests6.policy0.noOfConditions=6
PolicyTests6.policy0.condition0.type=AuthenticateToServiceCondition
PolicyTests6.policy0.condition0.name=AuthenticateToService0
PolicyTests6.policy0.condition0.noOfAttributes=1
PolicyTests6.policy0.condition0.att0=AuthenticateToService=ldapService
PolicyTests6.policy0.condition1.type=AuthenticateToServiceCondition
PolicyTests6.policy0.condition1.name=AuthenticateToService1
PolicyTests6.policy0.condition1.noOfAttributes=1
PolicyTests6.policy0.condition1.att0=AuthenticateToService=dummyService
PolicyTests6.policy0.condition2.type=IPCondition
PolicyTests6.policy0.condition2.name=IPCondition0
PolicyTests6.policy0.condition2.noOfAttributes=2
PolicyTests6.policy0.condition2.att0=StartIp=192.18.118.86
PolicyTests6.policy0.condition2.att1=EndIp=192.18.118.86
PolicyTests6.policy0.condition3.type=IPCondition
PolicyTests6.policy0.condition3.name=IPCondition1
PolicyTests6.policy0.condition3.noOfAttributes=2
PolicyTests6.policy0.condition3.att0=StartIp=192.18.250.86
PolicyTests6.policy0.condition3.att1=EndIp=192.18.250.90
PolicyTests6.policy0.condition4.type=LDAPFilterCondition
PolicyTests6.policy0.condition4.name=ldapfilterCondition0
PolicyTests6.policy0.condition4.noOfAttributes=1
PolicyTests6.policy0.condition4.att0=ldapFilter=postaladdress=india
PolicyTests6.policy0.condition5.type=LDAPFilterCondition
PolicyTests6.policy0.condition5.name=ldapfilterCondition1
PolicyTests6.policy0.condition5.noOfAttributes=1
PolicyTests6.policy0.condition5.att0=ldapFilter=postaladdress=canada

PolicyTests6.policy0.noOfResponseProviders=0

#### Testcases for Policy0 ############
PolicyTests6.evaluation0.resource=PolicyGlobal.resource60
PolicyTests6.evaluation0.username=PolicyTests6.identity0.name
PolicyTests6.evaluation0.password=PolicyTests6.identity0.name
PolicyTests6.evaluation0.noOfEnvParamSet=2
PolicyTests6.evaluation0.envParamSet0.type=requestAuthenticatedToServices
PolicyTests6.evaluation0.envParamSet0.noOfValues=1
PolicyTests6.evaluation0.envParamSet0.val0=ldapService
PolicyTests6.evaluation0.envParamSet1.type=requestIp
PolicyTests6.evaluation0.envParamSet1.noOfValues=1
PolicyTests6.evaluation0.envParamSet1.val0=192.18.250.88
PolicyTests6.evaluation0.action=GET
PolicyTests6.evaluation0.expectedResult=true
PolicyTests6.evaluation0.description=Access should be allowed (satisfying one for each conditions)

#### Testcases for Policy1 ############
PolicyTests6.evaluation1.resource=PolicyGlobal.resource60
PolicyTests6.evaluation1.username=PolicyTests6.identity0.name
PolicyTests6.evaluation1.password=PolicyTests6.identity0.name
PolicyTests6.evaluation1.noOfEnvParamSet=2
PolicyTests6.evaluation1.envParamSet0.type=requestAuthenticatedToServices
PolicyTests6.evaluation1.envParamSet0.noOfValues=1
PolicyTests6.evaluation1.envParamSet0.val0=myldapService
PolicyTests6.evaluation1.envParamSet1.type=requestIp
PolicyTests6.evaluation1.envParamSet1.noOfValues=1
PolicyTests6.evaluation1.envParamSet1.val0=192.18.250.88
PolicyTests6.evaluation1.action=GET
PolicyTests6.evaluation1.expectedResult=false
PolicyTests6.evaluation1.description=Access should be denied (not satisfying authservice conditions)

#### Testcases for Policy2 ############
PolicyTests6.evaluation2.resource=PolicyGlobal.resource60
PolicyTests6.evaluation2.username=PolicyTests6.identity0.name
PolicyTests6.evaluation2.password=PolicyTests6.identity0.name
PolicyTests6.evaluation2.noOfEnvParamSet=2
PolicyTests6.evaluation2.envParamSet0.type=requestAuthenticatedToServices
PolicyTests6.evaluation2.envParamSet0.noOfValues=1
PolicyTests6.evaluation2.envParamSet0.val0=ldapService
PolicyTests6.evaluation2.envParamSet1.type=requestIp
PolicyTests6.evaluation2.envParamSet1.noOfValues=1
PolicyTests6.evaluation2.envParamSet1.val0=192.18.250.78
PolicyTests6.evaluation2.action=GET
PolicyTests6.evaluation2.expectedResult=false
PolicyTests6.evaluation2.description=Access should be denied (not satisfying ip conditions)

#### Testcases for Policy3 ############
PolicyTests6.evaluation3.resource=PolicyGlobal.resource60
PolicyTests6.evaluation3.username=PolicyTests6.identity1.name
PolicyTests6.evaluation3.password=PolicyTests6.identity1.name
PolicyTests6.evaluation3.noOfEnvParamSet=2
PolicyTests6.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyTests6.evaluation3.envParamSet0.noOfValues=1
PolicyTests6.evaluation3.envParamSet0.val0=ldapService
PolicyTests6.evaluation3.envParamSet1.type=requestIp
PolicyTests6.evaluation3.envParamSet1.noOfValues=1
PolicyTests6.evaluation3.envParamSet1.val0=192.18.250.88
PolicyTests6.evaluation3.action=GET
PolicyTests6.evaluation3.expectedResult=false
PolicyTests6.evaluation3.description=Access should be denied (not satisfying ldapfilter)

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 7 === Merge of Policy Decisions --Allow for one policy but not for the other
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy
##################################################################################################################
PolicyTests7.noOfIdentities=2

PolicyTests7.identity0.name=test7user0
PolicyTests7.identity0.type=User
PolicyTests7.identity0.attributes=sn=test7user0,cn=test7user0,userpassword=test7user0,inetuserstatus=Active,postaladdress=india
PolicyTests7.identity0.isMemberOf=no
PolicyTests7.identity0.hasSessionAttributes=false
PolicyTests7.identity1.name=test7user1
PolicyTests7.identity1.type=User
PolicyTests7.identity1.attributes=sn=test7user1,cn=test7user1,userpassword=test7user1,inetuserstatus=Active,postaladdress=mexico
PolicyTests7.identity1.isMemberOf=no
PolicyTests7.identity1.hasSessionAttributes=false

PolicyTests7.noOfPolicies=2

PolicyTests7.policy0.name=VerifyPolicyDecisionMerge0
PolicyTests7.policy0.description=policy to testmerge of decisions
PolicyTests7.policy0.referral=false
PolicyTests7.policy0.active=true

PolicyTests7.policy0.noOfRules=1
PolicyTests7.policy0.rule0.name=rule0
PolicyTests7.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests7.policy0.rule0.resource=PolicyGlobal.resource70
PolicyTests7.policy0.rule0.noOfActions=2
PolicyTests7.policy0.rule0.action0=GET=allow
PolicyTests7.policy0.rule0.action1=POST=allow

PolicyTests7.policy0.noOfSubjects=2
PolicyTests7.policy0.subject0.type=AMIdentitySubject
PolicyTests7.policy0.subject0.name=AmidUser 
PolicyTests7.policy0.subject0.includeType=inclusive
PolicyTests7.policy0.subject0.noOfAttributes=1
PolicyTests7.policy0.subject0.att0=Values=PolicyTests7.identity0
PolicyTests7.policy0.subject1.type=AMIdentitySubject
PolicyTests7.policy0.subject1.name=AmidUser test1
PolicyTests7.policy0.subject1.includeType=inclusive
PolicyTests7.policy0.subject1.noOfAttributes=1
PolicyTests7.policy0.subject1.att0=Values=PolicyTests7.identity1

PolicyTests7.policy0.noOfConditions=6
PolicyTests7.policy0.condition0.type=AuthenticateToServiceCondition
PolicyTests7.policy0.condition0.name=AuthenticateToService0
PolicyTests7.policy0.condition0.noOfAttributes=1
PolicyTests7.policy0.condition0.att0=AuthenticateToService=ldapService
PolicyTests7.policy0.condition1.type=AuthenticateToServiceCondition
PolicyTests7.policy0.condition1.name=AuthenticateToService1
PolicyTests7.policy0.condition1.noOfAttributes=1
PolicyTests7.policy0.condition1.att0=AuthenticateToService=dummyService
PolicyTests7.policy0.condition2.type=IPCondition
PolicyTests7.policy0.condition2.name=IPCondition0
PolicyTests7.policy0.condition2.noOfAttributes=2
PolicyTests7.policy0.condition2.att0=StartIp=192.18.118.86
PolicyTests7.policy0.condition2.att1=EndIp=192.18.118.86
PolicyTests7.policy0.condition3.type=IPCondition
PolicyTests7.policy0.condition3.name=IPCondition1
PolicyTests7.policy0.condition3.noOfAttributes=2
PolicyTests7.policy0.condition3.att0=StartIp=192.18.250.86
PolicyTests7.policy0.condition3.att1=EndIp=192.18.250.90
PolicyTests7.policy0.condition4.type=LDAPFilterCondition
PolicyTests7.policy0.condition4.name=ldapfilterCondition0
PolicyTests7.policy0.condition4.noOfAttributes=1
PolicyTests7.policy0.condition4.att0=ldapFilter=postaladdress=india
PolicyTests7.policy0.condition5.type=LDAPFilterCondition
PolicyTests7.policy0.condition5.name=ldapfilterCondition1
PolicyTests7.policy0.condition5.noOfAttributes=1
PolicyTests7.policy0.condition5.att0=ldapFilter=postaladdress=canada

PolicyTests7.policy0.noOfResponseProviders=0

PolicyTests7.policy1.name=VerifyPolicyDecisionMerge1
PolicyTests7.policy1.description=policy to testmerge of decisions 
PolicyTests7.policy1.referral=false
PolicyTests7.policy1.active=true

PolicyTests7.policy1.noOfRules=1
PolicyTests7.policy1.rule0.name=rule0
PolicyTests7.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests7.policy1.rule0.resource=PolicyGlobal.resource70
PolicyTests7.policy1.rule0.noOfActions=2
PolicyTests7.policy1.rule0.action0=GET=allow
PolicyTests7.policy1.rule0.action1=POST=allow

PolicyTests7.policy1.noOfSubjects=2
PolicyTests7.policy1.subject0.type=AMIdentitySubject
PolicyTests7.policy1.subject0.name=AmidUser 
PolicyTests7.policy1.subject0.includeType=inclusive
PolicyTests7.policy1.subject0.noOfAttributes=1
PolicyTests7.policy1.subject0.att0=Values=PolicyTests7.identity0
PolicyTests7.policy1.subject1.type=AMIdentitySubject
PolicyTests7.policy1.subject1.name=AmidUser test1
PolicyTests7.policy1.subject1.includeType=inclusive
PolicyTests7.policy1.subject1.noOfAttributes=1
PolicyTests7.policy1.subject1.att0=Values=PolicyTests7.identity1

PolicyTests7.policy1.noOfConditions=6
PolicyTests7.policy1.condition0.type=AuthenticateToServiceCondition
PolicyTests7.policy1.condition0.name=AuthenticateToService0
PolicyTests7.policy1.condition0.noOfAttributes=1
PolicyTests7.policy1.condition0.att0=AuthenticateToService=ldapService
PolicyTests7.policy1.condition1.type=AuthenticateToServiceCondition
PolicyTests7.policy1.condition1.name=AuthenticateToService1
PolicyTests7.policy1.condition1.noOfAttributes=1
PolicyTests7.policy1.condition1.att0=AuthenticateToService=dummyService
PolicyTests7.policy1.condition2.type=IPCondition
PolicyTests7.policy1.condition2.name=IPCondition0
PolicyTests7.policy1.condition2.noOfAttributes=2
PolicyTests7.policy1.condition2.att0=StartIp=192.18.235.86
PolicyTests7.policy1.condition2.att1=EndIp=192.18.235.89
PolicyTests7.policy1.condition3.type=IPCondition
PolicyTests7.policy1.condition3.name=IPCondition1
PolicyTests7.policy1.condition3.noOfAttributes=2
PolicyTests7.policy1.condition3.att0=StartIp=192.18.250.86
PolicyTests7.policy1.condition3.att1=EndIp=192.18.250.90
PolicyTests7.policy1.condition4.type=LDAPFilterCondition
PolicyTests7.policy1.condition4.name=ldapfilterCondition0
PolicyTests7.policy1.condition4.noOfAttributes=1
PolicyTests7.policy1.condition4.att0=ldapFilter=postaladdress=europe
PolicyTests7.policy1.condition5.type=LDAPFilterCondition
PolicyTests7.policy1.condition5.name=ldapfilterCondition1
PolicyTests7.policy1.condition5.noOfAttributes=1
PolicyTests7.policy1.condition5.att0=ldapFilter=postaladdress=mexico

PolicyTests7.policy1.noOfResponseProviders=0

#### Testcases for policy1 ############
PolicyTests7.evaluation0.resource=PolicyGlobal.resource70
PolicyTests7.evaluation0.username=PolicyTests7.identity0.name
PolicyTests7.evaluation0.password=PolicyTests7.identity0.name
PolicyTests7.evaluation0.noOfEnvParamSet=2
PolicyTests7.evaluation0.envParamSet0.type=requestAuthenticatedToServices
PolicyTests7.evaluation0.envParamSet0.noOfValues=1
PolicyTests7.evaluation0.envParamSet0.val0=ldapService
PolicyTests7.evaluation0.envParamSet1.type=requestIp
PolicyTests7.evaluation0.envParamSet1.noOfValues=1
PolicyTests7.evaluation0.envParamSet1.val0=192.18.250.88
PolicyTests7.evaluation0.action=GET
PolicyTests7.evaluation0.expectedResult=true
PolicyTests7.evaluation0.description=Access should be allowed (satisfying first policy thought not satisfying the second with filter)

#### Testcases for Policy1 ############
PolicyTests7.evaluation1.resource=PolicyGlobal.resource70
PolicyTests7.evaluation1.username=PolicyTests7.identity1.name
PolicyTests7.evaluation1.password=PolicyTests7.identity1.name
PolicyTests7.evaluation1.noOfEnvParamSet=2
PolicyTests7.evaluation1.envParamSet0.type=requestAuthenticatedToServices
PolicyTests7.evaluation1.envParamSet0.noOfValues=1
PolicyTests7.evaluation1.envParamSet0.val0=ldapService
PolicyTests7.evaluation1.envParamSet1.type=requestIp
PolicyTests7.evaluation1.envParamSet1.noOfValues=1
PolicyTests7.evaluation1.envParamSet1.val0=192.18.235.88
PolicyTests7.evaluation1.action=GET
PolicyTests7.evaluation1.expectedResult=true
PolicyTests7.evaluation1.description=Access should be allowed (satisfying the second policy's all conditions though not satisfying other with filter)

#### Testcases for Policy2 ############
PolicyTests7.evaluation2.resource=PolicyGlobal.resource70
PolicyTests7.evaluation2.username=PolicyTests7.identity0.name
PolicyTests7.evaluation2.password=PolicyTests7.identity0.name
PolicyTests7.evaluation2.noOfEnvParamSet=2
PolicyTests7.evaluation2.envParamSet0.type=requestAuthenticatedToServices
PolicyTests7.evaluation2.envParamSet0.noOfValues=1
PolicyTests7.evaluation2.envParamSet0.val0=ldapService
PolicyTests7.evaluation2.envParamSet1.type=requestIp
PolicyTests7.evaluation2.envParamSet1.noOfValues=1
PolicyTests7.evaluation2.envParamSet1.val0=192.18.250.78
PolicyTests7.evaluation2.action=GET
PolicyTests7.evaluation2.expectedResult=false
PolicyTests7.evaluation2.description=Access should be denied (not satisfying any of the policies. No matching ip)

#### Testcases for Policy3 ############
PolicyTests7.evaluation3.resource=PolicyGlobal.resource70
PolicyTests7.evaluation3.username=PolicyTests7.identity1.name
PolicyTests7.evaluation3.password=PolicyTests7.identity1.name
PolicyTests7.evaluation3.noOfEnvParamSet=2
PolicyTests7.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyTests7.evaluation3.envParamSet0.noOfValues=1
PolicyTests7.evaluation3.envParamSet0.val0=myldapService
PolicyTests7.evaluation3.envParamSet1.type=requestIp
PolicyTests7.evaluation3.envParamSet1.noOfValues=1
PolicyTests7.evaluation3.envParamSet1.val0=192.18.250.88
PolicyTests7.evaluation3.action=GET
PolicyTests7.evaluation3.expectedResult=false
PolicyTests7.evaluation3.description=Access should be denied (not satisfying authcondition)

#############################################################################################################
# ATTRIBUTES FOR POLICY TEST 8 === Orgnization 
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy
#############################################################################################################
PolicyTests8.noOfIdentities=2

PolicyTests8.identity0.name=orgtestuser0
PolicyTests8.identity0.type=User
PolicyTests8.identity0.attributes=sn=orgtestuser0,cn=orgtestuser0,userpassword=orgtestuser0
PolicyTests8.identity0.isMemberOf=no
PolicyTests8.identity0.hasSessionAttributes=false
PolicyTests8.identity1.name=orgtestuser1
PolicyTests8.identity1.type=User
PolicyTests8.identity1.attributes=sn=orgtestuser1,cn=orgtestuser1,userpassword=orgtestuser1
PolicyTests8.identity1.isMemberOf=no
PolicyTests8.identity1.hasSessionAttributes=false
PolicyTests8.identity2.name=/
PolicyTests8.identity2.type=Organization
PolicyTests8.identity2.attributes=sn=orgtestuser0,cn=orgtestuser0,userpassword=orgtestuser0,inetuserstatus
=Active
PolicyTests8.identity2.isMemberOf=no
PolicyTests8.identity2.hasSessionAttributes=false


PolicyTests8.noOfPolicies=1

PolicyTests8.policy0.name=org subject test
PolicyTests8.policy0.description=policy to test org subject
PolicyTests8.policy0.referral=false
PolicyTests8.policy0.active=true

PolicyTests8.policy0.noOfRules=1
PolicyTests8.policy0.rule0.name=rule0
PolicyTests8.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests8.policy0.rule0.resource=PolicyGlobal.resource10
PolicyTests8.policy0.rule0.noOfActions=2
PolicyTests8.policy0.rule0.action0=GET=allow
PolicyTests8.policy0.rule0.action1=POST=allow

PolicyTests8.policy0.noOfSubjects=2
PolicyTests8.policy0.subject0.type=AMIdentitySubject
PolicyTests8.policy0.subject0.name=AmidUser orgtestuser0 subject for org subject test
PolicyTests8.policy0.subject0.includeType=inclusive
PolicyTests8.policy0.subject0.noOfAttributes=1
PolicyTests8.policy0.subject0.att0=Values=PolicyTests8.identity0
PolicyTests8.policy0.subject1.type=Organization
PolicyTests8.policy0.subject1.name=Orgnization subject
PolicyTests8.policy0.subject1.includeType=inclusive
PolicyTests8.policy0.subject1.noOfAttributes=1
PolicyTests8.policy0.subject1.att0=Values=PolicyTests8.identity2

PolicyTests8.policy0.noOfConditions=0
PolicyTests8.policy0.noOfResponseProviders=0

PolicyTests8.evaluation0.resource=PolicyGlobal.resource10
PolicyTests8.evaluation0.username=PolicyTests8.identity0.name
PolicyTests8.evaluation0.password=PolicyTests8.identity0.name
PolicyTests8.evaluation0.noOfEnvParamSet=0
PolicyTests8.evaluation0.action=GET
PolicyTests8.evaluation0.expectedResult=true
PolicyTests8.evaluation0.description=Access should be allowed 

PolicyTests8.evaluation1.resource=PolicyGlobal.resource10
PolicyTests8.evaluation1.username=PolicyTests8.identity1.name
PolicyTests8.evaluation1.password=PolicyTests8.identity1.name
PolicyTests8.evaluation1.noOfEnvParamSet=0
PolicyTests8.evaluation1.action=GET
PolicyTests8.evaluation1.expectedResult=true
PolicyTests8.evaluation1.description=Access should be allowed

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 9 === Merge of Policy Conditions --Satisfying one for each type of condition
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy
##################################################################################################################
PolicyTests9.noOfIdentities=2

PolicyTests9.identity0.name=test6user0
PolicyTests9.identity0.type=User
PolicyTests9.identity0.attributes=sn=test6user0,cn=test6user0,userpassword=test6user0,inetuserstatus=Active,postaladdress=india
PolicyTests9.identity0.isMemberOf=no
PolicyTests9.identity0.hasSessionAttributes=false
PolicyTests9.identity1.name=test6user1
PolicyTests9.identity1.type=User
PolicyTests9.identity1.attributes=sn=test6user1,cn=test6user1,userpassword=test6user1,inetuserstatus=Active,postaladdress=usa
PolicyTests9.identity1.isMemberOf=no
PolicyTests9.identity1.hasSessionAttributes=false

PolicyTests9.noOfPolicies=1

PolicyTests9.policy0.name=EachConditionSatisfyPolicyTest
PolicyTests9.policy0.description=policy to test allow/deny for the same resource
PolicyTests9.policy0.referral=false
PolicyTests9.policy0.active=true

PolicyTests9.policy0.noOfRules=1
PolicyTests9.policy0.rule0.name=rule0
PolicyTests9.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests9.policy0.rule0.resource=PolicyGlobal.resource60
PolicyTests9.policy0.rule0.noOfActions=2
PolicyTests9.policy0.rule0.action0=GET=allow
PolicyTests9.policy0.rule0.action1=POST=allow

PolicyTests9.policy0.noOfSubjects=2
PolicyTests9.policy0.subject0.type=AMIdentitySubject
PolicyTests9.policy0.subject0.name=AmidUser 
PolicyTests9.policy0.subject0.includeType=inclusive
PolicyTests9.policy0.subject0.noOfAttributes=1
PolicyTests9.policy0.subject0.att0=Values=PolicyTests9.identity0
PolicyTests9.policy0.subject1.type=AMIdentitySubject
PolicyTests9.policy0.subject1.name=AmidUser test1
PolicyTests9.policy0.subject1.includeType=inclusive
PolicyTests9.policy0.subject1.noOfAttributes=1
PolicyTests9.policy0.subject1.att0=Values=PolicyTests9.identity1

PolicyTests9.policy0.noOfConditions=4
PolicyTests9.policy0.condition0.type=AuthenticateToServiceCondition
PolicyTests9.policy0.condition0.name=AuthenticateToService0
PolicyTests9.policy0.condition0.noOfAttributes=1
PolicyTests9.policy0.condition0.att0=AuthenticateToService=ldapService
PolicyTests9.policy0.condition1.type=AuthenticateToServiceCondition
PolicyTests9.policy0.condition1.name=AuthenticateToService1
PolicyTests9.policy0.condition1.noOfAttributes=1
PolicyTests9.policy0.condition1.att0=AuthenticateToService=dummyService
PolicyTests9.policy0.condition2.type=IPCondition
PolicyTests9.policy0.condition2.name=IPCondition0
PolicyTests9.policy0.condition2.noOfAttributes=2
PolicyTests9.policy0.condition2.att0=StartIp=192.18.118.86
PolicyTests9.policy0.condition2.att1=EndIp=192.18.118.86
PolicyTests9.policy0.condition3.type=IPCondition
PolicyTests9.policy0.condition3.name=IPCondition1
PolicyTests9.policy0.condition3.noOfAttributes=2
PolicyTests9.policy0.condition3.att0=StartIp=192.18.250.86
PolicyTests9.policy0.condition3.att1=EndIp=192.18.250.90

PolicyTests9.policy0.noOfResponseProviders=0

#### Testcases for Policy0 ############
PolicyTests9.evaluation0.resource=PolicyGlobal.resource60
PolicyTests9.evaluation0.username=PolicyTests9.identity0.name
PolicyTests9.evaluation0.password=PolicyTests9.identity0.name
PolicyTests9.evaluation0.noOfEnvParamSet=2
PolicyTests9.evaluation0.envParamSet0.type=requestAuthenticatedToServices
PolicyTests9.evaluation0.envParamSet0.noOfValues=1
PolicyTests9.evaluation0.envParamSet0.val0=ldapService
PolicyTests9.evaluation0.envParamSet1.type=requestIp
PolicyTests9.evaluation0.envParamSet1.noOfValues=1
PolicyTests9.evaluation0.envParamSet1.val0=192.18.250.88
PolicyTests9.evaluation0.action=GET
PolicyTests9.evaluation0.expectedResult=true
PolicyTests9.evaluation0.description=Access should be allowed (satisfying one for each conditions)

#### Testcases for Policy1 ############
PolicyTests9.evaluation1.resource=PolicyGlobal.resource60
PolicyTests9.evaluation1.username=PolicyTests9.identity0.name
PolicyTests9.evaluation1.password=PolicyTests9.identity0.name
PolicyTests9.evaluation1.noOfEnvParamSet=2
PolicyTests9.evaluation1.envParamSet0.type=requestAuthenticatedToServices
PolicyTests9.evaluation1.envParamSet0.noOfValues=1
PolicyTests9.evaluation1.envParamSet0.val0=myldapService
PolicyTests9.evaluation1.envParamSet1.type=requestIp
PolicyTests9.evaluation1.envParamSet1.noOfValues=1
PolicyTests9.evaluation1.envParamSet1.val0=192.18.250.88
PolicyTests9.evaluation1.action=GET
PolicyTests9.evaluation1.expectedResult=false
PolicyTests9.evaluation1.description=Access should be denied (not satisfying authservice conditions)

#### Testcases for Policy2 ############
PolicyTests9.evaluation2.resource=PolicyGlobal.resource60
PolicyTests9.evaluation2.username=PolicyTests9.identity0.name
PolicyTests9.evaluation2.password=PolicyTests9.identity0.name
PolicyTests9.evaluation2.noOfEnvParamSet=2
PolicyTests9.evaluation2.envParamSet0.type=requestAuthenticatedToServices
PolicyTests9.evaluation2.envParamSet0.noOfValues=1
PolicyTests9.evaluation2.envParamSet0.val0=ldapService
PolicyTests9.evaluation2.envParamSet1.type=requestIp
PolicyTests9.evaluation2.envParamSet1.noOfValues=1
PolicyTests9.evaluation2.envParamSet1.val0=192.18.250.78
PolicyTests9.evaluation2.action=GET
PolicyTests9.evaluation2.expectedResult=false
PolicyTests9.evaluation2.description=Access should be denied (not satisfying ip conditions)

#### Testcases for Policy3 ############
PolicyTests9.evaluation3.resource=PolicyGlobal.resource60
PolicyTests9.evaluation3.username=PolicyTests9.identity1.name
PolicyTests9.evaluation3.password=PolicyTests9.identity1.name
PolicyTests9.evaluation3.noOfEnvParamSet=2
PolicyTests9.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyTests9.evaluation3.envParamSet0.noOfValues=1
PolicyTests9.evaluation3.envParamSet0.val0=ldapService
PolicyTests9.evaluation3.envParamSet1.type=requestIp
PolicyTests9.evaluation3.envParamSet1.noOfValues=1
PolicyTests9.evaluation3.envParamSet1.val0=192.18.250.88
PolicyTests9.evaluation3.action=GET
PolicyTests9.evaluation3.expectedResult=true
PolicyTests9.evaluation3.description=Access should be allowed

##################################################################################################################
# ATTRIBUTES FOR POLICY TEST 7 === Merge of Policy Decisions --Allow for one policy but not for the other
# EXECUTION_MODES : ds_ds-policy, ds_ds_sec-policy, ff_ds-policy, ff_ds_sec-policy
##################################################################################################################
PolicyTests10.noOfIdentities=2

PolicyTests10.identity0.name=test7user0
PolicyTests10.identity0.type=User
PolicyTests10.identity0.attributes=sn=test7user0,cn=test7user0,userpassword=test7user0,inetuserstatus=Active,postaladdress=india
PolicyTests10.identity0.isMemberOf=no
PolicyTests10.identity0.hasSessionAttributes=false
PolicyTests10.identity1.name=test7user1
PolicyTests10.identity1.type=User
PolicyTests10.identity1.attributes=sn=test7user1,cn=test7user1,userpassword=test7user1,inetuserstatus=Active,postaladdress=mexico
PolicyTests10.identity1.isMemberOf=no
PolicyTests10.identity1.hasSessionAttributes=false

PolicyTests10.noOfPolicies=2

PolicyTests10.policy0.name=VerifyPolicyDecisionMerge0
PolicyTests10.policy0.description=policy to testmerge of decisions
PolicyTests10.policy0.referral=false
PolicyTests10.policy0.active=true

PolicyTests10.policy0.noOfRules=1
PolicyTests10.policy0.rule0.name=rule0
PolicyTests10.policy0.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests10.policy0.rule0.resource=PolicyGlobal.resource70
PolicyTests10.policy0.rule0.noOfActions=2
PolicyTests10.policy0.rule0.action0=GET=allow
PolicyTests10.policy0.rule0.action1=POST=allow

PolicyTests10.policy0.noOfSubjects=2
PolicyTests10.policy0.subject0.type=AMIdentitySubject
PolicyTests10.policy0.subject0.name=AmidUser 
PolicyTests10.policy0.subject0.includeType=inclusive
PolicyTests10.policy0.subject0.noOfAttributes=1
PolicyTests10.policy0.subject0.att0=Values=PolicyTests10.identity0
PolicyTests10.policy0.subject1.type=AMIdentitySubject
PolicyTests10.policy0.subject1.name=AmidUser test1
PolicyTests10.policy0.subject1.includeType=inclusive
PolicyTests10.policy0.subject1.noOfAttributes=1
PolicyTests10.policy0.subject1.att0=Values=PolicyTests10.identity1

PolicyTests10.policy0.noOfConditions=4
PolicyTests10.policy0.condition0.type=AuthenticateToServiceCondition
PolicyTests10.policy0.condition0.name=AuthenticateToService0
PolicyTests10.policy0.condition0.noOfAttributes=1
PolicyTests10.policy0.condition0.att0=AuthenticateToService=ldapService
PolicyTests10.policy0.condition1.type=AuthenticateToServiceCondition
PolicyTests10.policy0.condition1.name=AuthenticateToService1
PolicyTests10.policy0.condition1.noOfAttributes=1
PolicyTests10.policy0.condition1.att0=AuthenticateToService=dummyService
PolicyTests10.policy0.condition2.type=IPCondition
PolicyTests10.policy0.condition2.name=IPCondition0
PolicyTests10.policy0.condition2.noOfAttributes=2
PolicyTests10.policy0.condition2.att0=StartIp=192.18.118.86
PolicyTests10.policy0.condition2.att1=EndIp=192.18.118.86
PolicyTests10.policy0.condition3.type=IPCondition
PolicyTests10.policy0.condition3.name=IPCondition1
PolicyTests10.policy0.condition3.noOfAttributes=2
PolicyTests10.policy0.condition3.att0=StartIp=192.18.250.86
PolicyTests10.policy0.condition3.att1=EndIp=192.18.250.90

PolicyTests10.policy0.noOfResponseProviders=0

PolicyTests10.policy1.name=VerifyPolicyDecisionMerge1
PolicyTests10.policy1.description=policy to testmerge of decisions 
PolicyTests10.policy1.referral=false
PolicyTests10.policy1.active=true

PolicyTests10.policy1.noOfRules=1
PolicyTests10.policy1.rule0.name=rule0
PolicyTests10.policy1.rule0.serviceName=iPlanetAMWebAgentService
PolicyTests10.policy1.rule0.resource=PolicyGlobal.resource70
PolicyTests10.policy1.rule0.noOfActions=2
PolicyTests10.policy1.rule0.action0=GET=allow
PolicyTests10.policy1.rule0.action1=POST=allow

PolicyTests10.policy1.noOfSubjects=2
PolicyTests10.policy1.subject0.type=AMIdentitySubject
PolicyTests10.policy1.subject0.name=AmidUser 
PolicyTests10.policy1.subject0.includeType=inclusive
PolicyTests10.policy1.subject0.noOfAttributes=1
PolicyTests10.policy1.subject0.att0=Values=PolicyTests10.identity0
PolicyTests10.policy1.subject1.type=AMIdentitySubject
PolicyTests10.policy1.subject1.name=AmidUser test1
PolicyTests10.policy1.subject1.includeType=inclusive
PolicyTests10.policy1.subject1.noOfAttributes=1
PolicyTests10.policy1.subject1.att0=Values=PolicyTests10.identity1

PolicyTests10.policy1.noOfConditions=5
PolicyTests10.policy1.condition0.type=AuthenticateToServiceCondition
PolicyTests10.policy1.condition0.name=AuthenticateToService0
PolicyTests10.policy1.condition0.noOfAttributes=1
PolicyTests10.policy1.condition0.att0=AuthenticateToService=ldapService
PolicyTests10.policy1.condition1.type=AuthenticateToServiceCondition
PolicyTests10.policy1.condition1.name=AuthenticateToService1
PolicyTests10.policy1.condition1.noOfAttributes=1
PolicyTests10.policy1.condition1.att0=AuthenticateToService=dummyService
PolicyTests10.policy1.condition2.type=IPCondition
PolicyTests10.policy1.condition2.name=IPCondition0
PolicyTests10.policy1.condition2.noOfAttributes=2
PolicyTests10.policy1.condition2.att0=StartIp=192.18.235.86
PolicyTests10.policy1.condition2.att1=EndIp=192.18.235.89
PolicyTests10.policy1.condition3.type=IPCondition
PolicyTests10.policy1.condition3.name=IPCondition1
PolicyTests10.policy1.condition3.noOfAttributes=2
PolicyTests10.policy1.condition3.att0=StartIp=192.18.250.86
PolicyTests10.policy1.condition3.att1=EndIp=192.18.250.90
PolicyTests10.policy1.condition4.type=AuthLevelCondition
PolicyTests10.policy1.condition4.name=AuthLevelCondition0
PolicyTests10.policy1.condition4.noOfAttributes=1
PolicyTests10.policy1.condition4.att0=AuthLevel=2

PolicyTests10.policy1.noOfResponseProviders=0

#### Testcases for policy1 ############
PolicyTests10.evaluation0.resource=PolicyGlobal.resource70
PolicyTests10.evaluation0.username=PolicyTests10.identity0.name
PolicyTests10.evaluation0.password=PolicyTests10.identity0.name
PolicyTests10.evaluation0.noOfEnvParamSet=2
PolicyTests10.evaluation0.envParamSet0.type=requestAuthenticatedToServices
PolicyTests10.evaluation0.envParamSet0.noOfValues=1
PolicyTests10.evaluation0.envParamSet0.val0=ldapService
PolicyTests10.evaluation0.envParamSet1.type=requestIp
PolicyTests10.evaluation0.envParamSet1.noOfValues=1
PolicyTests10.evaluation0.envParamSet1.val0=192.18.250.88
PolicyTests10.evaluation0.action=GET
PolicyTests10.evaluation0.expectedResult=true
PolicyTests10.evaluation0.description=Access should be allowed (satisfying first policy thought not satisfying the second with filter)

#### Testcases for Policy1 ############
PolicyTests10.evaluation1.resource=PolicyGlobal.resource70
PolicyTests10.evaluation1.username=PolicyTests10.identity1.name
PolicyTests10.evaluation1.password=PolicyTests10.identity1.name
PolicyTests10.evaluation1.noOfEnvParamSet=3
PolicyTests10.evaluation1.envParamSet0.type=requestAuthenticatedToServices
PolicyTests10.evaluation1.envParamSet0.noOfValues=1
PolicyTests10.evaluation1.envParamSet0.val0=ldapService
PolicyTests10.evaluation1.envParamSet1.type=requestIp
PolicyTests10.evaluation1.envParamSet1.noOfValues=1
PolicyTests10.evaluation1.envParamSet1.val0=192.18.235.88
PolicyTests10.evaluation1.envParamSet2.type=requestAuthLevel
PolicyTests10.evaluation1.envParamSet2.noOfValues=1
PolicyTests10.evaluation1.envParamSet2.val0=3
PolicyTests10.evaluation1.action=GET
PolicyTests10.evaluation1.expectedResult=true
PolicyTests10.evaluation1.description=Access should be allowed (satisfying the second policy's all conditions though not satisfying other with filter)

#### Testcases for Policy ############
PolicyTests10.evaluation2.resource=PolicyGlobal.resource70
PolicyTests10.evaluation2.username=PolicyTests10.identity0.name
PolicyTests10.evaluation2.password=PolicyTests10.identity0.name
PolicyTests10.evaluation2.noOfEnvParamSet=2
PolicyTests10.evaluation2.envParamSet0.type=requestAuthenticatedToServices
PolicyTests10.evaluation2.envParamSet0.noOfValues=1
PolicyTests10.evaluation2.envParamSet0.val0=ldapService
PolicyTests10.evaluation2.envParamSet1.type=requestIp
PolicyTests10.evaluation2.envParamSet1.noOfValues=1
PolicyTests10.evaluation2.envParamSet1.val0=192.18.250.78
PolicyTests10.evaluation2.action=GET
PolicyTests10.evaluation2.expectedResult=false
PolicyTests10.evaluation2.description=Access should be denied (not satisfying any of the policies. No matching ip)

#### Testcases for Policy ############
PolicyTests10.evaluation3.resource=PolicyGlobal.resource70
PolicyTests10.evaluation3.username=PolicyTests10.identity1.name
PolicyTests10.evaluation3.password=PolicyTests10.identity1.name
PolicyTests10.evaluation3.noOfEnvParamSet=2
PolicyTests10.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyTests10.evaluation3.envParamSet0.noOfValues=1
PolicyTests10.evaluation3.envParamSet0.val0=myldapService
PolicyTests10.evaluation3.envParamSet1.type=requestIp
PolicyTests10.evaluation3.envParamSet1.noOfValues=1
PolicyTests10.evaluation3.envParamSet1.val0=192.18.250.88
PolicyTests10.evaluation3.action=GET
PolicyTests10.evaluation3.expectedResult=false
PolicyTests10.evaluation3.description=Access should be denied (not satisfying authcondition)


