Class DefaultConfigurableBinaryAttributeDetector

  • All Implemented Interfaces:
    BinaryAttributeDetector, ConfigurableBinaryAttributeDetector

    public class DefaultConfigurableBinaryAttributeDetector
    extends SchemaBinaryAttributeDetector
    implements ConfigurableBinaryAttributeDetector
    An implementation of the BinaryAttributeDetector interface. It's used on the client side to detect if an Attribute is HumanRedable.
    One can inject some new attributes, replace the existing list, remove some attributes.
    We provide a list of Attributes which are known to be binary :
    • entryACI
    • prescriptiveACI
    • subentryACI
    • audio
    • javaByteCode
    • javaClassByteCode
    • krb5key
    • m-byteCode
    • privateKey
    • publicKey
    • userPKCS12
    • userSMIMECertificate
    • cACertificate
    • userCertificate
    • authorityRevocationList
    • certificateRevocationList
    • deltaRevocationList
    • crossCertificatePair
    • personalSignature
    • photo
    • jpegPhoto
    • supportedAlgorithms

    In order to reset the detector to get back to those default value, it's enough to call the setBinaryAttributes() with null as a parameter.
    Author:
    Apache Directory Project