On Oct 24, 2008, at 4:36 AM, laxmiraghu wrote:
I've developed a social networking portal using jetspeed and spring
framework
and it's in alpha version. Everything is working just fine.
I've developed entire thing as one portlet and dumped all the
functionality
(login, registration, social group creation etc). Conceptually it
may not be
the right way do it. So, i would like to change the design and
arrange the
components correctly. So, i need help here.
yes, seems odd to pile them all into one portlet. Portlets are great
for breaking up your user facing functionality into nice small,
configurable, secure web components
First thing is: Currently i'm using my own login and registration
pages
thinking in mind that we may go for proprietary portal servers (like
the one
provided by IBM) at a later point of time. So, will it be better to
use our
own implementation of login and registration pages or use the one
that comes
along with jetspeed?
That one has been covered on this list a number of times, you might
want to search the archives
Second thing is: if one insists us to use jetspeed implementation of
login
and registration pages, how can i do that? Can i get some samples
showing
how to do the above?
If I understand your question, you want to store your users outside of
Jetspeed and then still use the Jetspeed login and registration pages?
Basically you have two choices then:
1. implement the Jetspeed security services at the Jetspeed API level
for a tight integration. This allows you to use Jetspeed
administrative portlets all out of the box. Downside is you have to
write the Java code to implement the security interfaces
2. Write a custom authentication solution which might involve SSO (as
shown below) and combine that with a filter and jetspeed valve to
populate the required Jetspeed Subject in the request
http://portals.apache.org/jetspeed-2/guides/guide-tomcat-sso-cross-context-j2-realm.html
Third thing is: How can i make different portlets sit in one page?
Basically
a guide for writing my own psml files and how to use them etc?
Jetspeed supports placing several columns of portlets and nested
columns all on the same page, all with a customizer at runtime, or by
editing simple XML format called PSML by hand
Just take a look at the demo, such as this one here to see more than
one portlet on a page:
http://portals.zones.apache.org/jetspeed/portal/
You can actually view a simplified representation of the page(PSML) by
going here:
http://portals.zones.apache.org/jetspeed/ajaxapi/
PSML docs:
http://portals.apache.org/jetspeed-2/guides/guide-psml.html
http://portals.apache.org/jetspeed-2/guides/guide-security-declarative-psml.html
and of course the tutorial
http://portals.apache.org/tutorials/jetspeed-2-ant/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]