Is there a way to set the Author property to a PDF document by setting a parameter when calling Jasper from Java.
JRExporter became deprecated in 5.6 according to this post. I got it to work doing this:
...
final JRPdfExporter exporter = new JRPdfExporter();
exporter.setExporterInput(new SimpleExporterInput(jasperPrint));
final SimplePdfExporterConfiguration configuration = new SimplePdfExporterConfiguration();
configuration.setMetadataTitle(title);
configuration.setMetadataAuthor(author);
configuration.setMetadataCreator(creator);
configuration.setMetadataSubject(subject);
configuration.setMetadataKeywords(keywords);
...