public class UserScramCredentialUpsertion extends UserScramCredentialAlteration
user
Constructor and Description |
---|
UserScramCredentialUpsertion(java.lang.String user,
ScramCredentialInfo credentialInfo,
byte[] password)
Constructor that generates a random salt
|
UserScramCredentialUpsertion(java.lang.String user,
ScramCredentialInfo credentialInfo,
byte[] password,
byte[] salt)
Constructor that accepts an explicit salt
|
UserScramCredentialUpsertion(java.lang.String user,
ScramCredentialInfo credentialInfo,
java.lang.String password)
Constructor that generates a random salt
|
Modifier and Type | Method and Description |
---|---|
ScramCredentialInfo |
credentialInfo() |
byte[] |
password() |
byte[] |
salt() |
user
public UserScramCredentialUpsertion(java.lang.String user, ScramCredentialInfo credentialInfo, java.lang.String password)
user
- the user for which the credential is to be updated/insertedcredentialInfo
- the mechanism and iterations to be usedpassword
- the passwordpublic UserScramCredentialUpsertion(java.lang.String user, ScramCredentialInfo credentialInfo, byte[] password)
user
- the user for which the credential is to be updated/insertedcredentialInfo
- the mechanism and iterations to be usedpassword
- the passwordpublic UserScramCredentialUpsertion(java.lang.String user, ScramCredentialInfo credentialInfo, byte[] password, byte[] salt)
user
- the user for which the credential is to be updated/insertedcredentialInfo
- the mechanism and iterations to be usedpassword
- the passwordsalt
- the salt to be usedpublic ScramCredentialInfo credentialInfo()
public byte[] salt()
public byte[] password()