public class DefaultCredentials extends java.lang.Object implements Credentials
Constructor and Description |
---|
DefaultCredentials(java.lang.String password,
java.lang.String userName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthenticationToken()
Returns the authorization token to be sent to Pravega.
|
java.lang.String |
getAuthenticationType()
Returns the authentication type.
|
public DefaultCredentials(java.lang.String password, java.lang.String userName)
public java.lang.String getAuthenticationType()
Credentials
getAuthenticationType
in interface Credentials
public java.lang.String getAuthenticationToken()
Credentials
getAuthenticationToken
in interface Credentials