protected class PropertyCompiler.SecurePropertyCompiler extends PropertyCompiler
PropertyCompiler.DefaultPropertyFactory, PropertyCompiler.IPropertyComponent, PropertyCompiler.IPropertyFactory, PropertyCompiler.SecuredPropertyFactory, PropertyCompiler.SecurePropertyCompiler
Modifier and Type | Field and Description |
---|---|
protected MRulesUtilsSecurityManager |
securityManager |
Constructor and Description |
---|
SecurePropertyCompiler(MRulesUtilsSecurityManager securityManager) |
Modifier and Type | Method and Description |
---|---|
IProperty |
compile(String property,
boolean useCommonBeanUtilsSyntax)
Compiles a property into a compiled representation.
|
protected PropertyCompiler.SecuredPropertyFactory |
createPropertyFactory()
Might be overridden to change secured
PropertyCompiler.IPropertyFactory implementation. |
IProperty |
secureCompile(String property)
Compiles a property into a compiled representation,
with useCommonBeanUtilsSyntax to false and checking against current default MRulesUtilsSecurityManager configuration
if the operations performed by the compiled property are allowed.
|
IProperty |
secureCompile(String property,
MRulesUtilsSecurityManager securityManager)
Compiles a property into a compiled representation,
with useCommonBeanUtilsSyntax to false and checking against provider MRulesUtilsSecurityManager configuration
if the operations performed by the compiled property are allowed.
|
compile, getInstance, getPropertyFactory, getSecureCompiler, handleGetterSetterComponent, handleSimpleComponent, handleStaticComponent, handleStrictComponent, splitIntoSimpleComponents
protected MRulesUtilsSecurityManager securityManager
public SecurePropertyCompiler(MRulesUtilsSecurityManager securityManager)
protected PropertyCompiler.SecuredPropertyFactory createPropertyFactory()
PropertyCompiler
PropertyCompiler.IPropertyFactory
implementation.createPropertyFactory
in class PropertyCompiler
public IProperty secureCompile(String property) throws UtilsException
IPropertyCompiler
secureCompile
in interface IPropertyCompiler
secureCompile
in class PropertyCompiler
UtilsException
public IProperty secureCompile(String property, MRulesUtilsSecurityManager securityManager) throws UtilsException
IPropertyCompiler
secureCompile
in interface IPropertyCompiler
secureCompile
in class PropertyCompiler
UtilsException
public IProperty compile(String property, boolean useCommonBeanUtilsSyntax) throws UtilsException
IPropertyCompiler
compile
in interface IPropertyCompiler
compile
in class PropertyCompiler
UtilsException