After considerable amount of hair pulling and banging my head on the table i managed to get it working.
I just copied the entire project provided by acegi and replaced it with my stuff and it works!
After considerable amount of hair pulling and banging my head on the table i managed to get it working.
I just copied the entire project provided by acegi and replaced it with my stuff and it works!
Hmmm interesting. Well it's working that's the main thing, now don't break it.
i think it may have been the web.xml configuration that was causing the problem. I want to take out the unnecessary stuff like rememberme ...but too scared to touch it now!![]()
Well as long as you change something and then test that change, it's easy to track down the problems when you break it. I don't think you should need to change the web.xml though.
Last edited by badi007; Mar 19th, 2007 at 11:45 AM.
I'm sorry I don't understand what you are getting at.
excuse me for my English,
I wanted to say that to see the authorizations of each account (admin or simple user) I must refresh each time the page in question in order to have the adequate result (authorized or not).
for example I reach the /secure/index.jsp page with the account of a simple user (Peter for example) but with the contents of the former user (admin for exmple). Only when I refresh the page at this time I would have “access denied”. thus i want to know if there is acegi solution which makes possible to refresh the pages automatically or to remove the user details after logout.
Last edited by badi007; Mar 20th, 2007 at 05:25 AM.
Are you saying that your browser is caching the pages? That isn't something you would use Acegi to alter. It's a normal issue using GET requests with webapps and web servers. Most web frameworks allow you to configure them to set HTTP headers to prevent caching and if you are using HTTPS pages won't be cached either.