<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Talend Authorization at Tomcat CXF Service in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243091#M29699</link>
    <description>Thanks, 
&lt;BR /&gt;that sounds good. I could not find it directly in the sources. Do you know what happens if you enable this interceptor, and your WS-policy in the service registry doesn't contain an authorization policy? 
&lt;BR /&gt;I think it will enforce authorization even if it is not enforced by the registry. 
&lt;BR /&gt;With best regards 
&lt;BR /&gt;Christian</description>
    <pubDate>Thu, 03 Mar 2016 12:47:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-03T12:47:15Z</dc:date>
    <item>
      <title>Talend Authorization at Tomcat CXF Service</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243089#M29697</link>
      <description>Hi. 
&lt;BR /&gt;We are able to run our services in tomcat too. Currently I have an issue with enabling authorization. Service Registry and Service Locator is enabled. Service Registry is configured to enforce Authentication and Authorization. All is working without authorization. 
&lt;BR /&gt;Unfortunately I cannot find a sample for tomcat deployment. 
&lt;BR /&gt;I think I have to do the following steps: 
&lt;BR /&gt;1. Add the Authorization dependency to my maven project. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dependency&amp;gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.talend.esb.authorization&amp;lt;/groupId&amp;gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;tesb-xacml-pdp-api&amp;lt;/artifactId&amp;gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;${project.version}&amp;lt;/version&amp;gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt; 
&lt;BR /&gt;2. Create and add some configuration for PEP 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; But I cannot find there the "tomcat-style" configuration 
&lt;BR /&gt;I found only an OSGi sample. At OSGi configuration is done in different way. (org.talend.esb.authorization.pep.cfg) 
&lt;BR /&gt;Any ideas? Or maybe some sample? 
&lt;BR /&gt;With best regards 
&lt;BR /&gt;Christian</description>
      <pubDate>Sat, 16 Nov 2024 10:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243089#M29697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Authorization at Tomcat CXF Service</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243090#M29698</link>
      <description>Hi Christian, 
&lt;BR /&gt;I think these two Posts from my Blog should be helpful to you: 
&lt;BR /&gt;janbernhardt.blogspot.de/2014/09/rest-security-saml-authentication-xacml.html 
&lt;BR /&gt;janbernhardt.blogspot.de/2014/10/using-talend-pdp-ouside-of-osgi.html 
&lt;BR /&gt;You basically need to add the following dependency to you project: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;groupId&amp;gt;org.talend.esb.authorization&amp;lt;/groupId&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;artifactId&amp;gt;tesb-xacml-rt&amp;lt;/artifactId&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;version&amp;gt;5.4.1&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;and then add the PEP Interceptor to your service: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;bean class="org.talend.esb.authorization.xacml.rt.pep.CXFXACMLAuthorizingInterceptor" id="XACMLInterceptor"&amp;gt;&lt;BR /&gt;	&amp;lt;property name="pdpAddress" value="" /&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;Hope that helps! 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 03 Mar 2016 11:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243090#M29698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T11:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Authorization at Tomcat CXF Service</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243091#M29699</link>
      <description>Thanks, 
&lt;BR /&gt;that sounds good. I could not find it directly in the sources. Do you know what happens if you enable this interceptor, and your WS-policy in the service registry doesn't contain an authorization policy? 
&lt;BR /&gt;I think it will enforce authorization even if it is not enforced by the registry. 
&lt;BR /&gt;With best regards 
&lt;BR /&gt;Christian</description>
      <pubDate>Thu, 03 Mar 2016 12:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243091#M29699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Authorization at Tomcat CXF Service</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243092#M29700</link>
      <description>Christian, 
&lt;BR /&gt;For SR + authorization policy use case, setting cxf property "tesb.pdp.address" on the provider endpoint would be OK, you don't need to create CXFXACMLAuthorizingInterceptor anymore, because org.talend.esb.authorization.xacml.rt.pep.AuthorizationPolicyInterceptorProvider will do it 
&lt;BR /&gt; 
&lt;PRE&gt;                    CXFXACMLAuthorizingInterceptor authzInterceptor = &lt;BR /&gt;                        new CXFXACMLAuthorizingInterceptor(true);&lt;BR /&gt;                    authzInterceptor.setRequireRoles(requireRoles);&lt;BR /&gt;                    authzInterceptor.setPdpAddress(pdpAddress);&lt;BR /&gt;                    authzInterceptor.setPolicyDecisionPoint(pdp);&lt;BR /&gt;                    message.getInterceptorChain().add(authzInterceptor);&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2016 03:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Authorization-at-Tomcat-CXF-Service/m-p/2243092#M29700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T03:20:36Z</dc:date>
    </item>
  </channel>
</rss>

