Giter VIP home page Giter VIP logo

stapl-core's People

Contributors

jasper-m avatar maartendecat avatar vkuptcov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

stapl-core's Issues

Error on basic example

Hi,

I'm interested about XACML like with Scala.

I'm trying to reproduce your basic test, and just with the compilation of the ExamplePolicy object I have an error:

sbt run
[info] Loading global plugins from /Users/xxxxx/.sbt/0.13/plugins
[info] Loading project definition from /Users/xxxxx/Documents/workspace/minimal-scala/project
[info] Set current project to minimal-scala (in build file:/Users/xxxxx/Documents/workspace/minimal-scala/)
[info] Compiling 1 Scala source to /Users/xxxxx/Documents/workspace/minimal-scala/target/scala-2.11/classes...
[error] /Users/xxxxx/Documents/workspace/minimal-scala/src/main/scala/com/example/ExamplePolicy.scala:12: overloaded method value := with alternatives:
[error]   (effectKeyword: stapl.core.dsl.EffectKeyword)stapl.core.Rule <and>
[error]   (t: stapl.core.dsl.EffectAndObligationActions)stapl.core.Rule <and>
[error]   (t: stapl.core.dsl.EffectAndCondition)stapl.core.Rule <and>
[error]   (t: stapl.core.dsl.EffectConditionAndObligationActions)stapl.core.Rule
[error]  cannot be applied to (stapl.core.dsl.OnlyTarget)
[error]     Rule("permit physicians") := when ("physician" in subject.roles) permit,
[error]                               ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 4 s, completed 6 oct. 2015 13:30:03

Regards,

Yu.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.