trinodb / aws-proxy

Proxy for S3
Apache License 2.0
7 stars 3 forks source link

Improve the design of `SecurityResponse` #117

Closed Randgalt closed 1 month ago

Randgalt commented 1 month ago

With the latest Java, we can have a more modern definition for SecurityResponse as a sealed hierarchy with explicit Success and Failure types. This makes it easier to understand and use properly.

Java is indistinguishable from Scala :D