public class PassAllAuthenticator extends Object implements Authenticator
Authenticator
. The method isAuthenticated(alluxio.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
Authenticator
isAuthenticated
in interface Authenticator
authInfo
- info for authenticationS3Exception
Copyright © 2023. All Rights Reserved.