RE: Want to check user is logged in every page server]

2002-02-14 Thread jeff
] Subject: RE: Want to check user is logged in every page server] Hi Jeff, In your code, you keep the token in the ServletContext rather than in the user session. > (String)getServletContext().getAttribute(SeamConstants.LOGGEDINVAR); Isn't the ServletContext shared by all the users in the app

RE: Want to check user is logged in every page server]

2002-02-13 Thread Sridhar Kumanduri
} > } > } > return status; > } > } > > -----Original Message- > From: Thinh Doan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 10:21 AM > To: Struts Users Mailing List > Subject: RE: Want to check user is logg

RE: Want to check user is logged in every page server]

2002-02-13 Thread jeff
return false; } } } } return status; } } -Original Message- From: Thinh Doan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 10:21 AM To: Struts Users Mailing List Subject: RE: Want to check user is logged in every page server]

RE: Want to check user is logged in every page server]

2002-02-13 Thread Thinh Doan
Regis, Would you please give some code example on how you extended the ActionServlet on how you did it? Thanks, Thinh -Original Message- From: RĂ©gis Melo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:22 AM To: 'Struts Users Mailing List' Subject: RES: Want to check us

RE: Want to check user is logged in every page server]

2002-02-13 Thread Ronald Haring
Question about that solution: isnt it so that the user will be checked ONLY when you try to submit a page? Or does ActionServlet get activated as well when you request a jsp? I didnt think this would happen, so the user credentials will only be checked if you go to *.do. Gr Ronald > -Origi

RE: Want to check user is logged in every page server]

2002-01-28 Thread Jesse Alexander (KADA 12)
Hi, with a servlet 2.3 engine (like Tomcat 4,...) you could write a filter checking for this and then either let the user proceed (if logged on) or reroute to a login-page (if not). regards Alexander -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Monday, January

Question ...RE: Want to check user is logged in every page server

2001-11-22 Thread Barry Jia
To: Struts Users Mailing List Subject: Re: Want to check user is logged in every page server create a bean that represents a user during the login-action processing. add it to the session in your action. on every following page, do a check for a bean representing the user. if not present, do a

Re: Want to check user is logged in every page server

2001-11-22 Thread Thorsten Frank
create a bean that represents a user during the login-action processing. add it to the session in your action. on every following page, do a check for a bean representing the user. if not present, do a forward to the login-page. To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday,

RE: Want to check user is logged in every page server

2001-11-20 Thread Lawson, Rick
Can't you just use Container managed security and set a constraint for each action that requires a user to be in a role called user? Not that I've tested it yet (but will be doing this week) Rick Lawson Infrastructure Specialist Napp Pharmaceutical Group -Original Message- From: Moos

Re: Want to check user is logged in every page server

2001-11-20 Thread Jin Bal
One way would be to create an abstract layer underneath the action layer that defines an abstract method similar to the perform() method. Then you could 'wrap' processing around the call the the abstract method which your concrete subclasses implement. - Original Message - From: <[EMAIL P

RE: Want to check user is logged in every page server

2001-11-20 Thread Tom Klaasen (TeleRelay)
Have a look at struts-example (war file comes with struts) I think you can learn a lot from there. hth, tomK > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 20 november 2001 10:42 > To: Struts Users Mailing List > Subject: Want to check user is