WFLY-2867: Reduce usage of Apache DS components

https://issues.jboss.org/browse/WFLY-2867