public class DefaultCredentialsProvider extends Object implements CredentialsProvider
Constructor and Description |
---|
DefaultCredentialsProvider(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Password/secret/token to use for authentication
|
String |
getUsername()
Username to use for authentication
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTimeBeforeExpiration, refresh
public String getUsername()
CredentialsProvider
getUsername
in interface CredentialsProvider
public String getPassword()
CredentialsProvider
getPassword
in interface CredentialsProvider
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.