You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Jens Greive <je...@googlemail.com> on 2008/04/08 14:57:28 UTC

JOSSO

Hi all,

has anyone successfully setup Josso (www.josso.org) with roller? Is there a
way to configure roller to use Josso without having to change the source
code like with CAS?


Cheers,
Jens

Re: JOSSO

Posted by Matt Raible <ma...@raibledesigns.com>.
What container are you running on? You might try manually going to the
frontpage blog's URL and see if that works. If you're authenticated,
it should work and then you know the problem is related to the code in
the JSP. The code works fine on Tomcat 6 with CAS though, so I suspect
it may be caused by JOSSO (though I can't imagine how).

Matt

On Wed, Apr 9, 2008 at 5:51 AM, Jens Greive <je...@googlemail.com> wrote:
> Hi,
>
>  I used the tutorial you posted and it almost works now. One problem I
>  stumbled on was an excepiton in the RollerContext class. It tries to cast
>  the JossoAuthenticationManger to AuthenticationProvider when the remember.me
>  property is set to true. I think this is the default. To avoid that
>  exception I set rememberme.enabled=false in the custom property file.
>  Now I am redirected to the Josso login page when trying to login to roller.
>  After the successfull login I am redirected to roller and get the following
>  exception:
>
>  "Cannot forward after response has been committed"
>
>  I think this is a problem in the index.jsp with the lines:
>      RequestDispatcher homepage =
>  request.getRequestDispatcher("/roller-ui/rendering/page/"+frontpageBlog);
>      homepage.forward(request, response);
>
>  Any ideas how I can avoid that?
>
>  Jens
>
>
>
>
>
>  On Tue, Apr 8, 2008 at 6:44 PM, Matt Raible <ma...@raibledesigns.com> wrote:
>
>  > This may help:
>  >
>  > http://www.josso.org/confluence/display/JOSSO1/Spring+Security+(ACEGI)<http://www.josso.org/confluence/display/JOSSO1/Spring+Security+%28ACEGI%29>
>
>
> >
>  > Matt
>  >
>  > On Tue, Apr 8, 2008 at 6:57 AM, Jens Greive <je...@googlemail.com>
>  > wrote:
>  > > Hi all,
>  > >
>  > >  has anyone successfully setup Josso (www.josso.org) with roller? Is
>  > there a
>  > >  way to configure roller to use Josso without having to change the
>  > source
>  > >  code like with CAS?
>  > >
>  > >
>  > >  Cheers,
>  > >  Jens
>  > >
>  >
>  >
>  >
>  > --
>  > http://raibledesigns.com
>  >
>



-- 
http://raibledesigns.com

Re: JOSSO

Posted by Jens Greive <je...@googlemail.com>.
Hi,

I used the tutorial you posted and it almost works now. One problem I
stumbled on was an excepiton in the RollerContext class. It tries to cast
the JossoAuthenticationManger to AuthenticationProvider when the remember.me
property is set to true. I think this is the default. To avoid that
exception I set rememberme.enabled=false in the custom property file.
Now I am redirected to the Josso login page when trying to login to roller.
After the successfull login I am redirected to roller and get the following
exception:

"Cannot forward after response has been committed"

I think this is a problem in the index.jsp with the lines:
     RequestDispatcher homepage =
request.getRequestDispatcher("/roller-ui/rendering/page/"+frontpageBlog);
     homepage.forward(request, response);

Any ideas how I can avoid that?

Jens




On Tue, Apr 8, 2008 at 6:44 PM, Matt Raible <ma...@raibledesigns.com> wrote:

> This may help:
>
> http://www.josso.org/confluence/display/JOSSO1/Spring+Security+(ACEGI)<http://www.josso.org/confluence/display/JOSSO1/Spring+Security+%28ACEGI%29>
>
> Matt
>
> On Tue, Apr 8, 2008 at 6:57 AM, Jens Greive <je...@googlemail.com>
> wrote:
> > Hi all,
> >
> >  has anyone successfully setup Josso (www.josso.org) with roller? Is
> there a
> >  way to configure roller to use Josso without having to change the
> source
> >  code like with CAS?
> >
> >
> >  Cheers,
> >  Jens
> >
>
>
>
> --
> http://raibledesigns.com
>

Re: JOSSO

Posted by Matt Raible <ma...@raibledesigns.com>.
This may help:

http://www.josso.org/confluence/display/JOSSO1/Spring+Security+(ACEGI)

Matt

On Tue, Apr 8, 2008 at 6:57 AM, Jens Greive <je...@googlemail.com> wrote:
> Hi all,
>
>  has anyone successfully setup Josso (www.josso.org) with roller? Is there a
>  way to configure roller to use Josso without having to change the source
>  code like with CAS?
>
>
>  Cheers,
>  Jens
>



-- 
http://raibledesigns.com