aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/api/Utils.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-16 18:33:36 +0300
committerGravatar Vitaly Takmazov2016-01-16 18:33:36 +0300
commitf0834c91bfcd8b5d6f658c946334ad6b89ad36a3 (patch)
tree67874955dab381f40fd6a1540954750fb8ab0d72 /src/main/java/com/juick/api/Utils.java
parented24ebac9a717fbec3357a168438e2617955d609 (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.java2
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 {