/* 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
################################################################################
PolicyPeerRealmReferral0.noOfIdentities=16

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

PolicyPeerRealmReferral0.noOfPolicies=2

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

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

PolicyPeerRealmReferral0.policy0.noOfSubjects=3
PolicyPeerRealmReferral0.policy0.subject0.type=AMIdentitySubject
PolicyPeerRealmReferral0.policy0.subject0.name=AmidUser
PolicyPeerRealmReferral0.policy0.subject0.includeType=inclusive
PolicyPeerRealmReferral0.policy0.subject0.noOfAttributes=1
PolicyPeerRealmReferral0.policy0.subject0.att0=Values=PolicyPeerRealmReferral0.identity15
PolicyPeerRealmReferral0.policy0.subject1.type=AMIdentitySubject
PolicyPeerRealmReferral0.policy0.subject1.name=Amidgroup
PolicyPeerRealmReferral0.policy0.subject1.includeType=inclusive
PolicyPeerRealmReferral0.policy0.subject1.noOfAttributes=1
PolicyPeerRealmReferral0.policy0.subject1.att0=Values=PolicyPeerRealmReferral0.identity1
PolicyPeerRealmReferral0.policy0.subject2.type=AMIdentitySubject
PolicyPeerRealmReferral0.policy0.subject2.name=Amidrole
PolicyPeerRealmReferral0.policy0.subject2.includeType=inclusive
PolicyPeerRealmReferral0.policy0.subject2.noOfAttributes=1
PolicyPeerRealmReferral0.policy0.subject2.att0=Values=PolicyPeerRealmReferral0.identity3

PolicyPeerRealmReferral0.policy0.noOfConditions=0

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

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

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

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

PolicyPeerRealmReferral0.policy1.noOfConditions=0

PolicyPeerRealmReferral0.policy1.noOfResponseProviders=0

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

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

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

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

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

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

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

PolicyPeerRealmReferral0.evaluation8.resource=PolicyGlobal.resource0
PolicyPeerRealmReferral0.evaluation8.username=PolicyPeerRealmReferral0.identity14.name
PolicyPeerRealmReferral0.evaluation8.password=PolicyPeerRealmReferral0.identity14.name
PolicyPeerRealmReferral0.evaluation8.noOfEnvParamSet=0
PolicyPeerRealmReferral0.evaluation8.action=GET
PolicyPeerRealmReferral0.evaluation8.expectedResult=false
PolicyPeerRealmReferral0.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
###############################################################################
PolicyPeerRealmReferral1.noOfIdentities=6

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

PolicyPeerRealmReferral1.noOfPolicies=3

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

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

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

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

PolicyPeerRealmReferral1.policy0.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral1.policy1.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral1.policy2.noOfResponseProviders=0

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

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

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

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

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

PolicyPeerRealmReferral1.evaluation5.resource=PolicyGlobal.resource8
PolicyPeerRealmReferral1.evaluation5.username=PolicyPeerRealmReferral1.identity5.name
PolicyPeerRealmReferral1.evaluation5.password=PolicyPeerRealmReferral1.identity5.name
PolicyPeerRealmReferral1.evaluation5.noOfEnvParamSet=0
PolicyPeerRealmReferral1.evaluation5.action=GET
PolicyPeerRealmReferral1.evaluation5.expectedResult=false
PolicyPeerRealmReferral1.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 
##################################################################################################################
PolicyPeerRealmReferral2.noOfIdentities=11

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

PolicyPeerRealmReferral2.noOfPolicies=7

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

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

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

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

PolicyPeerRealmReferral2.policy0.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral2.policy1.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral2.policy2.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral2.policy3.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral2.policy4.noOfResponseProviders=0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PolicyPeerRealmReferral2.evaluation12.resource=PolicyGlobal.resource6
PolicyPeerRealmReferral2.evaluation12.username=PolicyPeerRealmReferral2.identity7.name
PolicyPeerRealmReferral2.evaluation12.password=PolicyPeerRealmReferral2.identity7.name
PolicyPeerRealmReferral2.evaluation12.noOfEnvParamSet=1
PolicyPeerRealmReferral2.evaluation12.envParamSet0.type=requestAuthSchemes
PolicyPeerRealmReferral2.evaluation12.envParamSet0.noOfValues=1
PolicyPeerRealmReferral2.evaluation12.envParamSet0.val0=realm100:DataStore
PolicyPeerRealmReferral2.evaluation12.action=GET
PolicyPeerRealmReferral2.evaluation12.expectedResult=false
PolicyPeerRealmReferral2.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
##################################################################################################################
PolicyPeerRealmReferral3.noOfIdentities=8

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

PolicyPeerRealmReferral3.noOfPolicies=3

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

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

PolicyPeerRealmReferral3.policy0.noOfSubjects=2

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

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

PolicyPeerRealmReferral3.policy0.noOfConditions=0

PolicyPeerRealmReferral3.policy0.noOfResponseProviders=0

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

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

PolicyPeerRealmReferral3.policy1.noOfSubjects=1

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

PolicyPeerRealmReferral3.policy1.noOfConditions=0

PolicyPeerRealmReferral3.policy1.noOfResponseProviders=0

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

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

PolicyPeerRealmReferral3.policy2.noOfSubjects=1

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

PolicyPeerRealmReferral3.policy2.noOfConditions=0

PolicyPeerRealmReferral3.policy2.noOfResponseProviders=0

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

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

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

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

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

PolicyPeerRealmReferral3.evaluation5.resource=PolicyGlobal.resource42
PolicyPeerRealmReferral3.evaluation5.username=PolicyPeerRealmReferral3.identity7.name
PolicyPeerRealmReferral3.evaluation5.password=PolicyPeerRealmReferral3.identity7.name
PolicyPeerRealmReferral3.evaluation5.noOfEnvParamSet=0
PolicyPeerRealmReferral3.evaluation5.action=GET
PolicyPeerRealmReferral3.evaluation5.expectedResult=true
PolicyPeerRealmReferral3.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
##################################################################################################################
PolicyPeerRealmReferral4.noOfIdentities=2

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

PolicyPeerRealmReferral4.noOfPolicies=2

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

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

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

PolicyPeerRealmReferral4.policy0.noOfConditions=0

PolicyPeerRealmReferral4.policy0.noOfResponseProviders=0

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

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

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

PolicyPeerRealmReferral4.policy1.noOfConditions=0

PolicyPeerRealmReferral4.policy1.noOfResponseProviders=0

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

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

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

PolicyPeerRealmReferral4.evaluation3.resource=PolicyGlobal.resource35
PolicyPeerRealmReferral4.evaluation3.username=PolicyPeerRealmReferral4.identity1.name
PolicyPeerRealmReferral4.evaluation3.password=PolicyPeerRealmReferral4.identity1.name
PolicyPeerRealmReferral4.evaluation3.noOfEnvParamSet=0
PolicyPeerRealmReferral4.evaluation3.action=GET
PolicyPeerRealmReferral4.evaluation3.expectedResult=false
PolicyPeerRealmReferral4.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
##################################################################################################################
PolicyPeerRealmReferral5.noOfIdentities=2

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

PolicyPeerRealmReferral5.noOfPolicies=2

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

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

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

PolicyPeerRealmReferral5.policy0.noOfConditions=0

PolicyPeerRealmReferral5.policy0.noOfResponseProviders=0

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

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

PolicyPeerRealmReferral5.policy1.noOfConditions=0

PolicyPeerRealmReferral5.policy1.noOfResponseProviders=0

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

PolicyPeerRealmReferral5.evaluation2.resource=PolicyGlobal.resource52
PolicyPeerRealmReferral5.evaluation2.username=PolicyPeerRealmReferral5.identity1.name
PolicyPeerRealmReferral5.evaluation2.password=PolicyPeerRealmReferral5.identity1.name
PolicyPeerRealmReferral5.evaluation2.noOfEnvParamSet=0
PolicyPeerRealmReferral5.evaluation2.action=GET
PolicyPeerRealmReferral5.evaluation2.expectedResult=false
PolicyPeerRealmReferral5.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
##################################################################################################################
PolicyPeerRealmReferral6.noOfIdentities=2

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

PolicyPeerRealmReferral6.noOfPolicies=1

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

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

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

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

PolicyPeerRealmReferral6.policy0.noOfResponseProviders=0

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

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

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

#### Testcases for Policy3 ############
PolicyPeerRealmReferral6.evaluation3.resource=PolicyGlobal.resource60
PolicyPeerRealmReferral6.evaluation3.username=PolicyPeerRealmReferral6.identity1.name
PolicyPeerRealmReferral6.evaluation3.password=PolicyPeerRealmReferral6.identity1.name
PolicyPeerRealmReferral6.evaluation3.noOfEnvParamSet=2
PolicyPeerRealmReferral6.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyPeerRealmReferral6.evaluation3.envParamSet0.noOfValues=1
PolicyPeerRealmReferral6.evaluation3.envParamSet0.val0=ldapService
PolicyPeerRealmReferral6.evaluation3.envParamSet1.type=requestIp
PolicyPeerRealmReferral6.evaluation3.envParamSet1.noOfValues=1
PolicyPeerRealmReferral6.evaluation3.envParamSet1.val0=192.18.250.88
PolicyPeerRealmReferral6.evaluation3.action=GET
PolicyPeerRealmReferral6.evaluation3.expectedResult=false
PolicyPeerRealmReferral6.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
##################################################################################################################
PolicyPeerRealmReferral7.noOfIdentities=2

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

PolicyPeerRealmReferral7.noOfPolicies=2

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

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

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

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

PolicyPeerRealmReferral7.policy0.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral7.policy1.noOfResponseProviders=0

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

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

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

#### Testcases for Policy3 ############
PolicyPeerRealmReferral7.evaluation3.resource=PolicyGlobal.resource70
PolicyPeerRealmReferral7.evaluation3.username=PolicyPeerRealmReferral7.identity1.name
PolicyPeerRealmReferral7.evaluation3.password=PolicyPeerRealmReferral7.identity1.name
PolicyPeerRealmReferral7.evaluation3.noOfEnvParamSet=2
PolicyPeerRealmReferral7.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyPeerRealmReferral7.evaluation3.envParamSet0.noOfValues=1
PolicyPeerRealmReferral7.evaluation3.envParamSet0.val0=myldapService
PolicyPeerRealmReferral7.evaluation3.envParamSet1.type=requestIp
PolicyPeerRealmReferral7.evaluation3.envParamSet1.noOfValues=1
PolicyPeerRealmReferral7.evaluation3.envParamSet1.val0=192.18.250.88
PolicyPeerRealmReferral7.evaluation3.action=GET
PolicyPeerRealmReferral7.evaluation3.expectedResult=false
PolicyPeerRealmReferral7.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
#############################################################################################################
PolicyPeerRealmReferral8.noOfIdentities=2

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


PolicyPeerRealmReferral8.noOfPolicies=1

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

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

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

PolicyPeerRealmReferral8.policy0.noOfConditions=0
PolicyPeerRealmReferral8.policy0.noOfResponseProviders=0

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

PolicyPeerRealmReferral8.evaluation1.resource=PolicyGlobal.resource10
PolicyPeerRealmReferral8.evaluation1.username=PolicyPeerRealmReferral8.identity1.name
PolicyPeerRealmReferral8.evaluation1.password=PolicyPeerRealmReferral8.identity1.name
PolicyPeerRealmReferral8.evaluation1.noOfEnvParamSet=0
PolicyPeerRealmReferral8.evaluation1.action=GET
PolicyPeerRealmReferral8.evaluation1.expectedResult=true
PolicyPeerRealmReferral8.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
##################################################################################################################
PolicyPeerRealmReferral9.noOfIdentities=2

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

PolicyPeerRealmReferral9.noOfPolicies=1

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

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

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

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

PolicyPeerRealmReferral9.policy0.noOfResponseProviders=0

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

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

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

#### Testcases for Policy3 ############
PolicyPeerRealmReferral9.evaluation3.resource=PolicyGlobal.resource60
PolicyPeerRealmReferral9.evaluation3.username=PolicyPeerRealmReferral9.identity1.name
PolicyPeerRealmReferral9.evaluation3.password=PolicyPeerRealmReferral9.identity1.name
PolicyPeerRealmReferral9.evaluation3.noOfEnvParamSet=2
PolicyPeerRealmReferral9.evaluation3.envParamSet0.type=requestAuthenticatedToServices
PolicyPeerRealmReferral9.evaluation3.envParamSet0.noOfValues=1
PolicyPeerRealmReferral9.evaluation3.envParamSet0.val0=ldapService
PolicyPeerRealmReferral9.evaluation3.envParamSet1.type=requestIp
PolicyPeerRealmReferral9.evaluation3.envParamSet1.noOfValues=1
PolicyPeerRealmReferral9.evaluation3.envParamSet1.val0=192.18.250.88
PolicyPeerRealmReferral9.evaluation3.action=GET
PolicyPeerRealmReferral9.evaluation3.expectedResult=true
PolicyPeerRealmReferral9.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
##################################################################################################################
PolicyPeerRealmReferral10.noOfIdentities=2

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

PolicyPeerRealmReferral10.noOfPolicies=2

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

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

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

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

PolicyPeerRealmReferral10.policy0.noOfResponseProviders=0

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

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

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

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

PolicyPeerRealmReferral10.policy1.noOfResponseProviders=0

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

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

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

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


