com.googlecode.fascinator.redbox
Class PortalModule

java.lang.Object
  extended by com.googlecode.fascinator.redbox.PortalModule

public class PortalModule
extends Object

Module to provide a safe Storage API for the Jython layer. The wrapper will call the Indexer to check access to DigitalObjects and Payloads. Also intercepts Solr requests and secures them based on current user access.

Author:
Oliver Lucido

Constructor Summary
PortalModule()
           
 
Method Summary
static void adviseSafe(org.slf4j.Logger log, org.apache.tapestry5.services.ApplicationStateManager appStateManager, com.googlecode.fascinator.api.indexer.Indexer indexer, com.googlecode.fascinator.portal.services.PortalSecurityManager securityManager, org.apache.tapestry5.ioc.MethodAdviceReceiver receiver)
           
static void adviseSafeIndexer(org.slf4j.Logger log, org.apache.tapestry5.services.ApplicationStateManager appStateManager, org.apache.tapestry5.services.RequestGlobals requestGlobals, com.googlecode.fascinator.api.indexer.Indexer indexer, com.googlecode.fascinator.portal.services.PortalSecurityManager securityManager, org.apache.tapestry5.ioc.MethodAdviceReceiver receiver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalModule

public PortalModule()
Method Detail

adviseSafe

@Match(value="ScriptingServices")
public static void adviseSafe(org.slf4j.Logger log,
                                    org.apache.tapestry5.services.ApplicationStateManager appStateManager,
                                    com.googlecode.fascinator.api.indexer.Indexer indexer,
                                    com.googlecode.fascinator.portal.services.PortalSecurityManager securityManager,
                                    org.apache.tapestry5.ioc.MethodAdviceReceiver receiver)

adviseSafeIndexer

@Match(value="Indexer")
public static void adviseSafeIndexer(org.slf4j.Logger log,
                                           org.apache.tapestry5.services.ApplicationStateManager appStateManager,
                                           org.apache.tapestry5.services.RequestGlobals requestGlobals,
                                           com.googlecode.fascinator.api.indexer.Indexer indexer,
                                           com.googlecode.fascinator.portal.services.PortalSecurityManager securityManager,
                                           org.apache.tapestry5.ioc.MethodAdviceReceiver receiver)


Copyright © 2010-2012. All Rights Reserved.