Skip to content

Commit

Permalink
changed visibility of safeEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
gakuzzzz committed Aug 26, 2015
1 parent ad70834 commit 0e719b6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
10 changes: 4 additions & 6 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Play2.3.0 で動作確認をしています。
---------------------------------------

Play2.2.x 向けの使用方法は [0.11.1 README](https://github.com/t2v/play2-auth/blob/release0.11.1/README.ja.md)をご参照ください。
Play2.1.x 向けの使用方法は [0.10.2 README](https://github.com/t2v/play2-auth/blob/release0.10.2/README.ja.md)をご参照ください。
Play2.0.x 向けの使用方法は [0.8 README](https://github.com/t2v/play2-auth/blob/release0.8/README.ja.md)をご参照ください。

Play2.1以前をお使いの方へ
---------------------------------------
Expand All @@ -52,15 +50,15 @@ Play2.1以前をお使いの方へ

`Build.scala` もしくは `build.sbt` にライブラリ依存性定義を追加します。

"jp.t2v" %% "play2-auth" % "0.13.4",
"jp.t2v" %% "play2-auth-test" % "0.13.4" % "test"
"jp.t2v" %% "play2-auth" % "0.13.5",
"jp.t2v" %% "play2-auth-test" % "0.13.5" % "test"

For example: `Build.scala`

```scala
val appDependencies = Seq(
"jp.t2v" %% "play2-auth" % "0.13.4",
"jp.t2v" %% "play2-auth-test" % "0.13.4" % "test"
"jp.t2v" %% "play2-auth" % "0.13.5",
"jp.t2v" %% "play2-auth-test" % "0.13.5" % "test"
)
```

Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ Previous Version

for Play2.2.x, Please see [previous version 0.11.1 README](https://github.com/t2v/play2-auth/blob/release0.11.1/README.md)

for Play2.1.x, Please see [previous version 0.10.2 README](https://github.com/t2v/play2-auth/tree/release0.10.2)

for Play2.0.x, Please see [previous version 0.8 README](https://github.com/t2v/play2-auth/tree/release0.8)


Attention
---------------------------------------
Expand All @@ -59,15 +55,15 @@ Add dependency declarations into your `Build.scala` or `build.sbt` file:

* __for Play2.3.x__

"jp.t2v" %% "play2-auth" % "0.13.4",
"jp.t2v" %% "play2-auth-test" % "0.13.4" % "test"
"jp.t2v" %% "play2-auth" % "0.13.5",
"jp.t2v" %% "play2-auth-test" % "0.13.5" % "test"

For example your `Build.scala` might look like this:

```scala
val appDependencies = Seq(
"jp.t2v" %% "play2-auth" % "0.13.4",
"jp.t2v" %% "play2-auth-test" % "0.13.4" % "test"
"jp.t2v" %% "play2-auth" % "0.13.5",
"jp.t2v" %% "play2-auth-test" % "0.13.5" % "test"
)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ trait TokenAccessor {
// Do not change this unless you understand the security issues behind timing attacks.
// This method intentionally runs in constant time if the two strings have the same length.
// If it didn't, it would be vulnerable to a timing attack.
def safeEquals(a: String, b: String) = {
protected def safeEquals(a: String, b: String) = {
if (a.length != b.length) {
false
} else {
Expand Down
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object ApplicationBuild extends Build {
val playVersion = play.core.PlayVersion.current

lazy val baseSettings = Seq(
version := "0.13.4",
version := "0.13.5",
scalaVersion := "2.10.4",
crossScalaVersions := Seq("2.10.4", "2.11.1"),
organization := "jp.t2v",
Expand Down

0 comments on commit 0e719b6

Please sign in to comment.