Results 1 to 5 of 5

Thread: Acegi without Authentication

  1. #1

    Question Acegi without Authentication

    Hi All
    I am trying to use Acegi in my application. I must relay on the container to autenticate the user. I still want Acegi to manage the Authorization in my application to all resources, from domain object, method invocation, url access etc.
    Can someone give a simple instraction (Or point me to :>) to
    1. what objects I need to implement myself
    2. What configuration I need to do
    3. What things I need to take care for that Acegi when used for Authentication usually takes care for
    I read this post
    http://forum.springframework.org/showthread.php?t=12643
    which was helpfull but not enough for me as I do not understand how all parts are coming together
    Thanks in advance
    Nehemia
    Last edited by litterat; May 27th, 2007 at 11:29 PM. Reason: More info
    mmmm, I think I will order a cup of coffee in this beautiful spring day

  2. #2

    Default Maybe I asked for too much

    Is there an example for such configuration in which the container autenticate the user?
    mmmm, I think I will order a cup of coffee in this beautiful spring day

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

    Default

    Quote Originally Posted by litterat View Post
    Is there an example for such configuration in which the container autenticate the user?
    What exactly does this mean? Will the container have already authenticated the user, or do you still need to call into the container? If it's the former than you can simple build the Authentication information and store this in the SecurityContextHolder.setContext(..). If it's the latter, then you could do it via an AuthenticationProvider. It would be useful to know exactly what you are trying to do.
    http://www.acegisecurity.org/multipr...nProvider.html
    Last edited by karldmoore; Aug 30th, 2007 at 06:37 AM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

  4. #4

    Default More info

    My situation is the container already authenticated the user

    I looked into this post
    http://forum.springframework.org/showthread.php?t=12643

    But I guess from your answer that this is not what I need

    1. I do not really know which filters I still have to use
    2. Do I need to write a filter? Can I use session listener?
    3. If I have to write a filter does it need to run before all other Ageci filters or it must come after some other filters? After which?

    I am sorry for all those questions. But the simple stright way to use Ageci is very clear from the examples I really think that giving a simple example for this kind of situation whould be very helpfull.

    Anyway I thank you for your time.
    mmmm, I think I will order a cup of coffee in this beautiful spring day

  5. #5

    Thumbs up This looks like the answer I was looking for

    mmmm, I think I will order a cup of coffee in this beautiful spring day

Posting Permissions

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