/* 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: AgentsTests.properties,v 1.6 2008/07/29 21:52:12 nithyas Exp $:
 *
 * Copyright 2007 Sun Microsystems Inc. All Rights Reserved
 */

#
# ATTRIBUTES FOR POLICY TEST 0
#
AgentsTests0.noOfIdentities=11

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

AgentsTests0.noOfPolicies=2

AgentsTests0.policy0.name=policy00
AgentsTests0.policy0.description=subject test 0
AgentsTests0.policy0.referral=false
AgentsTests0.policy0.active=true

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

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

AgentsTests0.policy0.noOfConditions=0

AgentsTests0.policy0.noOfResponseProviders=0

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

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

AgentsTests0.policy1.noOfSubjects=1
AgentsTests0.policy1.subject0.type=AuthenticatedUsers
AgentsTests0.policy1.subject0.name=test
AgentsTests0.policy1.subject0.includeType=inclusive
AgentsTests0.policy1.subject0.noOfAttributes=0

AgentsTests0.policy1.noOfConditions=0

AgentsTests0.policy1.noOfResponseProviders=0

AgentsTests0.evaluation0.resource=agentsGlobal.resource0
AgentsTests0.evaluation0.username=AgentsTests0.identity4.name
AgentsTests0.evaluation0.password=AgentsTests0.identity4.name
AgentsTests0.evaluation0.expectedResult=Allow Page
AgentsTests0.evaluation0.description=Access should be allowed as per policy definition this user belongs to AMIdentitySubject Subject

AgentsTests0.evaluation1.resource=agentsGlobal.resource0
AgentsTests0.evaluation1.username=AgentsTests0.identity6.name
AgentsTests0.evaluation1.password=AgentsTests0.identity6.name
AgentsTests0.evaluation1.expectedResult=Allow Page
AgentsTests0.evaluation1.description=Access should be allowed as per policy definition this user belongs to AMIdentityGroup Subject

AgentsTests0.evaluation2.resource=agentsGlobal.resource0
AgentsTests0.evaluation2.username=AgentsTests0.identity5.name
AgentsTests0.evaluation2.password=AgentsTests0.identity5.name
AgentsTests0.evaluation2.expectedResult=Allow Page
AgentsTests0.evaluation2.description=Access should be allowed as per policy definition this user belongs to AMIdentityRole Subject

AgentsTests0.evaluation3.resource=agentsGlobal.resource1
AgentsTests0.evaluation3.username=AgentsTests0.identity7.name
AgentsTests0.evaluation3.password=AgentsTests0.identity7.name
AgentsTests0.evaluation3.expectedResult=It works!
AgentsTests0.evaluation3.description=Access should be allowed as per policy definition this user belongs to AuthenticatedUsers Subject

AgentsTests0.evaluation4.resource=agentsGlobal.resource0
AgentsTests0.evaluation4.username=AgentsTests0.identity8.name
AgentsTests0.evaluation4.password=AgentsTests0.identity8.name
AgentsTests0.evaluation4.expectedResult=Access Denied
AgentsTests0.evaluation4.description=Access should be denied as per policy definition this user belongs to a group which does not belong to policy subjects

AgentsTests0.evaluation5.resource=agentsGlobal.resource0
AgentsTests0.evaluation5.username=AgentsTests0.identity9.name
AgentsTests0.evaluation5.password=AgentsTests0.identity9.name
AgentsTests0.evaluation5.expectedResult=Access Denied
AgentsTests0.evaluation5.description=Access should be denied as per policy definition this user belongs to a role which does not belong to policy subjects

AgentsTests0.evaluation6.resource=agentsGlobal.resource0
AgentsTests0.evaluation6.username=AgentsTests0.identity10.name
AgentsTests0.evaluation6.password=AgentsTests0.identity10.name
AgentsTests0.evaluation6.expectedResult=Access Denied
AgentsTests0.evaluation6.description=Access should be denied as per policy definition this user does not belong to any policy subjects
#
# ATTRIBUTES FOR POLICY TEST 1
#
AgentsTests1.noOfIdentities=1

AgentsTests1.identity0.name=dnsuser0
AgentsTests1.identity0.type=User
AgentsTests1.identity0.attributes=sn=dnsuser0,cn=dnsuser0,userpassword=dnsuser0,inetuserstatus=Active
AgentsTests1.identity0.isMemberOf=no

AgentsTests1.noOfPolicies=2

AgentsTests1.policy0.name=policy10
AgentsTests1.policy0.description=dns test 0
AgentsTests1.policy0.referral=false
AgentsTests1.policy0.active=true

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

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

