From 13b1585eaf3efbf11268679b63569732d4f70559 Mon Sep 17 00:00:00 2001 From: liuyuanqiang <837052308@qq.com> Date: Wed, 2 Nov 2022 19:01:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8Ctoken=E5=AE=8C=E6=88=90=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/TokenController.java | 23 ++++++++ .../interceptor/InterceptorConfig.java | 3 +- .../interceptor/JwtInterceptor.java | 9 +-- .../apipassenger/service/TokenService.java | 54 ++++++++++++++++++ .../service/VerificationCodeService.java | 4 +- .../controller/TokenController.class | Bin 0 -> 1660 bytes .../interceptor/InterceptorConfig.class | Bin 1728 -> 1764 bytes .../interceptor/JwtInterceptor.class | Bin 3179 -> 3137 bytes .../apipassenger/service/TokenService.class | Bin 0 -> 3113 bytes .../service/VerificationCodeService.class | Bin 5050 -> 5053 bytes .../common/constant/CommonStatusEnum.java | 6 ++ .../com/mashibing/common/util/JwtUtils.java | 17 ++++++ .../common/constant/CommonStatusEnum.class | Bin 1650 -> 1733 bytes .../com/mashibing/common/util/JwtUtils.class | Bin 4445 -> 4805 bytes .../target/internal-common-1.0-SNAPSHOT.jar | Bin 13355 -> 13589 bytes .../compile/default-compile/inputFiles.lst | 1 + .../compile/default-compile/createdFiles.lst | 0 .../compile/default-compile/inputFiles.lst | 6 ++ .../compile/default-compile/createdFiles.lst | 0 .../compile/default-compile/inputFiles.lst | 3 + 20 files changed, 116 insertions(+), 10 deletions(-) create mode 100644 api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java create mode 100644 api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java create mode 100644 api-passenger/target/classes/com/mashibing/apipassenger/controller/TokenController.class create mode 100644 api-passenger/target/classes/com/mashibing/apipassenger/service/TokenService.class create mode 100644 service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst diff --git a/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java b/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java new file mode 100644 index 0000000..7b52557 --- /dev/null +++ b/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java @@ -0,0 +1,23 @@ +package com.mashibing.apipassenger.controller; + +import com.mashibing.apipassenger.service.TokenService; +import com.mashibing.common.dto.ResponseResult; +import com.mashibing.common.response.TokenResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TokenController { + @Autowired + private TokenService tokenService; + + @PostMapping("/token-refresh") + public ResponseResult refreshToken(@RequestBody TokenResponse tokenResponse){ + String refreshToken = tokenResponse.getRefreshToken(); + System.out.println("接收的refreshToken:" + refreshToken); + + return tokenService.refreshToken(refreshToken); + } +} diff --git a/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java b/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java index 8ed8e4d..8e608be 100644 --- a/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java +++ b/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java @@ -18,8 +18,9 @@ public class InterceptorConfig implements WebMvcConfigurer { // registry.addInterceptor(new JwtInterceptor()) 这个会导致拦截器初始化时,没有初始化redisTemplate,所以要提前new registry.addInterceptor(jwtInterceptor()) .addPathPatterns("/**") + .excludePathPatterns("/token-refresh") .excludePathPatterns("/noAuthTest") .excludePathPatterns("/verification-code") - .excludePathPatterns("/verification-code-check"); + .excludePathPatterns("/verification-code-check");//这里注意post还是get! } } diff --git a/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java b/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java index 42c6086..89780de 100644 --- a/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java +++ b/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java @@ -30,15 +30,10 @@ public class JwtInterceptor implements HandlerInterceptor { String token = request.getHeader("Authorization"); // 解析token - TokenResult tokenResult = null; - try { - tokenResult = JwtUtils.parseToken(token); - }catch (Exception e){ - tokenResult = null; - } + TokenResult tokenResult = JwtUtils.checkToken(token); if (tokenResult == null){ - resutltString = "access token invalid"; + resutltString = "access token invalid interceptor."; result = false; }else{ // 拼接key diff --git a/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java b/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java new file mode 100644 index 0000000..9395869 --- /dev/null +++ b/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java @@ -0,0 +1,54 @@ +package com.mashibing.apipassenger.service; + +import com.mashibing.common.constant.CommonStatusEnum; +import com.mashibing.common.constant.TokenConstants; +import com.mashibing.common.dto.ResponseResult; +import com.mashibing.common.dto.TokenResult; +import com.mashibing.common.response.TokenResponse; +import com.mashibing.common.util.JwtUtils; +import com.mashibing.common.util.RedisPrefixUtils; +import org.apache.commons.lang.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.stereotype.Service; + +import java.util.concurrent.TimeUnit; + +@Service +public class TokenService { + @Autowired + private StringRedisTemplate stringRedisTemplate; + + public ResponseResult refreshToken(String refreshToken){ + //解析refreshToken + TokenResult tokenResult = JwtUtils.checkToken(refreshToken); + if(tokenResult == null){ + return ResponseResult.fail(CommonStatusEnum.TOKEN_ERROR.getCode(),CommonStatusEnum.TOKEN_ERROR.getMsg()); + } + //读取Redis Token + String phone = tokenResult.getPhone(); + String identity = tokenResult.getIdentity(); + String tokenKey = RedisPrefixUtils.generateTokenKey(phone,identity, TokenConstants.REFRESH_TOKEN_TYPE); + String redisAccessToken = stringRedisTemplate.opsForValue().get(tokenKey); + + //验证refreshToken + if(StringUtils.isBlank(redisAccessToken) || !redisAccessToken.trim().equals(refreshToken.trim())){ + String message = "refreshtoken is invalid!"; + return ResponseResult.fail(CommonStatusEnum.TOKEN_ERROR.getCode(), CommonStatusEnum.TOKEN_ERROR.getMsg()); + } + + //重新生成双token + String newAccessToken = JwtUtils.generateToken(phone, identity, TokenConstants.ACCESS_TOKEN_TYPE); + String newRefreshToken = JwtUtils.generateToken(phone, identity, TokenConstants.ACCESS_TOKEN_TYPE); + + String accessTokenKey = RedisPrefixUtils.generateTokenKey(phone,identity,TokenConstants.ACCESS_TOKEN_TYPE); + stringRedisTemplate.opsForValue().set(accessTokenKey,newAccessToken,10, TimeUnit.SECONDS); + stringRedisTemplate.opsForValue().set(tokenKey,newRefreshToken,300,TimeUnit.SECONDS); + + TokenResponse tokenResponse = new TokenResponse(); + tokenResponse.setRefreshToken(newRefreshToken); + tokenResponse.setAccessToken(newAccessToken); + + return ResponseResult.success(tokenResponse); + } +} diff --git a/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java b/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java index 0183144..b29f5b1 100644 --- a/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java +++ b/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java @@ -87,8 +87,8 @@ public class VerificationCodeService { //token存入Redis String accessTokenRedisKey = RedisPrefixUtils.generateTokenKey(passengerPhone, IdentityConstant.PASSENGER_IDENTITY, TokenConstants.ACCESS_TOKEN_TYPE); String refreshTokenRedisKey = RedisPrefixUtils.generateTokenKey(passengerPhone, IdentityConstant.PASSENGER_IDENTITY, TokenConstants.REFRESH_TOKEN_TYPE); - stringRedisTemplate.opsForValue().set(accessTokenRedisKey, accessToken, 30,TimeUnit.DAYS); - stringRedisTemplate.opsForValue().set(refreshTokenRedisKey, refreshToken, 31,TimeUnit.DAYS); + stringRedisTemplate.opsForValue().set(accessTokenRedisKey, accessToken, 10,TimeUnit.SECONDS); + stringRedisTemplate.opsForValue().set(refreshTokenRedisKey, refreshToken, 301,TimeUnit.SECONDS); TokenResponse tokenResponse = new TokenResponse(); tokenResponse.setAccessToken(accessToken); diff --git a/api-passenger/target/classes/com/mashibing/apipassenger/controller/TokenController.class b/api-passenger/target/classes/com/mashibing/apipassenger/controller/TokenController.class new file mode 100644 index 0000000000000000000000000000000000000000..ea9c43517f58fbbb5c92c4e3d373deb49829086e GIT binary patch literal 1660 zcma)6T~icC6g|DL3~UB8h#K=@3`SW%?3ifOpe8`#6DS21rIn}N-3D4`rZ+u3P`u|k zPkG9F-Zf>dRY_HTKz@k%7pa_?U6I9+q_(E--tK$P>HE?5uYZ336Tnq`SHmc#YN%s+ z1T&ZoaH)ntObuf$mzVQJ*6r3QXus9iB8tF+c8ZoaAmn^V;QS- z+cZqFB~{zBRhsH#OFNl%t>l9PF7pCs*0RK#SZ|orG$Or_B-Sf$Y?2DxShj9Urfo;C zO{ZeLYuyvs&?-sgrfPcY_N3Z(kPDf&yT<7jVTW#+#P~Y`1NG?*fx#u);suW_n?&Es z;)Zq)6xjsEmu*u;8_Jnn?`;nHZA1F&M}^b0iFY=N7+Dd~(!Ngi(CJO5)9vC!;9>m` z64MmhMAD?qKy?>kt*6aTms_{Im9K0lv&fTaw5Y(VZGpLRUsukQ$NyOEC>bf1Yu)FG zCg|}M?YC`fRpmMN+A$Z`N=vb;8@~2;4{@nTdmmd$d1^sU0PKd8_kZ(dPU@^oPjs;i> zaR%Qq=SRGzx3?e5_xdLH8;^C<3(WRI9oc_;CR^IC^>y$>eY&(!UNf!lrC!H;Z#E;} z$*#4ra+N*h*;!h}EX)uaLnkfvY5h&SHz|54q~ox+-S!kXQ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(av z<)Y@WEk-XJZ!)ZMNGOI;Pr4By#88P%q+76+zfIUiC>qg2j8AiSjwq)H%RFygC0N%8 z*O!#YVIO`%Cw{?W_?=&>C8Spf>N(W%lTN7I-wnW(TnEn-TKj|Y`w8?`e8*dz^ri`4 z;|X#Vl=%uzk_*xLbsQiUrrq;6NR9&>2^=C9p%49tldGf$4d}vQL~(@ncA@+)#8hK8NcRnQ}|G=<&C>oLpmsNArr@bq+bPV_xI;eG- literal 0 HcmV?d00001 diff --git a/api-passenger/target/classes/com/mashibing/apipassenger/service/VerificationCodeService.class b/api-passenger/target/classes/com/mashibing/apipassenger/service/VerificationCodeService.class index ad351ea8857ad92f2f42dfb4e541ba3a76a8a607..730c43032c67788222edfebda5409e49c7cd880f 100644 GIT binary patch delta 39 scmdm`zE^$18-6ZMh8Bh;tPEhlsJrp^VLo>DU{_~h``F}720Kl^fsQ>@~ diff --git a/internal-common/src/main/java/com/mashibing/common/constant/CommonStatusEnum.java b/internal-common/src/main/java/com/mashibing/common/constant/CommonStatusEnum.java index da08587..1a2f42f 100644 --- a/internal-common/src/main/java/com/mashibing/common/constant/CommonStatusEnum.java +++ b/internal-common/src/main/java/com/mashibing/common/constant/CommonStatusEnum.java @@ -9,6 +9,12 @@ public enum CommonStatusEnum { *验证码错误 */ VERIFICATION_CODE_FAIL(1001,"验证码错误!"), + + /** + * token错误提示1100 ~ 1199 + */ + TOKEN_ERROR(1100,"token错误!"), + /** * 成功 */ diff --git a/internal-common/src/main/java/com/mashibing/common/util/JwtUtils.java b/internal-common/src/main/java/com/mashibing/common/util/JwtUtils.java index 1b4365d..fa2f996 100644 --- a/internal-common/src/main/java/com/mashibing/common/util/JwtUtils.java +++ b/internal-common/src/main/java/com/mashibing/common/util/JwtUtils.java @@ -19,6 +19,7 @@ public class JwtUtils { //乘客是1,司机是2 private static final String JWT_KET_IDENTITY = "identity"; private static final String JWT_KET_TOKEN_TYPE = "tokenType"; + private static final String JWT_KET_TOKEN_TIME = "tokenTime"; public static String generateToken(String phone, String identity, String tokenType){ Map map = new HashMap(); @@ -29,6 +30,7 @@ public class JwtUtils { Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.DATE,1); Date date = calendar.getTime(); + map.put(JwtUtils.JWT_KET_TOKEN_TIME,date.toString()); JWTCreator.Builder builder = JWT.create(); map.forEach((k,v) -> { @@ -52,6 +54,21 @@ public class JwtUtils { tokenResult.setPhone(phone); return tokenResult; } + + /** + * 解析token + * @param token + * @return TokenResult + */ + public static TokenResult checkToken(String token){ + TokenResult tokenResult = null; + try { + tokenResult = JwtUtils.parseToken(token); + }catch (Exception e){ + tokenResult = null; + } + return tokenResult; + } public static void main(String[] args) { String token = JwtUtils.generateToken("13751145166","1", TokenConstants.ACCESS_TOKEN_TYPE); System.out.println("token:" + token); diff --git a/internal-common/target/classes/com/mashibing/common/constant/CommonStatusEnum.class b/internal-common/target/classes/com/mashibing/common/constant/CommonStatusEnum.class index 7a290d8984eccea98bde2c014e32dde5e9651f8b..e1abe35a1f1e80b356b01d15ac92ab9439cd876d 100644 GIT binary patch delta 773 zcmZuvOKTHR7(Fv{Co@TI+hjCplWA*fW3=^AZGAthHfkRxnh27W*jhm>x`={1&Bj$X z5;uYiLEMNCnhJuiog4p%%}VeGi08Y>q6-JU`@PQhopUeqNB`(q`uX?scL0ZRJqm?W zF`UL352GH=#*oH2IcB7DUXBYs`h8rCF`SjW;3MPXl7yFiWPMzbaLz~QV_w1q4~s8u z7IpkaX`xWORVbHB<@L8u?D&XKjA~p(v5|MCm+~lS?8P;WK@4dOV~2&H{eEq;S^xE> z-hTONv)TOpwJw-_8vPis(EI4&{gnq>S{bQ&wa3fLE47+NR#J8M_Pte&5Ce^O&hxo6 zuj!Mv8OT?@Yz7Z2r1*FOOjAlj1VQ={YIihBC=Bx znaZq9DjY}vle9s?hiM0CHV#q26sCFRm`~D+B6s2=yblII?i@*_8XCfmX17ad@fSHF z(~YK^HbOhtq5oig9K|uga@QJn%6I1rR5ge?Nv9peJ|VsVZ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|kBG(k_OFMObOy^FLJP7Bc_< diff --git a/internal-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/internal-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst index c0f5ee4..b4471e2 100644 --- a/internal-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ b/internal-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -6,4 +6,5 @@ D:\Works\workspaces\online-taxi-public\internal-common\src\main\java\com\mashibi D:\Works\workspaces\online-taxi-public\internal-common\src\main\java\com\mashibing\common\request\VerificationCodeDTO.java D:\Works\workspaces\online-taxi-public\internal-common\src\main\java\com\mashibing\common\response\TokenResponse.java D:\Works\workspaces\online-taxi-public\internal-common\src\main\java\com\mashibing\common\util\JwtUtils.java +D:\Works\workspaces\online-taxi-public\internal-common\src\main\java\com\mashibing\common\util\RedisPrefixUtils.java D:\Works\workspaces\online-taxi-public\internal-common\src\main\java\com\mashibing\common\dto\TokenResult.java diff --git a/service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..d797db1 --- /dev/null +++ b/service-passenger-user/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,6 @@ +D:\Works\workspaces\online-taxi-public\service-passenger-user\src\main\java\com\mashibing\serviceDriverUser\controller\UserController.java +D:\Works\workspaces\online-taxi-public\service-passenger-user\src\main\java\com\mashibing\serviceDriverUser\ServicePassengerUserApplication.java +D:\Works\workspaces\online-taxi-public\service-passenger-user\src\main\java\com\mashibing\serviceDriverUser\controller\TestController.java +D:\Works\workspaces\online-taxi-public\service-passenger-user\src\main\java\com\mashibing\serviceDriverUser\mapper\PassengerUserMapper.java +D:\Works\workspaces\online-taxi-public\service-passenger-user\src\main\java\com\mashibing\serviceDriverUser\dto\PassengerUser.java +D:\Works\workspaces\online-taxi-public\service-passenger-user\src\main\java\com\mashibing\serviceDriverUser\service\UserService.java diff --git a/service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..8ca68eb --- /dev/null +++ b/service-verificationcode/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,3 @@ +D:\Works\workspaces\online-taxi-public\service-verificationcode\src\main\java\com\mashibing\service\controller\TestController.java +D:\Works\workspaces\online-taxi-public\service-verificationcode\src\main\java\com\mashibing\service\ServiceVerificationcodeApplication.java +D:\Works\workspaces\online-taxi-public\service-verificationcode\src\main\java\com\mashibing\service\controller\NumberCodeController.java