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
565e449d
Commit
565e449d
authored
Sep 15, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.1.x'
Conflicts: spring-boot-docs/src/main/asciidoc/howto.adoc
parents
5a160fbe
5ba86a10
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
11 deletions
+32
-11
SpringBootWebSecurityConfigurationTests.java
...ure/security/SpringBootWebSecurityConfigurationTests.java
+2
-0
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+3
-0
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+19
-0
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+6
-6
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1
-1
RunPluginFeatures.java
...rg/springframework/boot/gradle/run/RunPluginFeatures.java
+1
-4
No files found.
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfigurationTests.java
View file @
565e449d
...
...
@@ -21,6 +21,8 @@ import org.junit.Test;
import
static
org
.
junit
.
Assert
.
assertTrue
;
/**
* Tests for {@link SpringBootWebSecurityConfiguration}.
*
* @author Dave Syer
*/
public
class
SpringBootWebSecurityConfigurationTests
{
...
...
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
565e449d
...
...
@@ -244,6 +244,9 @@ content into your application; rather pick only the properties that you need.
liquibase.default-schema= # default database schema to use
liquibase.drop-first=false
liquibase.enabled=true
liquibase.url= # specific JDBC url (if not set the default datasource is used)
liquibase.user= # user name for liquibase.url
liquibase.password= # password for liquibase.url
# JMX
spring.jmx.enabled=true # Expose MBeans from Spring
...
...
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
565e449d
...
...
@@ -1364,6 +1364,25 @@ You will get the best results if you put this in a nested class, or a standalone
order of instantiation). The {github-code}/spring-boot-samples/spring-boot-sample-web-secure[secure web sample]
is a useful template to follow.
If you experience instantiation issues (e.g. using JDBC or JPA for the user detail store)
it might be worth extracting the `AuthenticationManagerBuilder` callback into a
`GlobalAuthenticationConfigurerAdapter` (in the `init()` method so it happens before the
authentication manager is needed elsewhere), e.g.
[source,java,indent=0,subs="verbatim,quotes,attributes"]
----
@Configuration
public class AuthenticationManagerConfiguration extends
GlobalAuthenticationConfigurerAdapter {
@Override
public void init(AuthenticationManagerBuilder auth) {
auth.inMemoryAuthentication() // ... etc.
}
}
----
[[howto-enable-https]]
...
...
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
565e449d
...
...
@@ -199,9 +199,9 @@ exposed. For example, you could add the following to your `application.propertie
[[production-ready-application-info-automatic-expansion]]
==== Automatically expand info properties at build time
Rather than hardcoding some properties that are also specified in your project'
s
build
configuration
,
you
can
automatically
expand
info
properties
using
the
existing
build
configuration
instead
.
This
is
possible
in
both
Maven
and
Gradle
.
Rather than hardcoding some properties that are also specified in your project'
s
build
configuration
,
you
can
automatically
expand
info
properties
using
the
existing
build
configuration
instead
.
This
is
possible
in
both
Maven
and
Gradle
.
...
...
@@ -246,9 +246,9 @@ the Java plugin's `processResources` task to do so:
[source,groovy,indent=0]
----
processResources {
expand(project.properties)
}
processResources {
expand(project.properties)
}
----
You can then refer to your Gradle project'
s
properties
via
placeholders
,
e
.
g
.
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
565e449d
...
...
@@ -369,7 +369,7 @@ For example, the following YAML document:
[source,yaml,indent=0]
----
environments:
dev:
dev:
`
url: http://dev.bar.com
name: Developer Setup
prod:
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/run/RunPluginFeatures.java
View file @
565e449d
...
...
@@ -78,10 +78,7 @@ public class RunPluginFeatures implements PluginFeatures {
if
(
project
.
hasProperty
(
"applicationDefaultJvmArgs"
))
{
return
project
.
property
(
"applicationDefaultJvmArgs"
);
}
else
{
return
Collections
.
emptyList
();
}
return
Collections
.
emptyList
();
}
});
}
...
...
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