AgentsTests1.policy0.noOfConditions=2
AgentsTests1.policy0.condition0.type=IPCondition
AgentsTests1.policy0.condition0.name=ip_condition0
AgentsTests1.policy0.condition0.noOfAttributes=1
AgentsTests1.policy0.condition0.att0=DnsName=*.red.iplanet.com
AgentsTests1.policy0.condition1.type=AuthSchemeCondition
AgentsTests1.policy0.condition1.name=ip_condition1
AgentsTests1.policy0.condition1.noOfAttributes=1
AgentsTests1.policy0.condition1.att0=AuthScheme=DataStore

AgentsTests1.policy0.noOfResponseProviders=0

AgentsTests1.policy1.name=policy11
AgentsTests1.policy1.description=dns test 0
AgentsTests1.policy1.referral=false
AgentsTests1.policy1.active=true

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

AgentsTests1.policy1.noOfSubjects=1
AgentsTests1.policy1.subject0.type=AMIdentitySubject
AgentsTests1.policy1.subject0.name=AmidUser
AgentsTests1.policy1.subject0.includeType=inclusive
AgentsTests1.policy1.subject0.noOfAttributes=1
AgentsTests1.policy1.subject0.att0=Values=AgentsTests1.identity0

AgentsTests1.policy1.noOfConditions=2
AgentsTests1.policy1.condition0.type=IPCondition
AgentsTests1.policy1.condition0.name=ip_condition0
AgentsTests1.policy1.condition0.noOfAttributes=1
AgentsTests1.policy1.condition0.att0=DnsName=*.hr.sun.com
AgentsTests1.policy1.condition1.type=AuthSchemeCondition
AgentsTests1.policy1.condition1.name=ip_condition1
AgentsTests1.policy1.condition1.noOfAttributes=1
AgentsTests1.policy1.condition1.att0=AuthScheme=DataStore

AgentsTests1.policy1.noOfResponseProviders=0

AgentsTests1.evaluation0.resource=agentsGlobal.resource17
AgentsTests1.evaluation0.username=AgentsTests1.identity0.name
AgentsTests1.evaluation0.password=AgentsTests1.identity0.name
AgentsTests1.evaluation0.expectedResult=Allow Page
AgentsTests1.evaluation0.description=Access should be allowed as per policy definition this resource satisfies the dns condition requirements

AgentsTests1.evaluation1.resource=agentsGlobal.resource2
AgentsTests1.evaluation1.username=AgentsTests1.identity0.name
AgentsTests1.evaluation1.password=AgentsTests1.identity0.name
AgentsTests1.evaluation1.expectedResult=Access Denied
AgentsTests1.evaluation1.description=Access should not be allowed as per policy definition this resource does not satisfy the dns
condition requirements
#
# ATTRIBUTES FOR POLICY TEST 2
#
AgentsTests2.noOfIdentities=3

AgentsTests2.identity0.name=ipuser0
AgentsTests2.identity0.type=User
AgentsTests2.identity0.attributes=sn=ipuser0,cn=ipuser0,userpassword=ipuser0,inetuserstatus=Active
AgentsTests2.identity0.isMemberOf=no
AgentsTests2.identity1.name=ipuser1
AgentsTests2.identity1.type=User
AgentsTests2.identity1.attributes=sn=ipuser1,cn=ipuser1,userpassword=ipuser1,inetuserstatus=Active
AgentsTests2.identity1.isMemberOf=no
AgentsTests2.identity2.name=ipdnsuser1
AgentsTests2.identity2.type=User
AgentsTests2.identity2.attributes=sn=ipdnsuser1,cn=ipdnsuser1,userpassword=ipdnsuser1,inetuserstatus=Active
AgentsTests2.identity2.isMemberOf=no

AgentsTests2.noOfPolicies=9

AgentsTests2.policy0.name=policy20
AgentsTests2.policy0.description=Policy Evaluation test with Valid IP Number
AgentsTests2.policy0.referral=false
AgentsTests2.policy0.active=true

AgentsTests2.policy0.noOfRules=1
AgentsTests2.policy0.rule0.name=rule0
AgentsTests2.policy0.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy0.rule0.resource=agentsGlobal.resource18
AgentsTests2.policy0.rule0.noOfActions=2
AgentsTests2.policy0.rule0.action0=GET=allow
AgentsTests2.policy0.rule0.action1=POST=allow

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

AgentsTests2.policy0.noOfConditions=2
AgentsTests2.policy0.condition0.type=IPCondition
AgentsTests2.policy0.condition0.name=ip_condition0
AgentsTests2.policy0.condition0.noOfAttributes=2
AgentsTests2.policy0.condition0.att0=StartIp=192.18.69.70
AgentsTests2.policy0.condition0.att1=EndIp=192.18.69.70
AgentsTests2.policy0.condition1.type=AuthSchemeCondition
AgentsTests2.policy0.condition1.name=ip_condition1
AgentsTests2.policy0.condition1.noOfAttributes=1
AgentsTests2.policy0.condition1.att0=AuthScheme=DataStore

AgentsTests2.policy0.noOfResponseProviders=0

AgentsTests2.policy1.name=policy21
AgentsTests2.policy1.description=Policy Evaluation test with Invalid IP Number
AgentsTests2.policy1.referral=false
AgentsTests2.policy1.active=true

AgentsTests2.policy1.noOfRules=1
AgentsTests2.policy1.rule0.name=rule0
AgentsTests2.policy1.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy1.rule0.resource=agentsGlobal.resource19
AgentsTests2.policy1.rule0.noOfActions=2
AgentsTests2.policy1.rule0.action0=GET=allow
AgentsTests2.policy1.rule0.action1=POST=allow

AgentsTests2.policy1.noOfSubjects=1
AgentsTests2.policy1.subject0.type=AMIdentitySubject
AgentsTests2.policy1.subject0.name=AmidUser
AgentsTests2.policy1.subject0.includeType=inclusive
AgentsTests2.policy1.subject0.noOfAttributes=1
AgentsTests2.policy1.subject0.att0=Values=AgentsTests2.identity0

AgentsTests2.policy1.noOfConditions=2
AgentsTests2.policy1.condition0.type=IPCondition
AgentsTests2.policy1.condition0.name=ip_condition0
AgentsTests2.policy1.condition0.noOfAttributes=2
AgentsTests2.policy1.condition0.att0=StartIp=192.18.1.86
AgentsTests2.policy1.condition0.att1=EndIp=192.18.4.86
AgentsTests2.policy1.condition1.type=AuthSchemeCondition
AgentsTests2.policy1.condition1.name=ip_condition1
AgentsTests2.policy1.condition1.noOfAttributes=1
AgentsTests2.policy1.condition1.att0=AuthScheme=DataStore

AgentsTests2.policy1.noOfResponseProviders=0

AgentsTests2.policy2.name=policy22
AgentsTests2.policy2.description=Policy Evaluation test with Valid IP Range
AgentsTests2.policy2.referral=false
AgentsTests2.policy2.active=true

AgentsTests2.policy2.noOfRules=1
AgentsTests2.policy2.rule0.name=rule0
AgentsTests2.policy2.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy2.rule0.resource=agentsGlobal.resource3
AgentsTests2.policy2.rule0.noOfActions=2
AgentsTests2.policy2.rule0.action0=GET=allow
AgentsTests2.policy2.rule0.action1=POST=allow

AgentsTests2.policy2.noOfSubjects=1
AgentsTests2.policy2.subject0.type=AMIdentitySubject
AgentsTests2.policy2.subject0.name=AmidUser
AgentsTests2.policy2.subject0.includeType=inclusive
AgentsTests2.policy2.subject0.noOfAttributes=1
AgentsTests2.policy2.subject0.att0=Values=AgentsTests2.identity1

AgentsTests2.policy2.noOfConditions=2
AgentsTests2.policy2.condition0.type=IPCondition
AgentsTests2.policy2.condition0.name=ip_condition0
AgentsTests2.policy2.condition0.noOfAttributes=2
AgentsTests2.policy2.condition0.att0=StartIp=192.18.69.65
AgentsTests2.policy2.condition0.att1=EndIp=192.18.69.75
AgentsTests2.policy2.condition1.type=AuthSchemeCondition
AgentsTests2.policy2.condition1.name=ip_condition1
AgentsTests2.policy2.condition1.noOfAttributes=1
AgentsTests2.policy2.condition1.att0=AuthScheme=DataStore

AgentsTests2.policy2.noOfResponseProviders=0

AgentsTests2.policy3.name=policy23
AgentsTests2.policy3.description=Policy Evaluation test with Invalid IP Range
AgentsTests2.policy3.referral=false
AgentsTests2.policy3.active=true

AgentsTests2.policy3.noOfRules=1
AgentsTests2.policy3.rule0.name=rule0
AgentsTests2.policy3.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy3.rule0.resource=agentsGlobal.resource4
AgentsTests2.policy3.rule0.noOfActions=2
AgentsTests2.policy3.rule0.action0=GET=allow
AgentsTests2.policy3.rule0.action1=POST=allow

AgentsTests2.policy3.noOfSubjects=1
AgentsTests2.policy3.subject0.type=AMIdentitySubject
AgentsTests2.policy3.subject0.name=AmidUser
AgentsTests2.policy3.subject0.includeType=inclusive
AgentsTests2.policy3.subject0.noOfAttributes=1
AgentsTests2.policy3.subject0.att0=Values=AgentsTests2.identity2

