DatabunkerPro Java Client Library
Repo securitybunker/databunkerpro-java, read from GitHub 21 min ago. securitybunker has not joined Take My Repo.
Encrypted per-user file storage is now available in the client: createFile, getFile, listUserFiles, replaceFileTags, deleteFile, plus bulkListFilesByTag for bulk lookups. Options are passed with the typed FileOptions builder (mimetype, tags, finaltime, slidingtime).
String filedata = Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get("passport.pdf"))); FileOptions fileOptions = FileOptions.builder() .mimetype("application/pdf") .tags(Arrays.asList("kyc", "passport")) .finaltime("365d") .build(); Map<String, Object> created = api.createFile("email", "user@example.com", "passport.pdf", filedata, fileOptions, null);
See the File Storage section of the README for the full lifecycle.
The client migrated off end-of-life Apache HttpClient 4.x to HttpClient 5 (org.apache.httpcomponents.client5:httpclient5 5.6.4). If your project pins HttpClient transitively, update that pin.
Internal DatabunkerPro web portal endpoints were removed from the client — they were never intended for SDK use:
preloginUserloginUsercreateCaptchagetUIConfgetTenantConfjackson-databind 2.13.4 → 2.22.1FileOptions.builder() factory for consistency with the other typed options classestestFileManagement integration test covering the full file lifecycleMaven, via GitHub Packages:
<dependency> <groupId>org.databunker</groupId> <artifactId>databunkerpro-java</artifactId> <version>1.1.0</version> </dependency>
Or via JitPack:
<dependency> <groupId>com.github.securitybunker</groupId> <artifactId>databunkerpro-java</artifactId> <version>v1.1.0</version> </dependency>
Full changelog: v1.0.0...v1.1.0