<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Requests
    PUBLIC "-//iPlanet//iDSAME 5.0 Admin CLI DTD//EN"
    "file:%IDSAME_BASEDIR%/SUNWam/dtd/amAdmin.dtd"
>
<Requests>

  <SchemaRequests serviceName="iPlanetAMAdminConsoleService" SchemaType="Global">
    <AddDefaultValues>
      <AttributeValuePair>
        <Attribute name="iplanet-am-console-service-view-bean"/>
        <Value>srapNetletService|%DYNAMIC_URI%/netletadmin/NetletAdminUserProfile</Value>
      </AttributeValuePair>
    </AddDefaultValues>
  </SchemaRequests>

  <OrganizationRequests DN="%ORG_DN%">
    <RegisterServices>
      <Service_Name>srapNetletService</Service_Name>
    </RegisterServices>
  </OrganizationRequests>

  <OrganizationRequests DN="%ORG_DN%">
    <CreateServiceTemplate>
      <Service_Name>srapNetletService</Service_Name>
    </CreateServiceTemplate>
  </OrganizationRequests>

  <OrganizationRequests DN="%ORG_DN%">
    <CreatePolicy createDN="%ORG_DN%">
      <Policy name="Ability to execute SRA Netlet" referralPolicy="false">
        <Rule name="Ability to execute SRA Netlet">
          <ServiceName name="srapNetletService" />
          <AttributeValuePair>
            <Attribute name="sunPortalNetletExecute" />
            <Value>true</Value>
          </AttributeValuePair>
        </Rule>
        <Subjects name="OrgEnableNetletExecute" description="">
          <Subject name="OrgEnableNetletExecute" type="Organization">
            <AttributeValuePair>
              <Attribute name="Values"/>
              <Value>%ORG_DN%</Value>
            </AttributeValuePair>
          </Subject>
        </Subjects>
      </Policy>
    </CreatePolicy>
  </OrganizationRequests>

</Requests>
