Class StringPrep
java.lang.Object
org.apache.activemq.artemis.spi.core.security.scram.StringPrep
rfc3454 StringPrep, with an implementation of rfc4013 SASLPrep.
StringPrep case folding is unimplemented, as it's not required by SASLPrep.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA representation of sets of character classes.static classA prohibited string has been passed to StringPrep.static classA prohibited character was detected.static classRTL verification has failed, according to rfc3454 section 6.static classstatic classstatic classstatic classA prohibited unassigned codepoint was detected. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringPrep
public StringPrep()
-
-
Method Details
-
verifyRTL
Perform RTL verification according to rfc3454 section 6. On failure, throw a subclass ofStringPrep.StringPrepRTLError.- Throws:
StringPrep.StringPrepRTLError
-
prepAsStoredString
Apply SASLPrep and return the result. is treated as a stored string.- Throws:
StringPrep.StringPrepError
-
prepAsQueryString
Apply SASLPrep and return the result. is treated as a query string.- Throws:
StringPrep.StringPrepError
-
isContainingProhibitedCharacters
-