AgentsTests2.policy3.noOfConditions=3
AgentsTests2.policy3.condition0.type=IPCondition
AgentsTests2.policy3.condition0.name=ip_condition0
AgentsTests2.policy3.condition0.noOfAttributes=2
AgentsTests2.policy3.condition0.att0=StartIp=192.18.1.86
AgentsTests2.policy3.condition0.att1=EndIp=192.18.8.90
AgentsTests2.policy3.condition1.type=AuthSchemeCondition
AgentsTests2.policy3.condition1.name=ip_condition1
AgentsTests2.policy3.condition1.noOfAttributes=1
AgentsTests2.policy3.condition1.att0=AuthScheme=DataStore
AgentsTests2.policy3.condition2.type=IPCondition
AgentsTests2.policy3.condition2.name=ip_condition2
AgentsTests2.policy3.condition2.noOfAttributes=1
AgentsTests2.policy3.condition2.att0=DnsName=red.iplanet.com

AgentsTests2.policy3.noOfResponseProviders=0

AgentsTests2.policy4.name=policy24
AgentsTests2.policy4.description=Policy Evaluation test with Valid IP Range and Valid DNS
AgentsTests2.policy4.referral=false
AgentsTests2.policy4.active=true

AgentsTests2.policy4.noOfRules=1
AgentsTests2.policy4.rule0.name=rule0
AgentsTests2.policy4.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy4.rule0.resource=agentsGlobal.resource5
AgentsTests2.policy4.rule0.noOfActions=2
AgentsTests2.policy4.rule0.action0=GET=allow
AgentsTests2.policy4.rule0.action1=POST=allow

AgentsTests2.policy4.noOfSubjects=1
AgentsTests2.policy4.subject0.type=AMIdentitySubject
AgentsTests2.policy4.subject0.name=AmidUser
AgentsTests2.policy4.subject0.includeType=inclusive
AgentsTests2.policy4.subject0.noOfAttributes=1
AgentsTests2.policy4.subject0.att0=Values=AgentsTests2.identity2

AgentsTests2.policy4.noOfConditions=3
AgentsTests2.policy4.condition0.type=IPCondition
AgentsTests2.policy4.condition0.name=ip_condition0
AgentsTests2.policy4.condition0.noOfAttributes=2
AgentsTests2.policy4.condition0.att0=StartIp=192.18.69.65
AgentsTests2.policy4.condition0.att1=EndIp=192.18.69.75
AgentsTests2.policy4.condition1.type=AuthSchemeCondition
AgentsTests2.policy4.condition1.name=ip_condition1
AgentsTests2.policy4.condition1.noOfAttributes=1
AgentsTests2.policy4.condition1.att0=AuthScheme=DataStore
AgentsTests2.policy4.condition2.type=IPCondition
AgentsTests2.policy4.condition2.name=ip_condition2
AgentsTests2.policy4.condition2.noOfAttributes=1
AgentsTests2.policy4.condition2.att0=DnsName=red.iplanet.com

AgentsTests2.policy4.noOfResponseProviders=0

AgentsTests2.policy5.name=policy25
AgentsTests2.policy5.description=Policy Evaluation test with invalid IP Range and valid DNS
AgentsTests2.policy5.referral=false
AgentsTests2.policy5.active=true

AgentsTests2.policy5.noOfRules=1
AgentsTests2.policy5.rule0.name=rule0
AgentsTests2.policy5.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy5.rule0.resource=agentsGlobal.resource6
AgentsTests2.policy5.rule0.noOfActions=2
AgentsTests2.policy5.rule0.action0=GET=allow
AgentsTests2.policy5.rule0.action1=POST=allow

AgentsTests2.policy5.noOfSubjects=1
AgentsTests2.policy5.subject0.type=AMIdentitySubject
AgentsTests2.policy5.subject0.name=AmidUser
AgentsTests2.policy5.subject0.includeType=inclusive
AgentsTests2.policy5.subject0.noOfAttributes=1
AgentsTests2.policy5.subject0.att0=Values=AgentsTests2.identity2

AgentsTests2.policy5.noOfConditions=3
AgentsTests2.policy5.condition0.type=IPCondition
AgentsTests2.policy5.condition0.name=ip_condition0
AgentsTests2.policy5.condition0.noOfAttributes=2
AgentsTests2.policy5.condition0.att0=StartIp=192.18.118.86
AgentsTests2.policy5.condition0.att1=EndIp=192.18.118.90
AgentsTests2.policy5.condition1.type=AuthSchemeCondition
AgentsTests2.policy5.condition1.name=ip_condition1
AgentsTests2.policy5.condition1.noOfAttributes=1
AgentsTests2.policy5.condition1.att0=AuthScheme=DataStore
AgentsTests2.policy5.condition2.type=IPCondition
AgentsTests2.policy5.condition2.name=ip_condition2
AgentsTests2.policy5.condition2.noOfAttributes=1
AgentsTests2.policy5.condition2.att0=DnsName=red.iplanet.com

AgentsTests2.policy5.noOfResponseProviders=0

