Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29

Thread: Using Acegi

  1. #21
    Join Date
    Aug 2006
    Posts
    236

    Default

    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!

  2. #22
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Hmmm interesting. Well it's working that's the main thing, now don't break it .

  3. #23
    Join Date
    Aug 2006
    Posts
    236

    Default

    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!

  4. #24
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    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.

  5. #25
    Join Date
    Mar 2007
    Posts
    11

    Default

    Quote Originally Posted by karldmoore View Post
    If you go to the Acegi site, there is a download link. If you download Acegi, there are two wars in the root folder. These are the two example application. I would really recommend taking a look at them.
    thinks Karl for answer, I downloaded the example and it goes, except that I must each time refresh the page (for example the page extreme/index.jsp) if not the result of the previous execution is posted. has exist acegi solution for that?
    Last edited by badi007; Mar 19th, 2007 at 11:45 AM.

  6. #26
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    I'm sorry I don't understand what you are getting at.

  7. #27
    Join Date
    Mar 2007
    Posts
    11

    Default

    Quote Originally Posted by karldmoore View Post
    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.

  8. #28
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    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.

  9. #29
    Join Date
    Mar 2007
    Posts
    11

    Default

    Quote Originally Posted by Luke View Post
    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.
    thinks for info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •