public class SaslPrep
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
MAX_UTF |
Constructor and Description |
---|
SaslPrep() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
saslPrep(java.lang.String value,
boolean storedString)
SaslPrep profile of StringPrep algorithm.
|
private static final int MAX_UTF
public static java.lang.String saslPrep(java.lang.String value, boolean storedString)
value
- with the value to check and transformstoredString
- boolean to indicate if it's a stored string or a query string