public class UserCredentialModel extends Object implements CredentialInput
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_CERT |
static String |
HOTP
Deprecated.
|
static String |
KERBEROS |
static String |
PASSWORD
Deprecated.
|
static String |
PASSWORD_HISTORY
Deprecated.
|
static String |
SECRET |
static String |
TOTP
Deprecated.
|
| Constructor and Description |
|---|
UserCredentialModel(String credentialId,
String type,
String challengeResponse) |
UserCredentialModel(String credentialId,
String type,
String challengeResponse,
boolean adminRequest) |
| Modifier and Type | Method and Description |
|---|---|
static UserCredentialModel |
generateSecret() |
String |
getChallengeResponse() |
String |
getCredentialId() |
String |
getType() |
boolean |
isAdminRequest() |
static UserCredentialModel |
kerberos(String token) |
static UserCredentialModel |
password(String password) |
static UserCredentialModel |
password(String password,
boolean adminRequest) |
static UserCredentialModel |
secret(String password) |
@Deprecated public static final String PASSWORD
@Deprecated public static final String PASSWORD_HISTORY
@Deprecated public static final String TOTP
@Deprecated public static final String HOTP
public static final String SECRET
public static final String KERBEROS
public static final String CLIENT_CERT
public UserCredentialModel(String credentialId, String type, String challengeResponse)
public static UserCredentialModel password(String password)
public static UserCredentialModel password(String password, boolean adminRequest)
public static UserCredentialModel secret(String password)
public static UserCredentialModel kerberos(String token)
public static UserCredentialModel generateSecret()
public String getCredentialId()
getCredentialId in interface CredentialInputpublic String getType()
getType in interface CredentialInputpublic String getChallengeResponse()
getChallengeResponse in interface CredentialInputpublic boolean isAdminRequest()
Copyright © 2020 JBoss by Red Hat. All rights reserved.