public class AWSCredentialsCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
IAMSaslClient.
It is processed by the IAMClientCallbackHandler.
If the callback handler succeeds, it sets the AWSCredentials. If the callback handler fails to load the credentials,
it sets the loading exception.| Constructor and Description |
|---|
AWSCredentialsCallback() |
| Modifier and Type | Method and Description |
|---|---|
software.amazon.awssdk.auth.credentials.AwsCredentials |
getAwsCredentials() |
java.lang.Exception |
getLoadingException() |
boolean |
isSuccessful() |
void |
setAwsCredentials(@NonNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) |
void |
setLoadingException(@NonNull java.lang.Exception loadingException) |
public void setAwsCredentials(@NonNull
@NonNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials)
public void setLoadingException(@NonNull
@NonNull java.lang.Exception loadingException)
public boolean isSuccessful()
public software.amazon.awssdk.auth.credentials.AwsCredentials getAwsCredentials()
public java.lang.Exception getLoadingException()