[teiid-issues] [JBoss JIRA] (TEIID-3035) Request to add NTLM Security to Web service datasources

Jesse Shaffer (JIRA) issues at jboss.org
Mon Apr 25 15:50:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196785#comment-13196785 ] 

Jesse Shaffer edited comment on TEIID-3035 at 4/25/16 3:49 PM:
---------------------------------------------------------------

[~rareddy], I'm not very familiar with CXF or JAAS (or JBoss security in general for that matter), but a quick search turned up project Waffle, which provides a JAAS module (on Windows only).  Would that be something I could use?

I also turned this thread up from someone working directly with SharePoint from Java w/CXF: http://cxf.547215.n5.nabble.com/CXF-Client-NTLM-Authentication-with-SharePoint-Server-td5598272.html, but it seems to be setting up the authenticator at a global level, which I'm pretty sure is something I do not want.  In any case, they make the point that NTLM authentication is built directly into JDK 1.6+, so it's apparently available to be used by CXF already.

EDIT:

Looking here: https://cwiki.apache.org/confluence/display/CXF20DOC/Asynchronous+Client+HTTP+Transport, CXF should support NTCredentials, as long as you always use the async conduit:

{code}
Credentials creds = new NTCredentials("username", "pswd", null, "domain");
bp.getRequestContext().put(Credentials.class.getName(), creds);
{code}


was (Author: dajester2011):
[~rareddy], I'm not very familiar with CXF or JAAS (or JBoss security in general for that matter), but a quick search turned up project Waffle, which provides a JAAS module (on Windows only).  Would that be something I could use?

I also turned this thread up from someone working directly with SharePoint from Java w/CXF: http://cxf.547215.n5.nabble.com/CXF-Client-NTLM-Authentication-with-SharePoint-Server-td5598272.html, but it seems to be setting up the authenticator at a global level, which I'm pretty sure is something I do not want.  In any case, they make the point that NTLM authentication is built directly into JDK 1.6+, so it's apparently available to be used by CXF already.

> Request to add NTLM Security to Web service datasources
> -------------------------------------------------------
>
>                 Key: TEIID-3035
>                 URL: https://issues.jboss.org/browse/TEIID-3035
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Misc. Connectors
>            Reporter: Debbie Steigner
>            Assignee: Ramesh Reddy
>
> Currently the only Security types we support for Web Service data sources is None, HTTPBasic and WSSecurity can NTLM be added?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list