| Package | Description |
|---|---|
| com.ongres.scram.client |
This module expose the client implementation of Salted Challenge Response
Authentication Mechanism (SCRAM).
|
| Modifier and Type | Method and Description |
|---|---|
ScramClient.FinalBuildStage |
ScramClient.FinalBuildStage.authzid(@NotNull String authzid)
Sets the authzid.
|
ScramClient.FinalBuildStage |
ScramClient.FinalBuildStage.channelBinding(@Nullable String cbindType,
byte[] cbindData)
If the client supports channel binding negotiation, this method sets the type and data used
for channel binding.
|
ScramClient.FinalBuildStage |
ScramClient.PasswordBuildStage.clientAndServerKey(byte[] clientKey,
byte[] serverKey)
Sets the ClientKey/ServerKey.
|
ScramClient.FinalBuildStage |
ScramClient.FinalBuildStage.nonceLength(int length)
Sets a non-default length for the nonce generation.
|
ScramClient.FinalBuildStage |
ScramClient.FinalBuildStage.nonceSupplier(@NotNull Supplier<String> nonceSupplier)
The client will use a default nonce generator, unless an external one is provided by this
method.
|
ScramClient.FinalBuildStage |
ScramClient.PasswordBuildStage.password(char[] password)
Sets the password.
|
ScramClient.FinalBuildStage |
ScramClient.PasswordBuildStage.saltedPassword(byte[] saltedPassword)
Sets the SaltedPassword.
|
ScramClient.FinalBuildStage |
ScramClient.FinalBuildStage.secureRandomAlgorithmProvider(@NotNull String algorithm,
@Nullable String provider)
Selects a non-default SecureRandom instance, based on the given algorithm and optionally
provider.
|
ScramClient.FinalBuildStage |
ScramClient.FinalBuildStage.stringPreparation(@NotNull StringPreparation stringPreparation)
Sets the StringPreparation, is recommended to leave the default SASL_PREPARATION.
|
Copyright © 2017–2025 OnGres, Inc. All rights reserved.