Skip to content

ReadOnlyInterceptor

Markus Sabadello edited this page Jul 10, 2014 · 4 revisions

This interceptor throws an exception when $set or $del operations are attempted on given contexts of the target graph.

Interfaces and Classes

Properties

  • readOnlyAddresses: A list of XDI addresses of read-only context nodes in the graph.

Example Spring Bean

<bean class="xdi2.messaging.target.interceptor.impl.ReadOnlyInterceptor">
	<property name="readOnlyAddresses">
		<util:list>
			<value>[=]:uuid:!1111&lt;#email&gt;</value>
			<value>[=]:uuid:!1111&lt;#name&gt;</value>
		</util:list>
	</property>
</bean>
Clone this wiki locally