I am trying to include a file in other file using FieldIncludeText. Both the files are in jackrabbit content repository with authentication protection. Without authentication token we can not read or write the data from repository.
When i try to replace the file using
fieldIncludeText.setSourceFullName("http://localhost:8080/jackrabbit-webapp-2.16.2/repository/default/SampleDoc.docx");
its not working as it requires some authentication token but we can not pass the authentication header here.
Do we have any other solution to include a file.