Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #18 from zalando-incubator/badges
Browse files Browse the repository at this point in the history
Badges
  • Loading branch information
dmitrykrivaltsevich authored Nov 18, 2016
2 parents b42dcbb + 9f213f1 commit d082413
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
language: scala

scala:
- 2.11.7
- 2.11.8

jdk:
- oraclejdk8

script: sbt coverage test
script:
- sbt clean coverage test
after_success:
- sbt coverageReport coveralls
- bash <(curl -s https://codecov.io/bash)

# go faster on travis
sudo: false

notifications:
email:
- cezary.lada.extern@zalando.de

- dmitry.krivaltsevich@zalando.de
- [email protected]
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Dmitry Krivaltsevich <[email protected]>
William Okuyama <[email protected]>
Raymond Chenon <[email protected]>
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Play-security library

![Build Status - Master](https://travis-ci.org/zalando-incubator/play-zhewbacca.svg?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.zalando/play-zhewbacca_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.zalando/play-zhewbacca_2.11)
[![codecov.io](https://codecov.io/github/zalando-incubator/play-zhewbacca/coverage.svg?branch=master)](https://codecov.io/github/zalando-incubator/play-zhewbacca?branch=master)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/zalando-incubator/play-zhewbacca/master/LICENSE)

Play! (v2.5) library to protect REST endpoint using OAuth2 token verification. In order to access a protected endpoint clients should pass an `Authorization` header with the `Bearer` token in every request.
This library is implemented in a non-blocking way and provides two implementations of token verification.

Expand All @@ -13,7 +18,7 @@ Clients of this library don't need to change their code in order to protect endp
Configure libraries dependencies in your `build.sbt`:

```scala
libraryDependencies += "org.zalando" %% "play-zhewbacca" % "0.1.0"
libraryDependencies += "org.zalando" %% "play-zhewbacca" % "0.2.1"
```

To configure Development environment:
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,7 @@ pomExtra := (
<developer>
<name>William Okuyama</name>
</developer>
<developer>
<name>Raymond Chenon</name>
</developer>
</developers>)
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.5.1")
addSbtPlugin("org.scalastyle" % "scalastyle-sbt-plugin" % "0.7.0")

// code coverage
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.3")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

0 comments on commit d082413

Please sign in to comment.