[
https://issues.jboss.org/browse/TEIIDDES-2571?page=com.atlassian.jira.plu...
]
Matus Makovy reopened TEIIDDES-2571:
------------------------------------
I am working on test script for this. I can go through the whole wizard and create Source
and View models. Then I create a VDB and deploy it on server. After I submit a query there
is an error in server log:
+No enum constant
org.teiid.resource.adapter.ws.WSManagedConnectionFactory.SecurityType.HTTPDigest+
In the standalone.xml I found this definition of resource adapter:
{code:xml}
<resource-adapter id="RestDigestSource_DS">
<module slot="main"
id="org.jboss.teiid.resource-adapter.webservice"/>
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition
class-name="org.teiid.resource.adapter.ws.WSManagedConnectionFactory"
jndi-name="java:/RestDigestSource_DS" enabled="true"
pool-name="RestDigestSource_DS">
<config-property name="AuthPassword">
digest
</config-property>
<config-property name="EndPoint">
http://ws-dvirt.rhcloud.com/dv-test-ws-digest/rest/xml
</config-property>
<config-property name="SecurityType">
HTTPDigest
</config-property>
<config-property name="AuthUserName">
digest
</config-property>
</connection-definition>
</connection-definitions>
</resource-adapter>
{code}
It looks like TD defines the resource adapter with wrong property. There is property named
SecurityType with value *HTTPDigest*, after I change this to *Digest* it works without
problems.
(I found the correct property value here:
http://docs.jboss.org/teiid/8.12.0.Final/apidocs/org/teiid/resource/adapt...)
TD 10.0.0.Beta4
JDV 6.3.ER1
Add HTTP Digest Authentication Support for REST Web Services as a
Source
------------------------------------------------------------------------
Key: TEIIDDES-2571
URL:
https://issues.jboss.org/browse/TEIIDDES-2571
Project: Teiid Designer
Issue Type: Feature Request
Components: Import/Export, Patch Release, Web Services Support
Affects Versions: 9.0.3, 9.2.1
Reporter: Ted Jones
Assignee: Ted Jones
Priority: Blocker
Fix For: 10.0.1
Need to support importing REST web services that use HTTP Digest authentication
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)