Could you use WildFlySecurityManager to get/set the TCCL?