OPC-UA server / read only tags


I’m writing a small module in java to be put in ignition. I’m trying
to expose tag to OPC-UA client as described on your website. I’m able
to expose tag and to override the write handler as decribed on the
user manual :

ourProvider = new SimpleTagProvider(“DynamicTags”);

ourTagType = TagType.Custom;
TagEditingFlags.STANDARD_STATUS, null);

ourProvider.configureTag(tag.getKey(), tag.getDataType(),

ourProvider.registerWriteHandler(tag.getKey(), new WriteHandler() {
public Quality write(TagPath target, Object value) {

But each tag I create has a read/right access when I connect a OPC-UA
client to the gateway. Is there a java way to configure tag in read
only mode?