Also I have seen the XSD1.1 for transport, for XSD 1.1 there is no <authentication security-domain="teiid-security"/> allowed.
XMLNS version 1.1 is not allowing the authentication tag given below.
Which document are you following?
I have referred multiple resources for rest through dynamic VDB.
Including Portfolio example in GitHub.
Also I am auto generating the rest WAR.
The browser is showing yourdomian.com and prompts for username & password.
If I give credentials after that forbidden is displayed.
The security domain you configured in the server log in the user, then that user must have the "rest" role to access. Here is an example . What version of Teiid are you using? Depending on that the how you define the security-domain is different, it has moved from the transport to the VDB itself as shown in . If there are documents referring to transport based security (as in older versions) please let us know, we will see if we can correct them.
I am able to find the following in web.xml of exploded war generated during deployment of dynamic VDB...
Is there any options to control it or remove it ?
Read "Security on Generated Services" on above link.