Package org.forgerock.opendj.security
Class ScramCredential
- java.lang.Object
-
- org.forgerock.opendj.security.ScramCredential
-
public final class ScramCredential extends Object
The SCRAM credential data persisted in the server using the representation described in RFC 5803 which is a specialization of RFC 3112.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Returns the RFC 5803 representation of this SCRAM credential without the mechanism name.static ScramCredential
valueOf(String rfc5803String)
Parses the provided RFC 5803 representation of a SCRAM credential as aScramCredential
.
-
-
-
Method Detail
-
valueOf
public static ScramCredential valueOf(String rfc5803String)
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.
-
-