{"id":47,"date":"2007-07-15T08:42:22","date_gmt":"2007-07-15T16:42:22","guid":{"rendered":"http:\/\/timony.com\/mickzblog\/2007\/07\/15\/jetspeed-login-portlet-websphere-61\/"},"modified":"2007-07-15T08:42:22","modified_gmt":"2007-07-15T16:42:22","slug":"jetspeed-login-portlet-websphere-61","status":"publish","type":"post","link":"http:\/\/timony.com\/mickzblog\/2007\/07\/15\/jetspeed-login-portlet-websphere-61\/","title":{"rendered":"Jetspeed Login Portlet &#038; WebSphere 6.1"},"content":{"rendered":"<p>How to get the Jetspeed Login Portlet to work with IBM&#8217;s WebSphere 6.1. The default Jetspeed login Portlet doesn&#8217;t with WAS, it does work with Tomat, there is an alternative Login Portlet that can be used that will work with WAS. Follow the steps below to disable the LoginPortlet and enable the PortalLoginPortlet.<\/p>\n<p>1. <strong>WAS version<\/strong><\/p>\n<p>First make sure you&#8217;ve running at least WAS 6.1.3 or higher.<\/p>\n<p>2.<strong> PortalFilter &amp; web.xml  <\/strong><\/p>\n<p>Edit the web.xml file that&#8217;s in the Portal&#8217;s WAR file and uncomment the PortalFilter:<\/p>\n<pre>  &lt;filter&gt;\n    &lt;filter-name&gt;PortalFilter&lt;\/filter-name&gt;\n    &lt;filter-class&gt;org.apache.jetspeed.login.filter.PortalFilter&lt;\/filter-class&gt;\n  &lt;\/filter&gt;\n\n  &lt;filter-mapping&gt;\n    &lt;filter-name&gt;PortalFilter&lt;\/filter-name&gt;\n    &lt;url-pattern&gt;\/*&lt;\/url-pattern&gt;\n  &lt;\/filter-mapping&gt;<\/pre>\n<p>3. <strong>LoginPortlet &amp; PortalLoginPortlet<\/strong><\/p>\n<p>Replace the LoginPortlet in your default-page.psml with the PortalLoginPortlet:<\/p>\n<pre>&lt;fragment id=\"dp-12\" type=\"portlet\" name=\"j2-admin::LoginPortlet\"&gt;\n      &lt;property layout=\"TwoColumns\" name=\"row\" value=\"1\" \/&gt;\n      &lt;property layout=\"TwoColumns\" name=\"column\" value=\"1\" \/&gt;\n&lt;\/fragment&gt;<\/pre>\n<pre>\n &lt;fragment id=\"dp-12\" type=\"portlet\" name=\"j2-admin::PortalLoginPortlet\"&gt;\n      &lt;property layout=\"TwoColumns\" name=\"row\" value=\"1\" \/&gt;\n      &lt;property layout=\"TwoColumns\" name=\"column\" value=\"1\" \/&gt;\n&lt;\/fragment&gt;<\/pre>\n<p>You may need to change the\u00a0 &#8220;fragment id&#8221; also.<br \/>\n4.<strong>Edit jetspeed-portlet.xml<\/strong><\/p>\n<p>Add this to your j2-admin&#8217;s WEB-INF\/jetspeed-portlet.xml, immediately below the first portlet entry:<\/p>\n<pre>&lt;portlet&gt;\n        &lt;portlet-name&gt;PortalLoginPortlet&lt;\/portlet-name&gt;\n        &lt;js:security-constraint-ref&gt;public-view&lt;\/js:security-constraint-ref&gt;       \n        &lt;dc:title&gt;Portal Login Portlet&lt;\/dc:title&gt;\n        &lt;dc:creator&gt;J2 Team&lt;\/dc:creator&gt;\n&lt;\/portlet&gt;<\/pre>\n<p>5. <strong>Custom PSML?<\/strong><\/p>\n<p>If your using Maven 2 to build a custom Portal, override the the default page by putting the modified copy of your page in<\/p>\n<blockquote><\/blockquote>\n<blockquote><p>portal\/src\/webapp\/WEB-INF\/pages<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>How to get the Jetspeed Login Portlet to work with IBM&#8217;s WebSphere 6.1. The default Jetspeed login Portlet doesn&#8217;t with WAS, it does work with Tomat, there is an alternative Login Portlet that can be used that will work with WAS. Follow the steps below to disable the LoginPortlet and enable the PortalLoginPortlet. 1. WAS &hellip; <a href=\"http:\/\/timony.com\/mickzblog\/2007\/07\/15\/jetspeed-login-portlet-websphere-61\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Jetspeed Login Portlet &#038; WebSphere 6.1<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[32,39],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-portal","category-tech"],"_links":{"self":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":0,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}