Class PolicyCompilerImpl
java.lang.Object
ch.tocco.nice2.security.impl.compiler.PolicyCompilerImpl
- All Implemented Interfaces:
PolicyCompiler
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.security.spi.PolicyCompiler
PolicyCompiler.IncludeHandler
-
Constructor Summary
ConstructorDescriptionPolicyCompilerImpl
(org.slf4j.Logger log, SecurityManager securityManager, TypeManager typeManager, ContributionManager contributionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(String locationInfo, Reader source, PolicyBuilder builder, PolicyCompiler.IncludeHandler includeHandler, AppModule module) compileCondition
(String locationInfo, String condition) readPermission
(String securityDomainName, String expression)
-
Constructor Details
-
PolicyCompilerImpl
public PolicyCompilerImpl(org.slf4j.Logger log, SecurityManager securityManager, TypeManager typeManager, ContributionManager contributionManager)
-
-
Method Details
-
compile
public void compile(String locationInfo, Reader source, PolicyBuilder builder, PolicyCompiler.IncludeHandler includeHandler, AppModule module) throws IOException, CompileException - Specified by:
compile
in interfacePolicyCompiler
- Throws:
IOException
CompileException
-
compileCondition
- Specified by:
compileCondition
in interfacePolicyCompiler
- Throws:
CompileException
-
readPermission
- Specified by:
readPermission
in interfacePolicyCompiler
-