[WFLY-1618] / [WFLY-490] Add validation based on an enumeration to the PrincipalResourceDefintion.