@@ -25,6 +25,7 @@ public enum AwsCredentialsUtils {
2525
2626 /**
2727 * @return an authorization predicate that ensures the authorization header matches the given access key, region and service name.
28+ * @see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">AWS v4 Signatures</a>
2829 */
2930 public static BiPredicate <String , String > fixedAccessKey (String accessKey , String region , String service ) {
3031 return mutableAccessKey (() -> accessKey , region , service );
@@ -33,6 +34,7 @@ public static BiPredicate<String, String> fixedAccessKey(String accessKey, Strin
3334 /**
3435 * @return an authorization predicate that ensures the authorization header matches the access key supplied by the given supplier,
3536 * and also matches the given region and service name.
37+ * @see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">AWS v4 Signatures</a>
3638 */
3739 public static BiPredicate <String , String > mutableAccessKey (Supplier <String > accessKeySupplier , String region , String service ) {
3840 return (authorizationHeader , sessionTokenHeader ) -> {
@@ -58,6 +60,7 @@ public static BiPredicate<String, String> mutableAccessKey(Supplier<String> acce
5860
5961 /**
6062 * @return an authorization predicate that ensures the access key, session token, region and service name all match the given values.
63+ * @see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">AWS v4 Signatures</a>
6164 */
6265 public static BiPredicate <String , String > fixedAccessKeyAndToken (String accessKey , String sessionToken , String region , String service ) {
6366 Objects .requireNonNull (sessionToken );
0 commit comments