Class AbstractSessionCredentialsProvider.NoCredentials

java.lang.Object
org.apache.hadoop.fs.s3a.auth.AbstractSessionCredentialsProvider.NoCredentials
All Implemented Interfaces:
software.amazon.awssdk.auth.credentials.AwsCredentials, software.amazon.awssdk.identity.spi.AwsCredentialsIdentity, software.amazon.awssdk.identity.spi.Identity
Enclosing class:
AbstractSessionCredentialsProvider

protected static final class AbstractSessionCredentialsProvider.NoCredentials extends Object implements software.amazon.awssdk.auth.credentials.AwsCredentials
A special set of null credentials which are not the anonymous class. This will be interpreted as "this provider has no credentials to offer", rather than an explicit error or anonymous access.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity

    software.amazon.awssdk.identity.spi.AwsCredentialsIdentity.Builder
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity

    accountId

    Methods inherited from interface software.amazon.awssdk.identity.spi.Identity

    expirationTime, providerName
  • Constructor Details

    • NoCredentials

      protected NoCredentials()
  • Method Details

    • accessKeyId

      public String accessKeyId()
      Specified by:
      accessKeyId in interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity
    • secretAccessKey

      public String secretAccessKey()
      Specified by:
      secretAccessKey in interface software.amazon.awssdk.identity.spi.AwsCredentialsIdentity