You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by malcolm cooke <ma...@firstlightassociates.co.uk> on 2002/11/21 14:26:37 UTC

Re: Problems extending user as per how to (and previous messages)

Renuka

I am fairly new to all this so may not be able to help you much.

To make the data available I would have thought that you need to store it 
in the session as you say.

If you are not using the security service then I would think that you will 
have to create your own tool with a method similar to getAuthenticatedUser 
which will check against your user, role tables etc.

One possibility might be to modify the fluxtool and put your required 
methods in there - but to a large degree you may be better off taking 
advice from someone else in the group with a better understanding of these 
things than I have.

Good luck

Malcolm


At 10:52 21/11/02 +0530, you wrote:

>Hi Malcolm
>Even i am also facing the similar type of problem extending the user.
>In my applicatin I am not  importing the Om.Security at all . I have created
>my own tables and users for application security and created the users,
>roles and permissions also.  According to the role id 's and permissions the
>application is working perfectly.
>The main (Big) problem is when i am navigating the pages backward then the
>page is not displaying anything. because I am passing the Userid and role id
>everything to the next page . so It's forward navigation the Userid and
>Roleid are available so pages are displaying the data. If it's back ward
>then problem is Occuring.
>it's not holding the Userid value at all.
>The solution is if i will put the Userid and Roleid in the Session then it
>will work.I am not importing the Om.Security  i am not able to use
>geAuthenticatedUser(username,password) . what ever the solution i got at
>last they mentioned to use the getAuthenticatedUser().
>Is there any other way to invoke the session and put the required values
>where ever we required if the navigation is forward or backward? .
>Your help is alway appreciateble
>
>Regards
>Renuka
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02