-
1. Re: Dyamic VDB - REST
mahavird May 22, 2018 5:30 AM (in response to mahavird)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.
<subsystem xmlns="urn:jboss:domain:teiid:1.1">
-
2. Re: Dyamic VDB - REST
rareddy May 22, 2018 8:44 AM (in response to mahavird)Which document are you following?
-
3. Re: Dyamic VDB - REST
mahavird May 22, 2018 8:56 AM (in response to rareddy)Hi Ramesh,
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.
Thanks
-
4. Re: Dyamic VDB - REST
rareddy May 22, 2018 9:26 AM (in response to mahavird)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 [1]. 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 [1]. 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.
-
5. Re: Dyamic VDB - REST
mahavird May 22, 2018 1:26 PM (in response to rareddy)Hi Ramesh,
I am able to find the following in web.xml of exploded war generated during deployment of dynamic VDB...
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>yourdomain.com</realm-name>
</login-config>
Is there any options to control it or remove it ?
Thanks,
Mahavir
-
6. Re: Dyamic VDB - REST
rareddy May 22, 2018 3:37 PM (in response to mahavird)Read "Security on Generated Services" on above link.