private void writeContextNoOp(Context context, XMLEventWriter writer) throws XMLStreamException { putStartTag(writer, QNAME_TAG_NOOP); putCharacters(writer, String.valueOf(context.getNoOp())); putEndTag(writer, QNAME_TAG_NOOP); }
private void writeContextNoOp(Context context, XMLEventWriter writer) throws XMLStreamException { putStartTag(writer, QNAME_TAG_NOOP); putCharacters(writer, String.valueOf(context.getNoOp())); putEndTag(writer, QNAME_TAG_NOOP); }
if (context.getNoOp()) { throw new AuthzPermittedException("noOp");
/** * A "copy constructor" that creates a writable context from one that might * be read-only. */ public JournalEntryContext(Context source) { password = source.getPassword(); noOp = source.getNoOp(); now = source.now(); for (Iterator<URI> keys = source.environmentAttributes(); keys.hasNext();) { URI key = keys.next(); storeInMap(environmentAttributes, key, source .getEnvironmentValues(key)); } for (Iterator<String> keys = source.subjectAttributes(); keys.hasNext();) { String key = keys.next(); storeInMap(subjectAttributes, key, source.getSubjectValues(key)); } for (Iterator<URI> keys = source.actionAttributes(); keys.hasNext();) { URI key = keys.next(); storeInMap(actionAttributes, key, source.getActionValues(key)); } for (Iterator<URI> keys = source.resourceAttributes(); keys.hasNext();) { URI key = keys.next(); storeInMap(resourceAttributes, key, source.getResourceValues(key)); } }
if (context.getNoOp()) { throw new AuthzPermittedException("noOp");
if (context.getNoOp()) { throw new AuthzPermittedException("noOp");
/** * A "copy constructor" that creates a writable context from one that might * be read-only. */ public JournalEntryContext(Context source) { password = source.getPassword(); noOp = source.getNoOp(); now = source.now(); for (Iterator<URI> keys = source.environmentAttributes(); keys.hasNext();) { URI key = keys.next(); storeInMap(environmentAttributes, key, source .getEnvironmentValues(key)); } for (Iterator<String> keys = source.subjectAttributes(); keys.hasNext();) { String key = keys.next(); storeInMap(subjectAttributes, key, source.getSubjectValues(key)); } for (Iterator<URI> keys = source.actionAttributes(); keys.hasNext();) { URI key = keys.next(); storeInMap(actionAttributes, key, source.getActionValues(key)); } for (Iterator<URI> keys = source.resourceAttributes(); keys.hasNext();) { URI key = keys.next(); storeInMap(resourceAttributes, key, source.getResourceValues(key)); } }
if (context.getNoOp()) { throw new AuthzPermittedException("noOp");
if (context.getNoOp()) { throw new AuthzPermittedException("noOp");