<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Securing your Liferay Service using PermissionChecker</title>
	<atom:link href="http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=securing-your-liferay-service-using-permissionchecker</link>
	<description>A day in the life of a developer</description>
	<lastBuildDate>Tue, 31 Jan 2012 10:19:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Post for its 245, Open Source Portals and Security &#171; Castle, Stormed 245</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-10762</link>
		<dc:creator>Post for its 245, Open Source Portals and Security &#171; Castle, Stormed 245</dc:creator>
		<pubDate>Mon, 22 Aug 2011 03:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-10762</guid>
		<description>[...] http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/" rel="nofollow">http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert Willems</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-7973</link>
		<dc:creator>Bert Willems</dc:creator>
		<pubDate>Thu, 21 Apr 2011 15:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-7973</guid>
		<description>Hello Eli.

There isn&#039;t a clear advantage, considering the requirement you describe in 2 I recommend you use the Liferay Service Builder. It will take care of your table access concern for you. See the service builder Wiki on the Liferay website for more info.

Regards,
Bert</description>
		<content:encoded><![CDATA[<p>Hello Eli.</p>
<p>There isn&#8217;t a clear advantage, considering the requirement you describe in 2 I recommend you use the Liferay Service Builder. It will take care of your table access concern for you. See the service builder Wiki on the Liferay website for more info.</p>
<p>Regards,<br />
Bert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli Corrales</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-7972</link>
		<dc:creator>Eli Corrales</dc:creator>
		<pubDate>Thu, 21 Apr 2011 15:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-7972</guid>
		<description>Hi
thanks for the excellent articles.... I was able to make all of them work. Re: creating and exposing servcies without using service builder or ext.

Two questions:
1) what advantages do you see with this method, over using service-builder  or ext?  ( i have to explain to my dept why i chose this) :)
2) i didn&#039;t see in these examples, how to access underlying tables.   I have added a couple of tables in the Liferay database, and I need to expose them with basic CRUD operations.  and as a follow up to this question.... how to, using hibernate rather than straight JDBC.

thank you in advance for any response,
--Eli</description>
		<content:encoded><![CDATA[<p>Hi<br />
thanks for the excellent articles&#8230;. I was able to make all of them work. Re: creating and exposing servcies without using service builder or ext.</p>
<p>Two questions:<br />
1) what advantages do you see with this method, over using service-builder  or ext?  ( i have to explain to my dept why i chose this) <img src='http://www.devatwork.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
2) i didn&#8217;t see in these examples, how to access underlying tables.   I have added a couple of tables in the Liferay database, and I need to expose them with basic CRUD operations.  and as a follow up to this question&#8230;. how to, using hibernate rather than straight JDBC.</p>
<p>thank you in advance for any response,<br />
&#8211;Eli</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert Willems</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-7004</link>
		<dc:creator>Bert Willems</dc:creator>
		<pubDate>Mon, 17 Jan 2011 21:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-7004</guid>
		<description>Hello MagmaRules,

What version of Liferay are you using?

