All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xacml-policies.examples.example-repository-policies.draconian-restrictions.deny-if-modified-after.xml Maven / Gradle / Ivy

Go to download

The Fedora Client is a Java Library that allows API access to a Fedora Repository. The client is typically one part of a full Fedora installation.

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<Policy xmlns="urn:oasis:names:tc:xacml:1.0:policy"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        PolicyId="deny-if-modified-after"
        RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable">
  <Description> </Description>
  <Target>
    <Subjects>
      <AnySubject/> 
    </Subjects>
    <Resources>
      <Resource>
        <ResourceMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:dateTime-less-than">
          <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#dateTime">2006-01-01T00:00:00.000Z</AttributeValue>
          <ResourceAttributeDesignator AttributeId="urn:fedora:names:fedora:2.1:resource:object:lastModifiedDate" 
            DataType="http://www.w3.org/2001/XMLSchema#dateTime"/>
        </ResourceMatch>
      </Resource>
    </Resources>
    <Actions>
      <AnyAction/>
    </Actions>    
  </Target>
  <Rule RuleId="1" Effect="Deny"/>
</Policy>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy