Package org.opends.server.schema
Class AuthPasswordSyntax
- java.lang.Object
-
- org.opends.server.schema.AuthPasswordSyntax
-
public class AuthPasswordSyntax extends Object
This class defines the auth password attribute syntax, which is defined in RFC 3112 and is used to hold authentication information. Only equality matching will be allowed by default.
-
-
Constructor Summary
Constructors Constructor Description AuthPasswordSyntax()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]decodeAuthPassword(String authPasswordValue)Decodes the provided authentication password value into its component parts.static booleanisEncoded(ByteSequence value)Indicates whether the provided value is encoded using the auth password syntax.
-
-
-
Method Detail
-
decodeAuthPassword
public static String[] decodeAuthPassword(String authPasswordValue) throws DirectoryException
Decodes the provided authentication password value into its component parts.FIXME this is a duplicate of
AuthPasswordSyntaxImpl- Parameters:
authPasswordValue- The authentication password value to be decoded.- Returns:
- A three-element array, containing the scheme, authInfo, and authValue components of the given string, in that order.
- Throws:
DirectoryException- If a problem is encountered while attempting to decode the value.
-
isEncoded
public static boolean isEncoded(ByteSequence value)
Indicates whether the provided value is encoded using the auth password syntax.- Parameters:
value- The value for which to make the determination.- Returns:
trueif the value appears to be encoded using the auth password syntax, orfalseif not.
-
-