AgentsTests2.policy6.name=policy26
AgentsTests2.policy6.description=Policy Evaluation test with valid IP Range and invalid DNS
AgentsTests2.policy6.referral=false
AgentsTests2.policy6.active=true

AgentsTests2.policy6.noOfRules=1
AgentsTests2.policy6.rule0.name=rule0
AgentsTests2.policy6.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy6.rule0.resource=agentsGlobal.resource7
AgentsTests2.policy6.rule0.noOfActions=2
AgentsTests2.policy6.rule0.action0=GET=allow
AgentsTests2.policy6.rule0.action1=POST=allow

AgentsTests2.policy6.noOfSubjects=1
AgentsTests2.policy6.subject0.type=AMIdentitySubject
AgentsTests2.policy6.subject0.name=AmidUser
AgentsTests2.policy6.subject0.includeType=inclusive
AgentsTests2.policy6.subject0.noOfAttributes=1
AgentsTests2.policy6.subject0.att0=Values=AgentsTests2.identity2

AgentsTests2.policy6.noOfConditions=3
AgentsTests2.policy6.condition0.type=IPCondition
AgentsTests2.policy6.condition0.name=ip_condition0
AgentsTests2.policy6.condition0.noOfAttributes=2
AgentsTests2.policy6.condition0.att0=StartIp=192.18.69.65
AgentsTests2.policy6.condition0.att1=EndIp=192.18.69.75
AgentsTests2.policy6.condition1.type=AuthSchemeCondition
AgentsTests2.policy6.condition1.name=ip_condition1
AgentsTests2.policy6.condition1.noOfAttributes=1
AgentsTests2.policy6.condition1.att0=AuthScheme=DataStore
AgentsTests2.policy6.condition2.type=IPCondition
AgentsTests2.policy6.condition2.name=ip_condition2
AgentsTests2.policy6.condition2.noOfAttributes=1
AgentsTests2.policy6.condition2.att0=DnsName=hr.sun.com

AgentsTests2.policy6.noOfResponseProviders=0

AgentsTests2.policy7.name=policy27
AgentsTests2.policy7.description=Policy Evaluation test with invalid IP Range and invalid DNS
AgentsTests2.policy7.referral=false
AgentsTests2.policy7.active=true

AgentsTests2.policy7.noOfRules=1
AgentsTests2.policy7.rule0.name=rule0
AgentsTests2.policy7.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy7.rule0.resource=agentsGlobal.resource8
AgentsTests2.policy7.rule0.noOfActions=2
AgentsTests2.policy7.rule0.action0=GET=allow
AgentsTests2.policy7.rule0.action1=POST=allow

AgentsTests2.policy7.noOfSubjects=1
AgentsTests2.policy7.subject0.type=AMIdentitySubject
AgentsTests2.policy7.subject0.name=AmidUser
AgentsTests2.policy7.subject0.includeType=inclusive
AgentsTests2.policy7.subject0.noOfAttributes=1
AgentsTests2.policy7.subject0.att0=Values=AgentsTests2.identity2

AgentsTests2.policy7.noOfConditions=3
AgentsTests2.policy7.condition0.type=IPCondition
AgentsTests2.policy7.condition0.name=ip_condition0
AgentsTests2.policy7.condition0.noOfAttributes=2
AgentsTests2.policy7.condition0.att0=StartIp=192.18.118.86
AgentsTests2.policy7.condition0.att1=EndIp=192.18.118.90
AgentsTests2.policy7.condition1.type=AuthSchemeCondition
AgentsTests2.policy7.condition1.name=ip_condition1
AgentsTests2.policy7.condition1.noOfAttributes=1
AgentsTests2.policy7.condition1.att0=AuthScheme=DataStore
AgentsTests2.policy7.condition2.type=IPCondition
AgentsTests2.policy7.condition2.name=ip_condition2
AgentsTests2.policy7.condition2.noOfAttributes=1
AgentsTests2.policy7.condition2.att0=DnsName=hr.sun.com

AgentsTests2.policy7.noOfResponseProviders=0

AgentsTests2.policy8.name=policy28
AgentsTests2.policy8.description=Policy Evaluation test with invalid auth, valid IP Range and valid DNS
AgentsTests2.policy8.referral=false
AgentsTests2.policy8.active=true

AgentsTests2.policy8.noOfRules=1
AgentsTests2.policy8.rule0.name=rule0
AgentsTests2.policy8.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests2.policy8.rule0.resource=agentsGlobal.resource9
AgentsTests2.policy8.rule0.noOfActions=2
AgentsTests2.policy8.rule0.action0=GET=allow
AgentsTests2.policy8.rule0.action1=POST=allow

