diff options
author | Vitaly Takmazov | 2016-01-16 18:33:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-01-16 18:33:36 +0300 |
commit | f0834c91bfcd8b5d6f658c946334ad6b89ad36a3 (patch) | |
tree | 67874955dab381f40fd6a1540954750fb8ab0d72 /src/main/java/com/juick/api/Utils.java | |
parent | ed24ebac9a717fbec3357a168438e2617955d609 (diff) |
almost working with spring-jdbc
Diffstat (limited to 'src/main/java/com/juick/api/Utils.java')
-rw-r--r-- | src/main/java/com/juick/api/Utils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/api/Utils.java b/src/main/java/com/juick/api/Utils.java index db73fdaa..ccb81f8e 100644 --- a/src/main/java/com/juick/api/Utils.java +++ b/src/main/java/com/juick/api/Utils.java @@ -70,7 +70,7 @@ public class Utils { return 0; } - public static int getHttpAuthUID(Connection sql, HttpServletRequest request) { + public static int getHttpAuthUID(JdbcTemplate sql, HttpServletRequest request) { String auth = request.getHeader("Authorization"); if (auth != null && auth.length() > 8 && auth.startsWith("Basic ")) { try { |