[wildfly-dev] IPv6 related utility classes in Wildfly / Elytron / ...

Tomas Hofman thofman at redhat.com
Mon Feb 27 07:23:39 EST 2017


Hello,

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.

Are there some rules when considering new dependencies? For instance 
would Apache Commons Validator/Net represent conceivable dependencies 
for Elytron?

Thanks,
Tomas


More information about the wildfly-dev mailing list