Results 1 to 6 of 6

Thread: I need to protect web-app (newbie question)

  1. #1
    Join Date
    Feb 2005
    Posts
    7

    Default I need to protect web-app (newbie question)

    Hello all,
    i read through manuals on acegi web page, but i am still very confused and completly unable to protect anything with acegi :oops: .

    Right now i have simple web application, that uses Spring, Tapestry and Hibernate.

    I need to protect that web app something like this way:
    whenever the user comes to any page from that app and his session is not authentized, it's neccessary to relocate him to Login page.
    Then verify his login and after success redirect him back to previous location.

    The problem for me is that manual, although is very nice, does not give me an axample how to do that really simple thing - at least i wasn't able to find it.
    So - if you have any hints, or if you could point me to some example i'll really appreciate this.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Maybe some Tapestry users out there can offer you some specific suggestions, or you might like to try http://sourceforge.net/projects/hispacta.

  3. #3
    Join Date
    Feb 2005
    Posts
    7

    Default

    Thanks for answer Mr. Alex. I have hispacta just before me, but it uses old API - form version 0.5 I guess.

    I try to divide my previous question to two parts:
    Is there a step-by-step manual describing how to start with acegi on web for dumb (and dumiest)?

    The second part (if there is a example source code) i solved by instaling maven and downloading acegi sources. Right now i'm reading sources for sample contacs application.

    Thanks for help, i know that are stupid questions, but i just need to find starting point.

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    As I always say, start with the Contacts sample. It uses Spring MVC, not Tapestry, but we always keep it up-to-date and anyone needing proof that certain features work or more information about them can generally find an answer in Contacts. Once you following how Contacts works, you'll be able to move to the next step. You might also be interested in the "Suggested Steps" document at http://acegisecurity.sourceforge.net.

  5. #5
    Join Date
    Feb 2005
    Posts
    7

    Default

    Maybe you should add note for dummies to "Suggested steps": Source code of Contacts app is downable via cvs (see building with Maven).

    I had trouble to find them :-). But, maybe, others doesn't have those troubles.

    Anyway, thanks a lot for your time.

    PS. For the others: The right solution for me was hidden in hispacta - For authetication with tapestry is better use native tapestry methods, than acegi. For more information look in this thread: http://www.mail-archive.com/acegisec.../msg00289.html
    exactly: http://www.mail-archive.com/acegisec.../msg00301.html

  6. #6
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I've just added a note to suggested steps and the downloads page.

Similar Threads

  1. java.util.Properties Silly Newbie Question
    By robbiest in forum Container
    Replies: 4
    Last Post: Oct 25th, 2011, 05:49 AM
  2. Newbie question - Pet Clinic Sample
    By radone in forum Swing
    Replies: 0
    Last Post: Jul 16th, 2005, 03:50 AM
  3. Newbie question: How to get spring debug logging on?
    By wangjammer5 in forum Container
    Replies: 2
    Last Post: Jul 15th, 2005, 07:11 AM
  4. Replies: 1
    Last Post: Jul 11th, 2005, 03:50 PM
  5. Replies: 3
    Last Post: Apr 3rd, 2005, 04:34 PM

Posting Permissions

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