We did something like that.

We took to JLoginUser class, and modified it, so that you can click on a
login link, and Tomcat authenticates the user via client-cert. Now the
modified class retrieves the password of the user via:

        try{
          password=JetspeedSecurity.getUser(username).getPassword();
        }

then we continue as usual:

        JetspeedUser user = null;

        try
        {
            user = JetspeedSecurity.login(username, password);
        }

...

I hope this helps.

Danny

> -----Ursprungliche Nachricht-----
> Von: Gabriel Santonja [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 20. Februar 2003 15:39
> An: Jetspeed Users List
> Cc: [EMAIL PROTECTED]
> Betreff: Re: Using realm tomcat authentication
>
>
> On Wed, 19 Feb 2003 09:51:30 -0500
> [EMAIL PROTECTED] wrote:
>
> > I would love to hear how it goes for you..  Does this mean
> that every
> > user has the same portal?  Or is it based on roles or
> soemthing?  I am
> > playing since yesterday I've resolved my problem so you can conserve
> > your user role but it's some other question
> I think it's possible but with some modifications in the
> jetspeed (top.vm for example).
> Fortunatly the property files are usefull.
>
> > around with a Tomcat JAAS realm to authenticate against NT.  What I
> > really want for our corporate portal is specific portals based on
> > role, versus user customizable portals.
> It' possible by modifying the authentication turbine class and
> retrieving the realm's tomcat login. So you don't have the
> password and
> you must connect your user on jetspeed without it ( it's look like an
> SSO). Remember that jetspeed is protected by the tomcat realm so you
> don't need the password.
>
> But I have some other problem, i want that the jetspeed user
> and tomcat realm user were the same user in the same place in the ldap
> (for example).
>
> I'm using the jetseed cvs (1.4 b4)
>
> > Eric
> Gabriel.
> ___________________________________________________________
>
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en frangais !
>
> Yahoo! Mail : http://fr.mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to