You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by chaloo banda <ch...@hotmail.com> on 2001/10/17 15:48:55 UTC

integration with ldap

hi all !
   i am trying to use ldap/NIS with jetspeed but do not know how to...
  can anyone please give me some insight into this. i mean what if i use an 
ldap/NIS based directory service for authentication and authorizaiton 
instead of the database.

  i see some refernce to this in the turbine resource.properties but am not 
sure how to use it.

  please guide me.

  thanking you,

CB

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Controlling portlet opening

Posted by Paul Spencer <pa...@mikon.com>.
Nausheen,
I have not done a "frames" implementation in Jetspeed, but this is how I
would start:

Jetspeed generates 1 file to send to the browser.  This file is based on
WEB-INF/templates/vm/navigation/html/default.vm, or
WEB-INF/templates/jsp/navigation/html/default.jsp it you are using the
JSP to do the layout.  In default.vm their are place holders for the
navigation bars, $navigation.setTemplate(), and the portlet content,
$screen_placeholder.  Using javascript, you may be able to create a
window containing a one place holder and then add that window to the
frame.

I am now sure how complete or workable a solution this is.

Other options:
o If the links you want displayed are from an RSS feed, then you an
modify
  the XSL file, defined in the <portlet-entry>, to display the link in a
new windows by adding 
  target="_blank" to the <a href=...> tag.
  This is a very clean solution.

o If you control the content, then you can write a portlet that displays
  a webpage using a parameter on that contains the URL.  This is a very 
  fragile solution because the URL must be encoded by the initial
  application to use the portlet and the configuration is tricky.  

Hope this helps.

Paul Spencer


nausheen wrote:
> 
> Hi...
> 
> Exactly what changes do I need to make and to which file? I tried to put
> left.vm in a frame but it didnt work....or was I way of base???
> Is there any sample code that I could see?
> 
> I'm still very much in the greys here :(
> Nausheen.
> 
> ----- Original Message -----
> From: Paul Spencer <pa...@mikon.com>
> To: <je...@jakarta.apache.org>
> Sent: Thursday, October 18, 2001 8:01 PM
> Subject: Re: Controlling portlet opening
> 
> > Nausheen,
> > You can change the layout configuration to use frames.  Look at the file
> > <jetspeed-home>/WEB-INF/templates/<layout type vm or
> > jsp>/layouts/html/default.<vm or jsp>
> >
> > Paul Spencer
> >
> >
> > nausheen wrote:
> > >
> > > Hi....
> > >
> > > How can I control the area in which my portlets open?
> > >
> > > When I click a link in a portlet I do not want the target page's content
> to
> > > cover my entire screen...just below my page header.
> > >
> > > I really could use some help with this.
> > >
> > > Thx,
> > > Nausheen.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Controlling portlet opening

Posted by nausheen <na...@siptech.co.in>.
Hi...

Exactly what changes do I need to make and to which file? I tried to put
left.vm in a frame but it didnt work....or was I way of base???
Is there any sample code that I could see?

I'm still very much in the greys here :(
Nausheen.



----- Original Message -----
From: Paul Spencer <pa...@mikon.com>
To: <je...@jakarta.apache.org>
Sent: Thursday, October 18, 2001 8:01 PM
Subject: Re: Controlling portlet opening


> Nausheen,
> You can change the layout configuration to use frames.  Look at the file
> <jetspeed-home>/WEB-INF/templates/<layout type vm or
> jsp>/layouts/html/default.<vm or jsp>
>
> Paul Spencer
>
>
> nausheen wrote:
> >
> > Hi....
> >
> > How can I control the area in which my portlets open?
> >
> > When I click a link in a portlet I do not want the target page's content
to
> > cover my entire screen...just below my page header.
> >
> > I really could use some help with this.
> >
> > Thx,
> > Nausheen.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Controlling portlet opening

Posted by nausheen <na...@siptech.co.in>.
Paul...
I am not quite sure of what you mean :(
I tried to put my top, left and bottom in 3 frames in default.vm but it
didnt make a difference.

Pls elaborate a little.
Nausheen.

----- Original Message -----
From: Paul Spencer <pa...@mikon.com>
To: <je...@jakarta.apache.org>
Sent: Thursday, October 18, 2001 8:01 PM
Subject: Re: Controlling portlet opening


> Nausheen,
> You can change the layout configuration to use frames.  Look at the file
> <jetspeed-home>/WEB-INF/templates/<layout type vm or
> jsp>/layouts/html/default.<vm or jsp>
>
> Paul Spencer
>
>
> nausheen wrote:
> >
> > Hi....
> >
> > How can I control the area in which my portlets open?
> >
> > When I click a link in a portlet I do not want the target page's content
to
> > cover my entire screen...just below my page header.
> >
> > I really could use some help with this.
> >
> > Thx,
> > Nausheen.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Controlling portlet opening

Posted by Paul Spencer <pa...@mikon.com>.
Nausheen,
You can change the layout configuration to use frames.  Look at the file
<jetspeed-home>/WEB-INF/templates/<layout type vm or
jsp>/layouts/html/default.<vm or jsp>

Paul Spencer


nausheen wrote:
> 
> Hi....
> 
> How can I control the area in which my portlets open?
> 
> When I click a link in a portlet I do not want the target page's content to
> cover my entire screen...just below my page header.
> 
> I really could use some help with this.
> 
> Thx,
> Nausheen.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Controlling portlet opening

Posted by nausheen <na...@siptech.co.in>.
Hi....

How can I control the area in which my portlets open?

When I click a link in a portlet I do not want the target page's content to
cover my entire screen...just below my page header.

I really could use some help with this.

Thx,
Nausheen.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: integration with ldap

Posted by Atul Dambalkar <ad...@cisco.com>.
I had done some preliminary research on this.

This probably can be done in two ways,
1. There is turbine user itself in turbine schema. You want to maintain 
that schema for Jetspeed to function and maintain same user id in your 
ldap. If you do this, you can re-write one of the Jetspeed action classes 
that handles the user login functionality and override the exact same part 
that goes to Jetspeed database and checks for the validity of the 
username/password.
2. You can use, web-server's basic user authentication feature and put the 
username and password in the request object and then rather than going 
thro' Jetspeed's login screen invoke user specific screen. Over here you 
have to do some research to figure out how you can change the default login 
screen to something that will be specific to the logged-in user specific 
screen.

-Atul

At 07:18 PM 10/17/01 +0530, you wrote:
>hi all !
>   i am trying to use ldap/NIS with jetspeed but do not know how to...
>  can anyone please give me some insight into this. i mean what if i use 
> an ldap/NIS based directory service for authentication and authorizaiton 
> instead of the database.
>
>  i see some refernce to this in the turbine resource.properties but am 
> not sure how to use it.
>
>  please guide me.
>
>  thanking you,
>
>CB
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org