Package com.ongres.saslprep
Class SaslPrep
- java.lang.Object
-
- com.ongres.saslprep.SaslPrep
-
public class SaslPrep extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static int
MAX_UTF
-
Constructor Summary
Constructors Constructor Description SaslPrep()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
saslPrep(java.lang.String value, boolean storedString)
SaslPrep profile of StringPrep algorithm.
-
-
-
Field Detail
-
MAX_UTF
private static final int MAX_UTF
- See Also:
- Constant Field Values
-
-
Method Detail
-
saslPrep
public static java.lang.String saslPrep(java.lang.String value, boolean storedString)
SaslPrep profile of StringPrep algorithm.- Parameters:
value
- with the value to check and transformstoredString
- boolean to indicate if it's a stored string or a query string- Returns:
- String with the result
-
-