Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0">
    <scr:component name="org.apache.sling.security.impl.ReferrerFilter" activate="activate" deactivate="deactivate">
        <implementation class="org.apache.sling.security.impl.ReferrerFilter"/>
        <service servicefactory="false">
            <provide interface="javax.servlet.Filter"/>
        </service>
        <property name="pattern" value="/.*"/>
        <property name="allow.empty" type="Boolean" value="true"/>
        <property name="allow.hosts"/>
        <property name="allow.hosts.regexp"/>
        <property name="filter.methods">
            POST
            PUT
            DELETE
        </property>
        <property name="service.vendor" value="The Apache Software Foundation"/>
        <property name="service.pid" value="org.apache.sling.security.impl.ReferrerFilter"/>
    </scr:component>
</components>
New to GrepCode? Check out our FAQ X