throws AuthzException {
try {
logger.debug("Entered enforceExport");
String target = Constants.ACTION.EXPORT.uri;
context.setActionAttributes(null);
MultiValueMap resourceAttributes = new MultiValueMap();
String name = null;
try {
name = Constants.OBJECT.FORMAT_URI.uri;
resourceAttributes.set(name, format);
name = Constants.OBJECT.CONTEXT.uri;
resourceAttributes.set(name, exportContext);
name = Constants.OBJECT.ENCODING.uri;
resourceAttributes.set(name, exportEncoding);
} catch (Exception e) {
context.setResourceAttributes(null);
throw new AuthzOperationalException(target + " couldn't set "
+ name, e);
}