Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
8f4fb81b
Commit
8f4fb81b
authored
Jan 26, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
f0f0147a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
JwtUtil.java
...vice/src/main/java/com/blt/other/common/util/JwtUtil.java
+1
-1
OtherApplicationTests.java
...ce/src/test/java/com/blt/other/OtherApplicationTests.java
+1
-1
No files found.
cost-service/src/main/java/com/blt/other/common/util/JwtUtil.java
View file @
8f4fb81b
...
@@ -28,7 +28,7 @@ public class JwtUtil {
...
@@ -28,7 +28,7 @@ public class JwtUtil {
* 前缀
* 前缀
*/
*/
public
static
final
String
TOKEN_PREFIX
=
"Bearer "
;
public
static
final
String
TOKEN_PREFIX
=
"Bearer "
;
private
static
final
String
PUBLIC_KEY
=
"{\"kty\":\"RSA\",\"use\":\"sig\",\"kid\":\"
0a968baa62e99029a973415887029fbd\",\"e\":\"AQAB\",\"n\":\"1hr9F7WGP6jpixp8kxN2E0BUB23EYiR0jSfdZQsN0ljnZfyqORK6fETVMDxDHB-ueekqieKh7UYJO3Cc3ecC2WCP7Z0KDsGcQBFJd0a9_BBktYv1rDnteJF3v43XkM1gi6gBEtXUb_l-mfpp14His6HtGH8W0v0klBOQ8UsBHDZvOHr2ns_qWPn0i6N86EUe1W47dGSy7fbms3nYQEncNFpnug6x39fJyFxpKjHS_63f2r3QRdf8UlHbjoVsHjg9sJ7pznrxDIIK8heRqH4JiutV8LhagPBVSm8UVHNwdi5IfjmVpYDirBrZDJZq7FwhyZE7ua29a3wP2I08qS9yJw
\",\"alg\":\"RS256\"}"
;
private
static
final
String
PUBLIC_KEY
=
"{\"kty\":\"RSA\",\"use\":\"sig\",\"kid\":\"
1f86f9a4a708e507a9285728d32f3bc1\",\"e\":\"AQAB\",\"n\":\"xu23WtxFwR5cjiQPXU12F4nH-4UvBWKraA5mUF7qjKf8xekZ1XY6KdrVwAEgyL-ZovK-xVGkqcRrs3zhUazB05EwUlG3BfdcGMWsE4WhVPcNLx8FWcbzSa5PfurUhB-hPksDw-Nrrm78EV85hhvPf9v395gTfb-9AcJ2yTYC8XTHHMIe6BPegmwFQ08W3uzhfbtiJuO6ry-0MofnYEZ8yyjn5AupbLgFZ2FGloBNznaTfNJwLAIONSIbSTN-vrqRYntqzlASdU4fwuQ7M7Kqo58NxI47Ev3UO3qDHLwG6bcTT8OSEsW10PWJgTGdz2-p5_74vNTfPwYcSaJpB73tyQ
\",\"alg\":\"RS256\"}"
;
/**
/**
* 功能描述: 解密Bailun Sso Token
* 功能描述: 解密Bailun Sso Token
...
...
cost-service/src/test/java/com/blt/other/OtherApplicationTests.java
View file @
8f4fb81b
...
@@ -54,7 +54,7 @@ import java.util.stream.Collectors;
...
@@ -54,7 +54,7 @@ import java.util.stream.Collectors;
@Transactional
@Transactional
@RunWith
(
SpringRunner
.
class
)
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
OtherApplication
.
class
)
@SpringBootTest
(
classes
=
OtherApplication
.
class
)
@ActiveProfiles
(
"
test
"
)
@ActiveProfiles
(
"
prod
"
)
public
class
OtherApplicationTests
{
public
class
OtherApplicationTests
{
@Autowired
@Autowired
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment