[Building Sakai] Communication between ResourcesAction and custom service

David Horwitz david.horwitz at uct.ac.za
Thu Jul 7 01:20:24 PDT 2011


Hi Paul,

Maybe it would be useful to spell out the use case - it seems that you 
are trying to work round the Sakai security model and I'm not sure why 
you would want to do that at the level of a RequestFilter

Regards

D

On 07/07/2011 09:17 AM, Paul Marais wrote:
>
> Hi David,
>
> thanks for the reply.
>
> We actually don't require the Resource filter anymore.
>
> However, we still want to place a filter on the Sites tool and the 
> Worksite Setup tool.
>
> This filter must only show sites that meet certain criteria. This 
> criteria is stored in a our own database table.
>
> It looks like the code that handles which sites are shown is 
> AdminSitesAction.java and SiteAction.java and respectively.
>
> Thus we want to call our service from here to figure out which sites 
> to show/hide.
>
> Cheers
>
> Paul
>
> *From:*sakai-dev-bounces at collab.sakaiproject.org 
> [mailto:sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of 
> *David Horwitz
> *Sent:* 06 July 2011 09:59 AM
> *To:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Communication between ResourcesAction 
> and custom service
>
> Hi
>
> Your case sounds a bit odd - your suggesting calling tool level code 
> from a service layer. This would be difficult and bad practice. You 
> sure you want ResourceAction not ContentHostingService?
>
> Regards
>
> David
>
> On 07/06/2011 09:38 AM, Paul Marais wrote:
>
> Hi,
>
> I have a non-visual Sakai tool consisting of a SiteAdvisor and Quartz 
> Scheduler.
>
> For this tool I've written a API and Implementation layer for my 
> custom services.
>
> We want to do some custom filtering in the ResourcesAction.java 
> (sakai-content-tool) class by calling the custom services.
>
> What's the best way to do this?
>
> Thank you very much
>
> Paul
>
>   
>   
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org  <mailto:sakai-dev at collab.sakaiproject.org>
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>   
> TO UNSUBSCRIBE: send email tosakai-dev-unsubscribe at collab.sakaiproject.org  <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org>  with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110707/07ee80d5/attachment.html 


More information about the sakai-dev mailing list