com.liferay.portal.security.pacl
Class BasePACLPolicy
java.lang.Object
com.liferay.portal.security.pacl.BasePACLPolicy
- All Implemented Interfaces:
- PACLPolicy
- Direct Known Subclasses:
- ActivePACLPolicy, InactivePACLPolicy
public abstract class BasePACLPolicy
- extends Object
- implements PACLPolicy
BasePACLPolicy
public BasePACLPolicy(String servletContextName,
ClassLoader classLoader,
Properties properties)
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader in interface PACLPolicy
getPolicy
public Policy getPolicy()
- Specified by:
getPolicy 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
checkForAllPermission
protected void checkForAllPermission(Policy policy,
String rootDir)
throws MalformedURLException
- Throws:
MalformedURLException
getChecker
protected Checker getChecker(Class<? extends Permission> clazz)
getProvider
protected Provider getProvider()
initChecker
protected Checker initChecker(Checker checker)
initCheckers
protected void initCheckers()
throws Exception
- Throws:
Exception
initPolicy
protected void initPolicy(String servletContextName,
ClassLoader classLoader)
throws Exception
- Throws:
Exception