[wildfly-dev] IPv6 related utility classes in Wildfly / Elytron / ...
Darran Lofthouse
darran.lofthouse at jboss.com
Mon Feb 27 09:28:33 EST 2017
On 27/02/17 14:17, Tomaž Cerar wrote:
>
> On Mon, Feb 27, 2017 at 1:23 PM, Tomas Hofman <thofman at redhat.com
> <mailto:thofman at redhat.com>> wrote:
>
> I'm working on an issue in Elytron, which requires validation of IPv6
> addresses. Potentially also normalizing IPv6 addresses and matching
> addresses by masks could be needed in future. For now I
implemented my
> own validation code which may be good enough, but still, better
would be
> to rely on proven utility class.
>
>
>
> Do we use some standard library for such purposes, or is there such
> functionality in JBoss codebase somewhere? I found NetworkUtils
class in
> wildfly-network package, which does some of that, but that can't
be used
> in Elytron.
>
> What is the use case?
Detection of and matching of IPv6 addresses including canonicalisation
for different representations of the same address.
Note: This is not DNS lookup or reverse DNS lookup.
>
>
>
> Are there some rules when considering new dependencies? For instance
> would Apache Commons Validator/Net represent conceivable dependencies
> for Elytron?
>
> new runtime dependency? I would avoid them if possible.
> Especially when it comes to Apache Commons * ...
+1 This code may be used by all remote clients and all deployments.
> --
> tomaz
>
>
>
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
More information about the wildfly-dev
mailing list