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
Modifier and TypeClassDescriptionprotected static class
A representation of sets of character classes.static class
A prohibited string has been passed to StringPrep.static class
A prohibited character was detected.static class
RTL verification has failed, according to rfc3454 section 6.static class
static class
static class
static class
A prohibited unassigned codepoint was detected. -
Constructor Summary
-
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
-