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>

XDI2

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.