AgentsTests2.policy8.noOfSubjects=1
AgentsTests2.policy8.subject0.type=AMIdentitySubject
AgentsTests2.policy8.subject0.name=AmidUser
AgentsTests2.policy8.subject0.includeType=inclusive
AgentsTests2.policy8.subject0.noOfAttributes=1
AgentsTests2.policy8.subject0.att0=Values=AgentsTests2.identity2

AgentsTests2.policy8.noOfConditions=3
AgentsTests2.policy8.condition0.type=IPCondition
AgentsTests2.policy8.condition0.name=ip_condition0
AgentsTests2.policy8.condition0.noOfAttributes=2
AgentsTests2.policy8.condition0.att0=StartIp=192.18.69.65
AgentsTests2.policy8.condition0.att1=EndIp=192.18.69.75
AgentsTests2.policy8.condition1.type=AuthSchemeCondition
AgentsTests2.policy8.condition1.name=ip_condition1
AgentsTests2.policy8.condition1.noOfAttributes=1
AgentsTests2.policy8.condition1.att0=AuthScheme=NoDataStore
AgentsTests2.policy8.condition2.type=IPCondition
AgentsTests2.policy8.condition2.name=ip_condition2
AgentsTests2.policy8.condition2.noOfAttributes=1
AgentsTests2.policy8.condition2.att0=DnsName=red.iplanet.com

AgentsTests2.policy8.noOfResponseProviders=0

AgentsTests2.evaluation0.resource=agentsGlobal.resource18
AgentsTests2.evaluation0.username=AgentsTests2.identity0.name
AgentsTests2.evaluation0.password=AgentsTests2.identity0.name
AgentsTests2.evaluation0.expectedResult=Allow Page
AgentsTests2.evaluation0.description=valid exact IP address -- user should be allowed

AgentsTests2.evaluation1.resource=agentsGlobal.resource19
AgentsTests2.evaluation1.username=AgentsTests2.identity0.name
AgentsTests2.evaluation1.password=AgentsTests2.identity0.name
AgentsTests2.evaluation1.expectedResult=Access Denied
AgentsTests2.evaluation1.description=invalid ip address --should be denied

AgentsTests2.evaluation2.resource=agentsGlobal.resource3
AgentsTests2.evaluation2.username=AgentsTests2.identity1.name
AgentsTests2.evaluation2.password=AgentsTests2.identity1.name
AgentsTests2.evaluation2.expectedResult=Allow Page
AgentsTests2.evaluation2.description=valid IP address within range -- should be allowed

AgentsTests2.evaluation3.resource=agentsGlobal.resource4
AgentsTests2.evaluation3.username=AgentsTests2.identity1.name
AgentsTests2.evaluation3.password=AgentsTests2.identity1.name
AgentsTests2.evaluation3.expectedResult=Access Denied
AgentsTests2.evaluation3.description=valid IP address out of range -- should be denied

AgentsTests2.evaluation4.resource=agentsGlobal.resource5
AgentsTests2.evaluation4.username=AgentsTests2.identity2.name
AgentsTests2.evaluation4.password=AgentsTests2.identity2.name
AgentsTests2.evaluation4.expectedResult=Allow Page
AgentsTests2.evaluation4.description=both ip and dns are valid --- should be allowed

AgentsTests2.evaluation5.resource=agentsGlobal.resource6
AgentsTests2.evaluation5.username=AgentsTests2.identity2.name
AgentsTests2.evaluation5.password=AgentsTests2.identity2.name
AgentsTests2.evaluation5.expectedResult=Access Denied
AgentsTests2.evaluation5.description=valid dns with invalid ip-- access should be allowed

AgentsTests2.evaluation6.resource=agentsGlobal.resource7
AgentsTests2.evaluation6.username=AgentsTests2.identity2.name
AgentsTests2.evaluation6.password=AgentsTests2.identity2.name
AgentsTests2.evaluation6.expectedResult=Allow Page
AgentsTests2.evaluation6.description=invalid dns with valid ip-- access should be allowed

AgentsTests2.evaluation7.resource=agentsGlobal.resource8
AgentsTests2.evaluation7.username=AgentsTests2.identity2.name
AgentsTests2.evaluation7.password=AgentsTests2.identity2.name
AgentsTests2.evaluation7.expectedResult=Access Denied
AgentsTests2.evaluation7.description=invalid dns with invalid IP-- access should be denied

AgentsTests2.evaluation8.resource=agentsGlobal.resource9
AgentsTests2.evaluation8.username=AgentsTests2.identity2.name
AgentsTests2.evaluation8.password=AgentsTests2.identity2.name
AgentsTests2.evaluation8.expectedResult=No configuration found
AgentsTests2.evaluation8.description=invalid auth with valid IP and dns -- access should be denied
#
# ATTRIBUTES FOR POLICY TEST 3
#
AgentsTests3.noOfIdentities=1
AgentsTests3.identity0.name=user30
AgentsTests3.identity0.type=User
AgentsTests3.identity0.attributes=sn=user30,cn=user30,userpassword=user30,inetuserstatus=Active
AgentsTests3.identity0.isMemberOf=no

