Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
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
DEMO
spring-boot
Commits
24fc9446
Commit
24fc9446
authored
Jun 11, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
462c5f29
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
OAuth2SsoProperties.java
...configure/security/oauth2/client/OAuth2SsoProperties.java
+2
-2
UserInfoTokenServices.java
...igure/security/oauth2/resource/UserInfoTokenServices.java
+3
-3
DevToolsProperties.java
...ework/boot/devtools/autoconfigure/DevToolsProperties.java
+1
-1
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+8
-5
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2SsoProperties.java
View file @
24fc9446
...
...
@@ -36,8 +36,8 @@ public class OAuth2SsoProperties {
private
String
loginPath
=
DEFAULT_LOGIN_PATH
;
/**
* Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter
*
(in
which case the order can be provided there instead).
* Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter
(in
* which case the order can be provided there instead).
*/
private
Integer
filterOrder
;
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/UserInfoTokenServices.java
View file @
24fc9446
...
...
@@ -122,9 +122,9 @@ public class UserInfoTokenServices implements ResourceServerTokenServices {
restTemplate
.
getOAuth2ClientContext
().
setAccessToken
(
token
);
return
restTemplate
.
getForEntity
(
path
,
Map
.
class
).
getBody
();
}
catch
(
Exception
e
)
{
this
.
logger
.
info
(
"Could not fetch user details: "
+
e
.
getClass
()
+
", "
+
e
.
getMessage
());
catch
(
Exception
e
x
)
{
this
.
logger
.
info
(
"Could not fetch user details: "
+
e
x
.
getClass
()
+
", "
+
e
x
.
getMessage
());
return
Collections
.<
String
,
Object
>
singletonMap
(
"error"
,
"Could not fetch user details"
);
}
...
...
spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsProperties.java
View file @
24fc9446
...
...
@@ -81,7 +81,7 @@ public class DevToolsProperties {
private
long
quietPeriod
=
DEFAULT_RESTART_QUIET_PERIOD
;
/**
* Name of a specific file that when changed will trigger the restart. If
* Name of a specific file that when changed will trigger the restart
check
. If
* not specified any classpath file change will trigger the restart.
*/
private
String
triggerFile
;
...
...
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
24fc9446
...
...
@@ -563,19 +563,22 @@ content into your application; rather pick only the properties that you need.
# DEVTOOLS PROPERTIES
# ----------------------------------------
# DEVTOOLS ({sc-spring-boot-devtools}/autoconfigure/DevToolsProperties.{sc-ext}[DevToolsProperties])
spring.devtools.restart.enabled=true # enable automatic restart
spring.devtools.restart.exclude= # patterns that should be excluding for triggering a full restart
spring.devtools.restart.poll-interval= # amount of time (in milliseconds) to wait between polling for classpath changes
spring.devtools.restart.quiet-period= # amount of quiet time (in milliseconds) requited without any classpath changes before a restart is triggered
spring.devtools.restart.trigger-file= # name of a specific file that when changed will trigger the restart
spring.devtools.livereload.enabled=true # enable a livereload.com compatible server
spring.devtools.livereload.port=35729 # server port.
# REMOTE DEVTOOLS ({sc-spring-boot-devtools}/autoconfigure/RemoteDevToolsProperties.{sc-ext}[RemoteDevToolsProperties])
spring.devtools.remote.context-path=/.~~spring-boot!~ # context path used to handle the remote connection
spring.devtools.remote.debug.enabled=true # enable remote debug support
spring.devtools.remote.debug.local-port=8000 # local remote debug server port
spring.devtools.remote.restart.enabled=true # enable remote restart
spring.devtools.remote.secret= # a shared secret required to establish a connection
spring.devtools.remote.secret-header-name=X-AUTH-TOKEN # HTTP header used to transfer the shared secret
spring.devtools.restart.enabled=true # enable automatic restart
spring.devtools.restart.exclude= # patterns that should be excluding for triggering a full restart
spring.devtools.restart.poll-interval= # amount of time (in milliseconds) to wait between polling for classpath changes
spring.devtools.restart.quiet-period= # amount of quiet time (in milliseconds) requited without any classpath changes before a restart is triggered
spring.devtools.restart.trigger-file= # name of a specific file that when changed will trigger the restart
# ----------------------------------------
# ACTUATOR PROPERTIES
...
...
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