Package com.icegreen.greenmail.util
Class SaslMessage
java.lang.Object
com.icegreen.greenmail.util.SaslMessage
SASL mechanism message.
See https://tools.ietf.org/html/rfc4616
-
Method Summary
-
Method Details
-
getAuthzid
-
getAuthcid
-
getPasswd
-
parse
Parses a SASL mechanism message.message = [authzid] UTF8NUL authcid UTF8NUL passwd authcid = 1*SAFE ; MUST accept up to 255 octets authzid = 1*SAFE ; MUST accept up to 255 octets passwd = 1*SAFE ; MUST accept up to 255 octets UTF8NUL = %x00 ; UTF-8 encoded NUL character
SAFE = UTF1 / UTF2 / UTF3 / UTF4 ;; any UTF-8 encoded Unicode character except NUL
- Parameters:
message- the SASL message
-