You can have the original URL added as parameter to your login page url simply 
by inserting a "{0}" in the "location" path of your delegate configuration of 
your client callback pattern. So if your login page is at 
/path/to/login/page.html simply set the "location" attribute to 
/path/to/login/page.html?url={0}. You can then use this url as action for your 
login form.

-will


On 29.12.2010, at 08:50, Gusti Andika wrote:

> [...] What the step needed to make the page displayed after the login succeed 
> is the page user entered, not the page in the login form action ? 
> Is there any configuration I need to modify ? or perhaps I need to add new 
> filter?
> As the form itself was a paragraph, maybe I just need to create customized 
> paragraph model? 
> Any answer will be very appreciated. 
> 
> Cheers,
> Gusti
> 
> 
> On Tue, Dec 28, 2010 at 10:46 PM, Will Scheidegger <[email protected]> 
> wrote:
> 
> Hi Gusti
> 
> What you are saying does not make much sense:
> 
> On 28.12.2010, at 13:02, Gusti Andika wrote:
> 
> > [...] But in reality the callback that I defined never redirect to a login 
> > page, instead returning to magnolia login, because AccessManager always 
> > granted the access to the protected website .
> 
> Why should you get the magnolia login if the the access manager granted 
> access to the page?
> 
> -> IF the access manager granted access to the page, the you would actually 
> get the page. To fix this, you need to set the ACL for the anonymous user 
> role correctly. Make sure your settings in the "URL" control space are set 
> right because a blocked URL is what will trigger the URISecurityFilter
> 
> -> IF you get the magnolia login page instead of your custom login page then 
> either your URISecurityFilter settings are not correct or access to the 
> custom login page is blocked too.
> 
> Cheers,
> -will
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 
> 



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to