Hi Will, Thanks for the hint. I didn't know that URISecurityFilter is related with URL ACL. I just put the correct URL ACL for anynomous user and now the login page is shown when anynoumous user tried to access protected page.
I have another things to ask :) (sorry for keep asking). 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]> ----------------------------------------------------------------
