public class AuthPasswordSyntax extends AttributeSyntax<AttributeSyntaxCfg>
| Constructor and Description |
|---|
AuthPasswordSyntax()
Creates a new instance of this syntax.
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
decodeAuthPassword(String authPasswordValue)
Decodes the provided authentication password value into its component parts.
|
String |
getDescription()
Retrieves a description for this attribute syntax.
|
String |
getName()
Retrieves the common name for this attribute syntax.
|
String |
getOID()
Retrieves the OID for this attribute syntax.
|
org.forgerock.opendj.ldap.schema.Syntax |
getSDKSyntax(org.forgerock.opendj.ldap.schema.Schema schema)
Returns the SDK Syntax equivalent to this syntax.
|
static boolean |
isEncoded(org.forgerock.opendj.ldap.ByteSequence value)
Indicates whether the provided value is encoded using the auth password
syntax.
|
equals, finalizeSyntax, getApproximateMatchingRule, getEqualityMatchingRule, getOrderingMatchingRule, getSubstringMatchingRule, hashCode, initializeSyntax, isBEREncodingRequired, isConfigurationAcceptable, isHumanReadable, toString, toString, valueIsAcceptablepublic AuthPasswordSyntax()
initializeSyntax method.public org.forgerock.opendj.ldap.schema.Syntax getSDKSyntax(org.forgerock.opendj.ldap.schema.Schema schema)
AttributeSyntaxThis method allow smooth migration to SDK syntax. It will disappear once the the migration to SDK schema is complete, together with this class and all its implementation.
getSDKSyntax in class AttributeSyntax<AttributeSyntaxCfg>schema - Schema to use to retrieve the syntaxpublic String getName()
getName in class AttributeSyntax<AttributeSyntaxCfg>public String getOID()
getOID in class AttributeSyntax<AttributeSyntaxCfg>public String getDescription()
getDescription in class AttributeSyntax<AttributeSyntaxCfg>public static String[] decodeAuthPassword(String authPasswordValue) throws DirectoryException
FIXME this is a duplicate of org.forgerock.opendj.ldap.schema.AuthPasswordSyntaxImplTest
authPasswordValue - The authentication password value to be decoded.DirectoryException - If a problem is encountered while attempting
to decode the value.public static boolean isEncoded(org.forgerock.opendj.ldap.ByteSequence value)
value - The value for which to make the determination.true if the value appears to be encoded using the
auth password syntax, or false if not.Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.