public class AuthParameters extends java.lang.Object implements AuthProperty
| Constructor and Description |
|---|
AuthParameters(java.lang.String descriptor)
Constructs a new
AuthParameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPassword() |
java.lang.String |
getPasswordPropertyDescriptor()
Returns the full descriptor used to configure the
AuthProperty's password. |
java.lang.String |
getUsername() |
java.lang.String |
getUsernamePropertyDescriptor()
Returns the full descriptor used to configure the
AuthProperty's username. |
void |
setPassword(java.lang.String password) |
void |
setUsername(java.lang.String username) |
@Inject public AuthParameters(java.lang.String descriptor)
AuthParameters.descriptor - the name of the auth configuration property@Internal public java.lang.String getUsernamePropertyDescriptor()
AuthPropertyAuthProperty's username.getUsernamePropertyDescriptor in interface AuthProperty@Internal public java.lang.String getPasswordPropertyDescriptor()
AuthPropertyAuthProperty's password.getPasswordPropertyDescriptor in interface AuthProperty@Input @Optional @Nullable public java.lang.String getUsername()
getUsername in interface AuthPropertypublic void setUsername(java.lang.String username)
@Input @Optional @Nullable public java.lang.String getPassword()
getPassword in interface AuthPropertypublic void setPassword(java.lang.String password)