AgentsTests3.noOfPolicies=1

AgentsTests3.policy0.name=policy30
AgentsTests3.policy0.description=Policy Evaluation test for inactive policy
AgentsTests3.policy0.referral=false
AgentsTests3.policy0.active=false

AgentsTests3.policy0.noOfRules=1
AgentsTests3.policy0.rule0.name=rule0
AgentsTests3.policy0.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests3.policy0.rule0.resource=agentsGlobal.resource20
AgentsTests3.policy0.rule0.noOfActions=2
AgentsTests3.policy0.rule0.action0=GET=allow
AgentsTests3.policy0.rule0.action1=POST=allow

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

AgentsTests3.policy0.noOfConditions=2
AgentsTests3.policy0.condition0.type=AuthLevelCondition
AgentsTests3.policy0.condition0.name=condition0
AgentsTests3.policy0.condition0.noOfAttributes=1
AgentsTests3.policy0.condition0.att0=AuthLevel=0
AgentsTests3.policy0.condition1.type=AuthSchemeCondition
AgentsTests3.policy0.condition1.name=condition1
AgentsTests3.policy0.condition1.noOfAttributes=1
AgentsTests3.policy0.condition1.att0=AuthScheme=DataStore

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

AgentsTests3.evaluation0.resource=agentsGlobal.resource20
AgentsTests3.evaluation0.username=AgentsTests3.identity0.name
AgentsTests3.evaluation0.password=AgentsTests3.identity0.name
AgentsTests3.evaluation0.expectedResult=Access Denied
AgentsTests3.evaluation0.description=all conditions,resource and subject match but policy inactive
#
# ATTRIBUTES FOR POLICY TEST 4
#
AgentsTests4.noOfIdentities=1

AgentsTests4.identity0.name=ruleuser0
AgentsTests4.identity0.type=User
AgentsTests4.identity0.attributes=sn=ruleuser0,cn=ruleuser0,userpassword=ruleuser0,inetuserstatus=Active
AgentsTests4.identity0.isMemberOf=no

AgentsTests4.noOfPolicies=4

AgentsTests4.policy0.name=policy40
AgentsTests4.policy0.description=Policy Evaluation test for different rules
AgentsTests4.policy0.referral=false
AgentsTests4.policy0.active=true

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

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

AgentsTests4.policy0.noOfConditions=0

AgentsTests4.policy0.noOfResponseProviders=0

AgentsTests4.policy1.name=policy41
AgentsTests4.policy1.description=Policy Evaluation test for different rules
AgentsTests4.policy1.referral=false
AgentsTests4.policy1.active=true

AgentsTests4.policy1.noOfRules=1
AgentsTests4.policy1.rule0.name=rule0
AgentsTests4.policy1.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests4.policy1.rule0.resource=agentsGlobal.resource11
AgentsTests4.policy1.rule0.noOfActions=2
AgentsTests4.policy1.rule0.action0=GET=allow
AgentsTests4.policy1.rule0.action1=POST=allow

AgentsTests4.policy1.noOfSubjects=1
AgentsTests4.policy1.subject0.type=AMIdentitySubject
AgentsTests4.policy1.subject0.name=AmidUser
AgentsTests4.policy1.subject0.includeType=inclusive
AgentsTests4.policy1.subject0.noOfAttributes=1
AgentsTests4.policy1.subject0.att0=Values=AgentsTests4.identity0

AgentsTests4.policy1.noOfConditions=0

AgentsTests4.policy1.noOfResponseProviders=0

AgentsTests4.policy2.name=policy42
AgentsTests4.policy2.description=Policy Evaluation test for different rules
AgentsTests4.policy2.referral=false
AgentsTests4.policy2.active=true

AgentsTests4.policy2.noOfRules=1
AgentsTests4.policy2.rule0.name=rule0
AgentsTests4.policy2.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests4.policy2.rule0.resource=agentsGlobal.resource12
AgentsTests4.policy2.rule0.noOfActions=2
AgentsTests4.policy2.rule0.action0=GET=allow
AgentsTests4.policy2.rule0.action1=POST=allow

AgentsTests4.policy2.noOfSubjects=1
AgentsTests4.policy2.subject0.type=AMIdentitySubject
AgentsTests4.policy2.subject0.name=AmidUser
AgentsTests4.policy2.subject0.includeType=inclusive
AgentsTests4.policy2.subject0.noOfAttributes=1
AgentsTests4.policy2.subject0.att0=Values=AgentsTests4.identity0

AgentsTests4.policy2.noOfConditions=0

AgentsTests4.policy2.noOfResponseProviders=0

