From 07271fc3d44aa25ef5cf2971e0c65eeda2e36e62 Mon Sep 17 00:00:00 2001 From: Steffen Jacobs Date: Wed, 3 Apr 2019 18:10:03 +0200 Subject: [PATCH] Bug 4894: added doPermissionCheckForGetFile method to DummyFileStorageService --- .../filestorage/testsupport/DummyFileStorageService.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/testsupport/DummyFileStorageService.java b/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/testsupport/DummyFileStorageService.java index 71e053110ae..927d0d32c16 100644 --- a/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/testsupport/DummyFileStorageService.java +++ b/java/com.sap.sse.filestorage/src/com/sap/sse/filestorage/testsupport/DummyFileStorageService.java @@ -5,6 +5,8 @@ import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; +import org.apache.shiro.authz.UnauthorizedException; + import com.sap.sse.filestorage.FileStorageService; import com.sap.sse.filestorage.InvalidPropertiesException; import com.sap.sse.filestorage.OperationFailedException; @@ -42,4 +44,8 @@ public class DummyFileStorageService extends BaseFileStorageServiceImpl implemen public void testProperties() throws InvalidPropertiesException { } + @Override + public void doPermissionCheckForGetFile(URI uri) throws UnauthorizedException { + } + }