Class AuthSchemePreferenceResolver
- java.lang.Object
-
- software.amazon.awssdk.awscore.auth.AuthSchemePreferenceResolver
-
public final class AuthSchemePreferenceResolver extends Object
A resolver for the default value of auth scheme preference. This checks environment variables, system properties and the profile file for the relevant configuration options whenresolveAuthSchemePreference()
is invoked.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthSchemePreferenceResolver.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthSchemePreferenceResolver.Builder
builder()
List<String>
resolveAuthSchemePreference()
Resolve the auth scheme preference based on the following order of precedence: 1.
-
-
-
Method Detail
-
builder
public static AuthSchemePreferenceResolver.Builder builder()
-
resolveAuthSchemePreference
public List<String> resolveAuthSchemePreference()
Resolve the auth scheme preference based on the following order of precedence: 1. System settings (jvm and then environment). 2. Profile file- Returns:
- The resolved, ordered list of auth scheme preferences or an empty list if no values are found.
-
-