public class UsernamePasswordCredential extends Credential
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPENAME |
SCOPE_GLOBAL| Constructor and Description |
|---|
UsernamePasswordCredential() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
dataForCreate() |
Map<String,Object> |
dataForUpdate() |
String |
getPassword() |
String |
getUsername() |
void |
setPassword(String password)
Set the password of the credential
|
void |
setUsername(String username)
Set the username of the credential
|
getDescription, getDisplayName, getFullName, getId, getScope, getTypeName, setDescription, setDisplayName, setFullName, setId, setScope, setTypeName, useMultipartFormpublic static final String TYPENAME
public String getUsername()
public void setUsername(String username)
username - public String getPassword()
public void setPassword(String password)
password - public Map<String,Object> dataForCreate()
dataForCreate in class Credentialpublic Map<String,Object> dataForUpdate()
dataForUpdate in class CredentialCopyright © 2017 JBoss by Red Hat. All rights reserved.