Suppose I have a page with an article on it ... The article contains
some text where a user can give his opinion ...

So beneath the article a small box is made to enter username and
password.

I a user wants to enter his opinion he first has to log on using the
small login box.

After logging on the user must return to that same page to enter his
opinion but without showing the login box.



Tom.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Luis Alberto Pimentel Gonzalez
Sent: donderdag 24 augustus 2006 14:32
To: [email protected]
Subject: Re: [Acegisecurity-developer] Acegisecurity-developer Digest,
Vol 4,Issue 14

Hi Tom

When you request a page that has been secured ACEGI framework redirects
you to login page, after that you will be redirected to the initial
requested page.

If welcome page is the login page, then the parameter "defaultTargetUrl"
will be user after authentication, but only in that situation because
the AuthenticationProcessingFilter has an attribute
"alwaysUseDefaultTargetUrl" with default value in false.

Then your solution could be: request the dynamic link and if it need
authentication then will be redirected to login page.

Is that your problem?


regards
Luis Alberto Pimentel Glez.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 2:08 PM
To: [email protected]
Subject: Acegisecurity-developer Digest, Vol 4, Issue 14

Send Acegisecurity-developer mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Acegisecurity-developer digest..."


Today's Topics:

   1. Dynamic defaultTargetUrl (Tom Stroobants)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Aug 2006 06:49:41 +0200
From: "Tom Stroobants" <[EMAIL PROTECTED]>
Subject: [Acegisecurity-developer] Dynamic defaultTargetUrl
To: <[email protected]>
Message-ID:
        
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hey,

 

We are using the acegi frame as our security framework for some time and
until today the user had to clcik a login link (which contained a
restricted URL).

After clicking on this login link ACEGI redirects you to the login page
and after successfull authentication you are redirect to the requested
URL.

 

Suppose that my login form is integrated in an other page and I want to
return to that page that integrated my login page (so the original page)
... How do you do that in ACEGI ?

 

I've been searching the internet but did not find any solution.

Can't you just configure ACEGI to go back to the original URL after
authentication ?? 

 

What I could use is the defaultTargetUrl but the problem is that my
original URL contains dynamic parameters ... Don't know if it's possible
to use these in the configuration xml file of ACEGI ?

 

Best regards,

 

Tom.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=acegisecurity-develop
er/attachments/20060823/532c0df9/attachment.html 

------------------------------

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------

_______________________________________________
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


End of Acegisecurity-developer Digest, Vol 4, Issue 14
******************************************************

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to