Liferay 6.2.0-ce-m1

com.liferay.portal.security.pacl
Class BasePACLPolicy

java.lang.Object
  extended by com.liferay.portal.security.pacl.BasePACLPolicy
All Implemented Interfaces:
PACLPolicy
Direct Known Subclasses:
ActivePACLPolicy, InactivePACLPolicy

public abstract class BasePACLPolicy
extends Object
implements PACLPolicy


Constructor Summary
BasePACLPolicy(String servletContextName, ClassLoader classLoader, Properties properties)
           
 
Method Summary
protected  Checker getChecker(Class<? extends Permission> clazz)
           
 ClassLoader getClassLoader()
           
 Properties getProperties()
           
 String getProperty(String key)
           
 String[] getPropertyArray(String key)
           
 boolean getPropertyBoolean(String key)
           
 Set<String> getPropertySet(String key)
           
 String getServletContextName()
           
protected  Checker initChecker(Checker checker)
           
protected  void initCheckers()
           
 boolean isCheckablePermission(Permission permission)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.security.pacl.PACLPolicy
checkPermission, hasJNDI, hasPortalService, hasSQL, isActive
 

Constructor Detail

BasePACLPolicy

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

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface PACLPolicy

getProperties

public Properties getProperties()
Specified by:
getProperties in interface PACLPolicy

getProperty

public String getProperty(String key)
Specified by:
getProperty in interface PACLPolicy

getPropertyArray

public String[] getPropertyArray(String key)
Specified by:
getPropertyArray in interface PACLPolicy

getPropertyBoolean

public boolean getPropertyBoolean(String key)
Specified by:
getPropertyBoolean in interface PACLPolicy

getPropertySet

public Set<String> getPropertySet(String key)
Specified by:
getPropertySet in interface PACLPolicy

getServletContextName

public String getServletContextName()
Specified by:
getServletContextName in interface PACLPolicy

isCheckablePermission

public boolean isCheckablePermission(Permission permission)
Specified by:
isCheckablePermission in interface PACLPolicy

toString

public String toString()
Overrides:
toString in class Object

getChecker

protected Checker getChecker(Class<? extends Permission> clazz)

initChecker

protected Checker initChecker(Checker checker)

initCheckers

protected void initCheckers()
                     throws Exception
Throws:
Exception

Liferay 6.2.0-ce-m1