RE: Accessing SunRise context after authorization

2002-07-02 Thread Carsten Ziegeler

And, please notice the space at the end of the context name,
you have to remove it, so it should read:

 -Original Message-
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 8:17 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Accessing SunRise context after authorization
> 
> 
> The authentication framework needs to know, that your pipeline belongs
> to the handler you used for authentication. Only then the sunRise context
> is available in the pipeline.
> 
> So, you have to use the action around your status pipeline, like this:
> 
>  
>   
>   
> 
> 
> 
> 
> 
> 
>   
>  
> 
> Carsten 
> 
> Carsten Ziegeler Chief Architect Open Source Group, S&N AG
> --
>  Cocoon Consulting, Training and Projects
> --
> mailto:[EMAIL PROTECTED]  http://www.s-und-n.de
> http://ziegeler.bei.t-online.de
> 
> 
> > -Original Message-
> > From: Hugo Burm [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 02, 2002 6:17 AM
> > To: [EMAIL PROTECTED]
> > Subject: Accessing SunRise context after authorization
> > 
> > 
> > Hello,
> > 
> > I am running Cocoon 2.0.2 on Tomcat 4.0.1 on W2000.
> > 
> > I have build an authorization system based on the Sunshine/Sunrise
> > components.
> > The authorization works OK.
> > After successfull authorization, the user is redirected to a 
> status page.
> > This status page can access all the SessionContexts supplied by 
> > the Sunrise
> > transformer.
> > Except for one (and that is the one I need).
> > The one I need is the SunRise context, that contains the user 
> > details of the
> > authorized user.
> > When I try to access this context, I get an error: "Context does 
> > not exist".
> > When I try to create it myself, I get an error: "Context name is 
> > reserved".
> > 
> > How can I access this Sunrise context? Details below.
> > 
> > 
> > Hugo
> > [EMAIL PROTECTED]
> > 
> > 
> > ==
> > 
> > 
> > 
> > You are:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ==
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> >
> >
> > > value="request:password"/>
> >
> >
> >  
> >  
> >  
> >  
> > 
> > 
> > 
> > 
> > 
> >   
> >   
> >   
> >   
> >   
> > 
> > 
> > 
> > 
> > 
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




RE: Accessing SunRise context after authorization

2002-07-02 Thread Carsten Ziegeler

The authentication framework needs to know, that your pipeline belongs
to the handler you used for authentication. Only then the sunRise context
is available in the pipeline.

So, you have to use the action around your status pipeline, like this:

 




  



  
 

Carsten 

Carsten Ziegeler Chief Architect Open Source Group, S&N AG
--
 Cocoon Consulting, Training and Projects
--
mailto:[EMAIL PROTECTED]  http://www.s-und-n.de
http://ziegeler.bei.t-online.de


> -Original Message-
> From: Hugo Burm [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 6:17 AM
> To: [EMAIL PROTECTED]
> Subject: Accessing SunRise context after authorization
> 
> 
> Hello,
> 
> I am running Cocoon 2.0.2 on Tomcat 4.0.1 on W2000.
> 
> I have build an authorization system based on the Sunshine/Sunrise
> components.
> The authorization works OK.
> After successfull authorization, the user is redirected to a status page.
> This status page can access all the SessionContexts supplied by 
> the Sunrise
> transformer.
> Except for one (and that is the one I need).
> The one I need is the SunRise context, that contains the user 
> details of the
> authorized user.
> When I try to access this context, I get an error: "Context does 
> not exist".
> When I try to create it myself, I get an error: "Context name is 
> reserved".
> 
> How can I access this Sunrise context? Details below.
> 
> 
> Hugo
> [EMAIL PROTECTED]
> 
> 
> ==
> 
> 
> 
> You are:
> 
> 
> 
> 
> 
> 
> 
> ==
> 
> 
> 
> 
> 
>   
>   
>   
> 
> 
> 
> 
> 
> 
> 
>  
>
>
> value="request:password"/>
>
>
>  
>  
>  
>  
> 
> 
> 
> 
> 
>   
> 
>   
>   
>   
> 
> 
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Accessing SunRise context after authorization

2002-07-02 Thread Hugo Burm

Hello,

I am running Cocoon 2.0.2 on Tomcat 4.0.1 on W2000.

I have build an authorization system based on the Sunshine/Sunrise
components.
The authorization works OK.
After successfull authorization, the user is redirected to a status page.
This status page can access all the SessionContexts supplied by the Sunrise
transformer.
Except for one (and that is the one I need).
The one I need is the SunRise context, that contains the user details of the
authorized user.
When I try to access this context, I get an error: "Context does not exist".
When I try to create it myself, I get an error: "Context name is reserved".

How can I access this Sunrise context? Details below.


Hugo
[EMAIL PROTECTED]


==



You are:







==















 
   
   
   
   
   
 
 
 
 





  
  
  
  
  





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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