Class DefaultNoAuthAuthScheme
java.lang.Object
software.amazon.awssdk.http.auth.internal.scheme.DefaultNoAuthAuthScheme
- All Implemented Interfaces:
NoAuthAuthScheme
,AuthScheme<NoAuthAuthScheme.AnonymousIdentity>
A default implementation of
NoAuthAuthScheme
. This implementation always:
- Returns an
IdentityProvider
that always returns the same static instance that implements theNoAuthAuthScheme.AnonymousIdentity
interface - Returns an
HttpSigner
that returns the same request given in the signing request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.auth.scheme.NoAuthAuthScheme
NoAuthAuthScheme.AnonymousIdentity
-
Field Summary
Fields inherited from interface software.amazon.awssdk.http.auth.scheme.NoAuthAuthScheme
SCHEME_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NoAuthAuthScheme
create()
Returns an instance of theNoAuthAuthScheme
.identityProvider
(IdentityProviders providers) Retrieve theNoAuthAuthScheme.AnonymousIdentity
basedIdentityProvider
associated with this authentication scheme.schemeId()
Retrieve the scheme ID, a unique identifier for the authentication scheme.signer()
Retrieve theHttpSigner
associated with this authentication scheme.
-
Constructor Details
-
DefaultNoAuthAuthScheme
public DefaultNoAuthAuthScheme()
-
-
Method Details
-
create
Returns an instance of theNoAuthAuthScheme
. -
schemeId
Description copied from interface:AuthScheme
Retrieve the scheme ID, a unique identifier for the authentication scheme.- Specified by:
schemeId
in interfaceAuthScheme<NoAuthAuthScheme.AnonymousIdentity>
-
identityProvider
public IdentityProvider<NoAuthAuthScheme.AnonymousIdentity> identityProvider(IdentityProviders providers) Description copied from interface:NoAuthAuthScheme
Retrieve theNoAuthAuthScheme.AnonymousIdentity
basedIdentityProvider
associated with this authentication scheme.- Specified by:
identityProvider
in interfaceAuthScheme<NoAuthAuthScheme.AnonymousIdentity>
- Specified by:
identityProvider
in interfaceNoAuthAuthScheme
-
signer
Description copied from interface:NoAuthAuthScheme
Retrieve theHttpSigner
associated with this authentication scheme.- Specified by:
signer
in interfaceAuthScheme<NoAuthAuthScheme.AnonymousIdentity>
- Specified by:
signer
in interfaceNoAuthAuthScheme
-