Liferay 6.2.0-ce-m4

com.liferay.portal.security.pacl
Class GeneratingPACLPolicy

java.lang.Object
  extended by com.liferay.portal.security.pacl.BasePACLPolicy
      extended by com.liferay.portal.security.pacl.ActivePACLPolicy
          extended by com.liferay.portal.security.pacl.GeneratingPACLPolicy
All Implemented Interfaces:
PACLPolicy

public class GeneratingPACLPolicy
extends ActivePACLPolicy


Constructor Summary
GeneratingPACLPolicy(String servletContextName, ClassLoader classLoader, Properties properties)
           
 
Method Summary
 void checkPermission(Permission permission)
           
 boolean hasJNDI(String name)
           
 boolean hasPortalService(Object object, Method method, Object[] arguments)
           
 boolean hasSQL(String sql)
           
protected  void mergeAuthorizationProperty(AuthorizationProperty authorizationProperty)
           
protected  void mergeExistingProperties()
           
protected  void writePACLPolicyFile()
           
 
Methods inherited from class com.liferay.portal.security.pacl.ActivePACLPolicy
getJndiChecker, getPortalServiceChecker, getSqlChecker, initJNDIChecker, initPortalServiceChecker, initSQLChecker, isActive
 
Methods inherited from class com.liferay.portal.security.pacl.BasePACLPolicy
getChecker, getClassLoader, getProperties, getProperty, getPropertyArray, getPropertyBoolean, getPropertySet, getServletContextName, initChecker, initCheckers, isCheckablePermission, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneratingPACLPolicy

public GeneratingPACLPolicy(String servletContextName,
                            ClassLoader classLoader,
                            Properties properties)
Method Detail

checkPermission

public void checkPermission(Permission permission)
Specified by:
checkPermission in interface PACLPolicy
Overrides:
checkPermission in class ActivePACLPolicy

hasJNDI

public boolean hasJNDI(String name)
Specified by:
hasJNDI in interface PACLPolicy
Overrides:
hasJNDI in class ActivePACLPolicy

hasPortalService

public boolean hasPortalService(Object object,
                                Method method,
                                Object[] arguments)
Specified by:
hasPortalService in interface PACLPolicy
Overrides:
hasPortalService in class ActivePACLPolicy

hasSQL

public boolean hasSQL(String sql)
Specified by:
hasSQL in interface PACLPolicy
Overrides:
hasSQL in class ActivePACLPolicy

mergeAuthorizationProperty

protected void mergeAuthorizationProperty(AuthorizationProperty authorizationProperty)

mergeExistingProperties

protected void mergeExistingProperties()

writePACLPolicyFile

protected void writePACLPolicyFile()

Liferay 6.2.0-ce-m4