<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: J2EE Security is superior, but you aren&#039;t using it</title>
	<atom:link href="http://blog.kischuk.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kischuk.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 19 May 2010 15:39:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Rob Kischuk</title>
		<link>http://blog.kischuk.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-225</link>
		<dc:creator>Rob Kischuk</dc:creator>
		<pubDate>Sun, 29 Feb 2004 23:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-225</guid>
		<description>By &#039;exception&#039;, I&#039;d presume you mean a 403 - forbidden error, at least that&#039;s what a container ought to do.  If so, you can solve the user experience issue my adding an &quot;error-page&quot; entry to your web.xml file, pointing them to a friendlier error page.
&lt;p&gt;
If the container&#039;s giving you a full-on exception, Struts has declarative error handling that work nicely.
&lt;p&gt;
Of course, the core of the problem is that your app shouldn&#039;t have links that encourage users to link to areas they&#039;re not authorized to view - if they are presented with such links, THAT is the core design issue, not JAAS.</description>
		<content:encoded><![CDATA[<p>By &#8216;exception&#8217;, I&#8217;d presume you mean a 403 &#8211; forbidden error, at least that&#8217;s what a container ought to do.  If so, you can solve the user experience issue my adding an &#8220;error-page&#8221; entry to your web.xml file, pointing them to a friendlier error page.</p>
<p>
If the container&#8217;s giving you a full-on exception, Struts has declarative error handling that work nicely.
</p>
<p>
Of course, the core of the problem is that your app shouldn&#8217;t have links that encourage users to link to areas they&#8217;re not authorized to view &#8211; if they are presented with such links, THAT is the core design issue, not JAAS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Vincent Craven</title>
		<link>http://blog.kischuk.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-224</link>
		<dc:creator>Paul Vincent Craven</dc:creator>
		<pubDate>Sat, 28 Feb 2004 15:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-224</guid>
		<description>I found JAAS to useless for security of a web application. You access something you aren&#039;t supposed to, and &#039;pow&#039; you get an exception. Not a great user experience. It is as much work putting in a decent interface to handle the exceptions, as to do the security in the first place. Getting the initial set of security permissions for basic functionality is also a headache. I tied this path twice, once with Tomcat and once with Websphere. I didn&#039;t think it handled the project&#039;s needs either time I tried it. We had another group go down that road and also come to the same conclusion.</description>
		<content:encoded><![CDATA[<p>I found JAAS to useless for security of a web application. You access something you aren&#8217;t supposed to, and &#8216;pow&#8217; you get an exception. Not a great user experience. It is as much work putting in a decent interface to handle the exceptions, as to do the security in the first place. Getting the initial set of security permissions for basic functionality is also a headache. I tied this path twice, once with Tomcat and once with Websphere. I didn&#8217;t think it handled the project&#8217;s needs either time I tried it. We had another group go down that road and also come to the same conclusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Kischuk</title>
		<link>http://blog.kischuk.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-223</link>
		<dc:creator>Rob Kischuk</dc:creator>
		<pubDate>Fri, 27 Feb 2004 10:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-223</guid>
		<description>A lot of the perceived complexity depends on the app server.  At its simplest level, JBoss provides a mechanism that requires 2 files, users.properties and roles.properties.  users.properties manages the authentication part, roles.properties handles authorization.  If you want simple, just create a single role, make all your users a part of that role, and restrict your apps to say that users must be a member of that role.  Hopefully other app servers have a base level implementation that is just as simple, and more advanced implementations (LDAP,JDBC) for those who need it.</description>
		<content:encoded><![CDATA[<p>A lot of the perceived complexity depends on the app server.  At its simplest level, JBoss provides a mechanism that requires 2 files, users.properties and roles.properties.  users.properties manages the authentication part, roles.properties handles authorization.  If you want simple, just create a single role, make all your users a part of that role, and restrict your apps to say that users must be a member of that role.  Hopefully other app servers have a base level implementation that is just as simple, and more advanced implementations (LDAP,JDBC) for those who need it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Daigle</title>
		<link>http://blog.kischuk.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-222</link>
		<dc:creator>Ryan Daigle</dc:creator>
		<pubDate>Fri, 27 Feb 2004 10:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/02/26/j2ee-security-is-superior-but-you-arent-using-it/#comment-222</guid>
		<description>I find JAAS to be a bit confusing and over-architected for simple username/password authentication.  I always like to know how the authentication I&#039;m using works, and I can&#039;t seem to figure it out with JAAS and end up doing my own.  I just need to find a simple JDBC-username/password example and maybe I&#039;d be a convert.</description>
		<content:encoded><![CDATA[<p>I find JAAS to be a bit confusing and over-architected for simple username/password authentication.  I always like to know how the authentication I&#8217;m using works, and I can&#8217;t seem to figure it out with JAAS and end up doing my own.  I just need to find a simple JDBC-username/password example and maybe I&#8217;d be a convert.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
