You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sal Mangano <sm...@ureach.com> on 2004/07/14 16:56:00 UTC
Date based authorization in cocoon
I have an application requirement where users who are not registered with
the site or not logged in should have restricted access to content.
Specifically, they are allowed to access current content but will have no
access to older content. Old is determined by a parameter which in my case
is 30 days. Conveniently, the url to the content will encode the date (e.g..
http://something.com/20040701/columns.html).
I wrote a custom action called a DateRangeValidatorAction (and also plan to
write a similar TimeRangeValidatorAction to control access based on time of
day) but I am wondering if there is already a solution within the existing
cocoon framework to these problems. Any suggestions?
BTW, if there is no existing solution, I would be willing to contribute my
actions to cocoon if there was interest.
-Sal
----------------------------------------------------------
Salvatore R. Mangano, President
http://www.into-technology.com
Into Technology transforms software into enduring assets.
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Date based authorization in cocoon
Posted by Joerg Heinicke <jo...@gmx.de>.
On 14.07.2004 16:56, Sal Mangano wrote:
> I have an application requirement where users who are not registered with
> the site or not logged in should have restricted access to content.
> Specifically, they are allowed to access current content but will have no
> access to older content. Old is determined by a parameter which in my case
> is 30 days. Conveniently, the url to the content will encode the date (e.g..
> http://something.com/20040701/columns.html).
>
> I wrote a custom action called a DateRangeValidatorAction (and also plan to
> write a similar TimeRangeValidatorAction to control access based on time of
> day) but I am wondering if there is already a solution within the existing
> cocoon framework to these problems. Any suggestions?
>
> BTW, if there is no existing solution, I would be willing to contribute my
> actions to cocoon if there was interest.
Extending the authentication framework makes much sense to me as it
provides every functionality except the time based access.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org