You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2022/07/27 21:59:00 UTC

[jira] [Resolved] (DIRAPI-367) Need to be able to Custom Add Attribute to the BinaryAttrbitueDetector

     [ https://issues.apache.org/jira/browse/DIRAPI-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lécharny resolved DIRAPI-367.
--------------------------------------
    Resolution: Won't Fix

This is sligthy more complicated than what I thought... The problem is that the Schema BinaryDetector should not be mutable. Exposing the {{addBinaryAttribute}} method in the parent interface ({{BinaryAttributeDetector}} would force the {{SchemaBinaryAttributeDetector}} class to implement this method, and to throw an exception.

Considering this is a rare use case, I think it's better to improve the documentation.

> Need to be able to Custom Add Attribute to the BinaryAttrbitueDetector
> ----------------------------------------------------------------------
>
>                 Key: DIRAPI-367
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-367
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Craig P Benner
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Note from  Emmanuel:
> We should really return an impl. can you fill a JIRA for that ?
> Otherwise, cast the resturning value to
> ConfigurableBinaryAttributeDetector :
> ((ConfigurableBinaryAttributeDetector)connection.getBinaryAttributeDetector()).addBinaryAttribute(
> "mS-DS-ConsistencyGuid" )
> that should do the trick (or maybe to SchemaBinaryAttributeDetector)
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org