Package org.forgerock.opendj.security
Class ScramCredential
java.lang.Object
org.forgerock.opendj.security.ScramCredential
The SCRAM credential data persisted in the server using the representation described in RFC 5803 which is a
specialization of RFC 3112.
-
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the RFC 5803 representation of this SCRAM credential without the mechanism name.static ScramCredentialParses the provided RFC 5803 representation of a SCRAM credential as aScramCredential.
-
Method Details
-
valueOf
Parses the provided RFC 5803 representation of a SCRAM credential as aScramCredential.- Parameters:
rfc5803String- The RFC 5803 representation of a SCRAM credential.- Returns:
- The parsed SCRAM credential.
- Throws:
LocalizedIllegalArgumentException- If the SCRAM credential could not be parsed.
-
toString
Returns the RFC 5803 representation of this SCRAM credential without the mechanism name.
-