[WFLY-1293] Update license for utility class based on an implementation from the Apache Directory Server project.