Giter Site home page Giter Site logo

bolt's People

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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

bolt's Issues

Documentation: Friend and Compojure

README says

The key difference is that Friend is designed upon Compojure ...

I do not see any inherent dependencies of Friend on Compojure (In fact word "compojure" occurred only once in Friend's sources and only in comment). As I can tell only essential dependency of Compojure is on Ring.

I cannot tell which description for differences between Friend and Cylon would be appropriate but the one above does not seem right.

Move RequestAuthenticator and AuthenticationHandshake from cylon.user.login/Login to cylon.oauth.server.server/AuthorizationServer

AuthorizationServer uses two protocols [1][2] from Login, and following Single Responsibility Principle it makes sense to change that.
My proposal would be moving RequestAuthenticator and AuthenticationHandshake impls from cylon.user.login/Login to cylon.oauth.server.server/AuthorizationServer
Both protocols implementations could be move without any changes in AuthorizationServer due that last one has the dependencies needed.

npe with getParentFile when not passing file name with directory

Hi,

Cylon 1.0.4 and even master relies on getParentFile to make an assertion.
If you follow the tutorial it shows a "passwords.edn" name without directory.
The problem is that getParentFile returns null if the path is not present on the file name therefore invalidating the assertion. I think an (.getParentFile (.getCanonicalFile f)) is necessary because it translates the path less file satisfying getParentFile.

user=> (def f (clojure.java.io/file "passwords.edn"))
#'user/f
user=> (clojure.java.io/as-url f)
#<URL file:/home/geraldo/teste/teste/passwords.edn>
user=> (.getParentFile f)
nil  <--- see ? 

user=> (def f (clojure.java.io/file "/home/geraldo/teste/teste/passwords.edn"))
#'user/f
user=> (.getParentFile f)
#<File /home/geraldo/teste/teste>

Ready for alpha use?

This looks positively fantastic, but is it ready for use outside the juxt consultancy? I notice the readme states that this isn't production ready until marked 1.0, is that likely to happen in 2015?

If the answer is in the affirmative, would it be possible to write some documentation as to how cylon can be put to use? I'd like to use it for a REST service, written with liberator, if you're wondering about which section to write first :)

Use ring sessions and stores

Ring has a protocol for session stores: ring.middleware.session.store and a default implementation. It would be better for cylon to use this as its session store protocol, allowing existing Ring session store implementations to be used in Cylon.

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.