remove pattern matching for now
This commit is contained in:
@@ -270,12 +270,12 @@ public class SecurityConfiguration {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only Dev test
|
// // Only Dev test
|
||||||
@Bean
|
// @Bean
|
||||||
public WebSecurityCustomizer webSecurityCustomizer() {
|
// public WebSecurityCustomizer webSecurityCustomizer() {
|
||||||
return (web) ->
|
// return (web) ->
|
||||||
web.ignoring()
|
// web.ignoring()
|
||||||
.requestMatchers(
|
// .requestMatchers(
|
||||||
"/css/**", "/images/**", "/js/**", "/**.svg", "/pdfjs-legacy/**");
|
// "/css/**", "/images/**", "/js/**", "/**.svg", "/pdfjs-legacy/**");
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ public class CustomPDDocumentFactory {
|
|||||||
return createNewBytesBasedOnOldDocument(document);
|
return createNewBytesBasedOnOldDocument(document);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public byte[] createNewBytesBasedOnOldDocument(PDDocument oldDocument) throws IOException {
|
public byte[] createNewBytesBasedOnOldDocument(PDDocument oldDocument) throws IOException {
|
||||||
pdfMetadataService.setMetadataToPdf(
|
pdfMetadataService.setMetadataToPdf(
|
||||||
oldDocument, pdfMetadataService.extractMetadataFromPdf(oldDocument), true);
|
oldDocument, pdfMetadataService.extractMetadataFromPdf(oldDocument), true);
|
||||||
|
|||||||
Reference in New Issue
Block a user