public class PassAllAuthenticator extends java.lang.Object implements Authenticator
Authenticator. The method isAuthenticated(alluxio.proxy.s3.auth.AwsAuthInfo)
returns true by default.
When defining how to obtain secret, the following method can be called for
authentication:
return AuthorizationV4Validator.validateRequest(
signedInfo.getStringTosSign(),
signedInfo.getSignature(),
secret);Authenticator.Factory| Constructor and Description |
|---|
PassAllAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthenticated(AwsAuthInfo authInfo)
Check if the AwsAuthInfo is legal.
|
public boolean isAuthenticated(AwsAuthInfo authInfo) throws S3Exception
AuthenticatorisAuthenticated in interface AuthenticatorauthInfo - info for authenticationS3ExceptionCopyright © 2024. All Rights Reserved.