AgentsTests4.policy3.name=policy43
AgentsTests4.policy3.description=Policy Evaluation test for different rules
AgentsTests4.policy3.referral=false
AgentsTests4.policy3.active=true

AgentsTests4.policy3.noOfRules=1
AgentsTests4.policy3.rule0.name=rule0
AgentsTests4.policy3.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests4.policy3.rule0.resource=agentsGlobal.resource13
AgentsTests4.policy3.rule0.noOfActions=2
AgentsTests4.policy3.rule0.action0=GET=allow
AgentsTests4.policy3.rule0.action1=POST=allow

AgentsTests4.policy3.noOfSubjects=1
AgentsTests4.policy3.subject0.type=AMIdentitySubject
AgentsTests4.policy3.subject0.name=AmidUser
AgentsTests4.policy3.subject0.includeType=inclusive
AgentsTests4.policy3.subject0.noOfAttributes=1
AgentsTests4.policy3.subject0.att0=Values=AgentsTests4.identity0

AgentsTests4.policy3.noOfConditions=0

AgentsTests4.policy3.noOfResponseProviders=0

AgentsTests4.evaluation0.resource=agentsGlobal.resource0
AgentsTests4.evaluation0.username=AgentsTests4.identity0.name
AgentsTests4.evaluation0.password=AgentsTests4.identity0.name
AgentsTests4.evaluation0.expectedResult=Allow Page
AgentsTests4.evaluation0.description=valid url with *.html

AgentsTests4.evaluation1.resource=agentsGlobal.resource14
AgentsTests4.evaluation1.username=AgentsTests4.identity0.name
AgentsTests4.evaluation1.password=AgentsTests4.identity0.name
AgentsTests4.evaluation1.expectedResult=Access Denied
AgentsTests4.evaluation1.description=invalid URL with *.gif for *.html

AgentsTests4.evaluation2.resource=agentsGlobal.resource15
AgentsTests4.evaluation2.username=AgentsTests4.identity0.name
AgentsTests4.evaluation2.password=AgentsTests4.identity0.name
AgentsTests4.evaluation2.expectedResult=Access Denied
AgentsTests4.evaluation2.description=invalid URL with *.txt for *.html

AgentsTests4.evaluation3.resource=agentsGlobal.resource16
AgentsTests4.evaluation3.username=AgentsTests4.identity0.name
AgentsTests4.evaluation3.password=AgentsTests4.identity0.name
AgentsTests4.evaluation3.expectedResult=Not Found
AgentsTests4.evaluation3.description=Wild card in resource name-- invalid resource

#
# ATTRIBUTES FOR POLICY TEST 5
#
AgentsTests5.noOfIdentities=1

AgentsTests5.noOfPolicies=2

AgentsTests5.identity0.name=user50
AgentsTests5.identity0.type=User
AgentsTests5.identity0.attributes=sn=user50,cn=user50,userpassword=user50,inetuserstatus=Active
AgentsTests5.identity0.isMemberOf=no


AgentsTests5.policy0.name=policy50
AgentsTests5.policy0.description=Policy Evaluation test for conflicting policies
AgentsTests5.policy0.referral=false
AgentsTests5.policy0.active=true

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

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

AgentsTests5.policy0.noOfConditions=0

AgentsTests5.policy0.noOfResponseProviders=0

AgentsTests5.policy1.name=policy51
AgentsTests5.policy1.description=Policy Evaluation test for conflicting policies
AgentsTests5.policy1.referral=false
AgentsTests5.policy1.active=true

AgentsTests5.policy1.noOfRules=1
AgentsTests5.policy1.rule0.name=rule0
AgentsTests5.policy1.rule0.serviceName=iPlanetAMWebAgentService
AgentsTests5.policy1.rule0.resource=agentsGlobal.resource0
AgentsTests5.policy1.rule0.noOfActions=2
AgentsTests5.policy1.rule0.action0=GET=deny
AgentsTests5.policy1.rule0.action1=POST=allow

AgentsTests5.policy1.noOfSubjects=1
AgentsTests5.policy1.subject0.type=AuthenticatedUsers
AgentsTests5.policy1.subject0.name=testAuthUsers
AgentsTests5.policy1.subject0.includeType=inclusive
AgentsTests5.policy1.subject0.noOfAttributes=0

AgentsTests5.policy1.noOfConditions=0
AgentsTests5.policy1.noOfResponseProviders=0

AgentsTests5.evaluation0.resource=agentsGlobal.resource0
AgentsTests5.evaluation0.username=AgentsTests5.identity0.name
AgentsTests5.evaluation0.password=AgentsTests5.identity0.name
AgentsTests5.evaluation0.expectedResult=Access Denied
AgentsTests5.evaluation0.description=Conflicting Policies, DENY takes precedence
