[ 
https://issues.apache.org/jira/browse/DIRSERVER-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582556#comment-17582556
 ] 

Emmanuel Lécharny commented on DIRSERVER-1930:
----------------------------------------------

Seems like Shevek did moved forward with a DHCP implementation based on what we 
had:

[https://github.com/shevek/dhcp4j]

 

The question being: should we try to integrate this work in ApacheDS, or simply 
get rid of DHCP support in the server, like what we did with Kerberos?

> DhcpOptions not extensible
> --------------------------
>
>                 Key: DIRSERVER-1930
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1930
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: dhcp
>            Reporter: Shevek
>            Priority: Major
>
> It is impossible to add my own DhcpOption types, due to the fixed and private 
> static encapsulation in DhcpOption. Also, the option set isn't even complete 
> enough for practical use.
> This method:
>     public static int getTagByClass( Class c )
>     {
>         return ( ( Integer ) CODE_BY_CLASS.get( c ) ).intValue();
>     }
> will NPE given an option class which isn't privately registered.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to