Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
java-spring-oidc-example
Project
Project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
demo
java-spring-oidc-example
Commits
2bb0a3ca
Commit
2bb0a3ca
authored
May 13, 2020
by
陈健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还原不忽略tls证书
parent
d44921e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
OAuth2Client.java
src/main/java/com/onegini/oidc/security/OAuth2Client.java
+3
-3
No files found.
src/main/java/com/onegini/oidc/security/OAuth2Client.java
View file @
2bb0a3ca
...
@@ -33,12 +33,12 @@ public class OAuth2Client {
...
@@ -33,12 +33,12 @@ public class OAuth2Client {
@Resource
@Resource
private
OAuth2ClientContext
oAuth2ClientContext
;
private
OAuth2ClientContext
oAuth2ClientContext
;
@Resource
@Resource
private
RestTemplate
restTemplate
SSL
;
private
RestTemplate
restTemplate
;
@Bean
@Bean
public
OpenIdDiscovery
getOpenIdDiscovery
()
{
public
OpenIdDiscovery
getOpenIdDiscovery
()
{
OpenIdDiscovery
open
dIdObj
=
restTemplateSSL
.
getForObject
(
applicationProperties
.
getIssuer
()
+
DISCOVERY_PATH
,
OpenIdDiscovery
.
class
);
OpenIdDiscovery
open
IdObj
=
restTemplate
.
getForObject
(
applicationProperties
.
getIssuer
()
+
DISCOVERY_PATH
,
OpenIdDiscovery
.
class
);
return
open
d
IdObj
;
return
openIdObj
;
}
}
@Bean
@Bean
...
...
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