Greets,
Bert</description>
		<content:encoded><![CDATA[<p>Hello MagmaRules,</p>
<p>What version of Liferay are you using?</p>
<p>Greets,<br />
Bert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MagmaRules</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-7002</link>
		<dc:creator>MagmaRules</dc:creator>
		<pubDate>Mon, 17 Jan 2011 17:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-7002</guid>
		<description>Hi there,

I have tryed following your instructions but i allways get a NullPointerException when deploying the portlet:

	at com.liferay.portal.security.permission.ResourceActionsUtil._readActionKeys(ResourceActionsUtil.java:921)
	at com.liferay.portal.security.permission.ResourceActionsUtil._readGuestUnsupportedActions(ResourceActionsUtil.java:967)
	at com.liferay.portal.security.permission.ResourceActionsUtil._readPortletResource(ResourceActionsUtil.java:1101)
	at com.liferay.portal.security.permission.ResourceActionsUtil._read(ResourceActionsUtil.java:900)
	at com.liferay.portal.security.permission.ResourceActionsUtil._read(ResourceActionsUtil.java:888)
	at com.liferay.portal.security.permission.ResourceActionsUtil.read(ResourceActionsUtil.java:428)

To see if i was doing something wrong i downloaded the project, but it seems that its not the portlet described here.</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I have tryed following your instructions but i allways get a NullPointerException when deploying the portlet:</p>
<p>	at com.liferay.portal.security.permission.ResourceActionsUtil._readActionKeys(ResourceActionsUtil.java:921)<br />
	at com.liferay.portal.security.permission.ResourceActionsUtil._readGuestUnsupportedActions(ResourceActionsUtil.java:967)<br />
	at com.liferay.portal.security.permission.ResourceActionsUtil._readPortletResource(ResourceActionsUtil.java:1101)<br />
	at com.liferay.portal.security.permission.ResourceActionsUtil._read(ResourceActionsUtil.java:900)<br />
	at com.liferay.portal.security.permission.ResourceActionsUtil._read(ResourceActionsUtil.java:888)<br />
	at com.liferay.portal.security.permission.ResourceActionsUtil.read(ResourceActionsUtil.java:428)</p>
<p>To see if i was doing something wrong i downloaded the project, but it seems that its not the portlet described here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert Willems</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-6650</link>
		<dc:creator>Bert Willems</dc:creator>
		<pubDate>Thu, 16 Dec 2010 06:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-6650</guid>
		<description>Hello Adolfo,

I am not sure why this error has thrown. I haven&#039;t done any LR 6.0 development myself but I reckon it has something to do with changes in how service work in 6.0.

Mayb you can use the service builder directly to generate your service? See: http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder

Good luck and let me know if it worked,
Bert</description>
		<content:encoded><![CDATA[<p>Hello Adolfo,</p>
<p>I am not sure why this error has thrown. I haven&#8217;t done any LR 6.0 development myself but I reckon it has something to do with changes in how service work in 6.0.</p>
<p>Mayb you can use the service builder directly to generate your service? See: <a href="http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder" rel="nofollow">http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder</a></p>
<p>Good luck and let me know if it worked,<br />
Bert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adolfo</title>
		<link>http://www.devatwork.nl/2010/05/securing-your-liferay-service-using-permissionchecker/comment-page-1/#comment-6649</link>
		<dc:creator>Adolfo</dc:creator>
		<pubDate>Thu, 16 Dec 2010 01:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.devatwork.nl/?p=798#comment-6649</guid>
		<description>Hi Bert;

Great post, i just upgrade the code of the liferay version to 6.0.5(avoiding portal-kernel), and i try to invoke the service via de portlet the but liferay keeps saying &quot;the service is not set&quot;, and also I cannot see the service listed at http://127.0.0.1:8080/tunnel-web/secure/axis, What do you think could be the cause for this?
 
ERROR [jsp:154] java.lang.RuntimeException: HelloWorldService is not set
        at nl.devatwork.hello.world.service.HelloWorldServiceUtil.getService(HelloWorldServiceUtil.java:8)
        at nl.devatwork.hello.world.service.HelloWorldServiceUtil.sayHello(HelloWorldServiceUtil.java:19)
        at nl.devatwork.hello.world.portlets.SayHelloPortlet.doView(SayHelloPortlet.java:17)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:638)
        at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:723)
        at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:425)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)</description>
		<content:encoded><![CDATA[<p>Hi Bert;</p>
<p>Great post, i just upgrade the code of the liferay version to 6.0.5(avoiding portal-kernel), and i try to invoke the service via de portlet the but liferay keeps saying &#8220;the service is not set&#8221;, and also I cannot see the service listed at <a href="http://127.0.0.1:8080/tunnel-web/secure/axis" rel="nofollow">http://127.0.0.1:8080/tunnel-web/secure/axis</a>, What do you think could be the cause for this?</p>
<p>ERROR [jsp:154] java.lang.RuntimeException: HelloWorldService is not set<br />
        at nl.devatwork.hello.world.service.HelloWorldServiceUtil.getService(HelloWorldServiceUtil.java:8)<br />
        at nl.devatwork.hello.world.service.HelloWorldServiceUtil.sayHello(HelloWorldServiceUtil.java:19)<br />
        at nl.devatwork.hello.world.portlets.SayHelloPortlet.doView(SayHelloPortlet.java:17)<br />
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)<br />
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)<br />
        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)<br />
        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)<br />
        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)<br />
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br />
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br />
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)<br />
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)<br />
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)<br />
        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:638)<br />
        at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:723)<br />
        at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:425)<br />
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br />
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br />
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

