-
Bug
-
Resolution: Done
-
Major
-
None
-
7.1.3.Final (EAP), EAP 6.1.0.Alpha (7.2.0.Final)
-
None
If a datasource security configuration includes both user-name and security-domain, the config will be rejected by DsSecurityImpl, via CredentialImpl.validate():
public void validate() throws ValidateException { if (userName != null) { if (securityDomain != null) { throw new ValidateException(bundle.invalidSecurityConfiguration()); } } }
If this is an invalid combination, the xsd should state this, and the relevant attribute definitions in the subsystem should use setAlternatives(...) as well.