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
44d708ef
Commit
44d708ef
authored
Mar 25, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
c11d9410
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
13 deletions
+18
-13
FallbackWebSecurityAutoConfiguration.java
...figure/security/FallbackWebSecurityAutoConfiguration.java
+2
-2
JarCommand.java
.../org/springframework/boot/cli/command/jar/JarCommand.java
+2
-4
RabbitCompilerAutoConfiguration.java
...mpiler/autoconfigure/RabbitCompilerAutoConfiguration.java
+1
-1
EnableRabbitMessaging.java
...rg/springframework/boot/groovy/EnableRabbitMessaging.java
+7
-2
pom.xml
spring-boot-dependencies/pom.xml
+1
-1
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+1
-2
SampleDataJpaApplication.java
...c/main/java/sample/data/jpa/SampleDataJpaApplication.java
+1
-0
SampleSecureApplication.java
.../src/main/java/sample/secure/SampleSecureApplication.java
+1
-1
TomcatEmbeddedServletContainerFactory.java
...mbedded/tomcat/TomcatEmbeddedServletContainerFactory.java
+2
-0
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/FallbackWebSecurityAutoConfiguration.java
View file @
44d708ef
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
4
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -43,4 +43,4 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
@AutoConfigureAfter
(
SecurityAutoConfiguration
.
class
)
@EnableWebSecurity
public
class
FallbackWebSecurityAutoConfiguration
{
}
\ No newline at end of file
}
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/jar/JarCommand.java
View file @
44d708ef
...
...
@@ -155,11 +155,9 @@ public class JarCommand extends OptionParsingCommand {
options
.
valuesOf
(
this
.
excludeOption
));
List
<
File
>
roots
=
new
ArrayList
<
File
>();
for
(
URL
classpathEntry
:
classpath
)
{
File
file
=
new
File
(
URI
.
create
(
classpathEntry
.
toString
()));
roots
.
add
(
file
);
roots
.
add
(
new
File
(
URI
.
create
(
classpathEntry
.
toString
())));
}
List
<
MatchedResource
>
found
=
matcher
.
find
(
roots
);
return
found
;
return
matcher
.
find
(
roots
);
}
private
void
writeJar
(
File
file
,
Class
<?>[]
compiledClasses
,
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/RabbitCompilerAutoConfiguration.java
View file @
44d708ef
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
4
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
spring-boot-cli/src/main/java/org/springframework/boot/groovy/EnableRabbitMessaging.java
View file @
44d708ef
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
4
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -22,9 +22,14 @@ import java.lang.annotation.Retention;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.Target
;
import
org.springframework.boot.cli.compiler.autoconfigure.RabbitCompilerAutoConfiguration
;
/**
* Pseudo annotation used to trigger {@link RabbitCompilerAutoConfiguration}.
*/
@Target
(
ElementType
.
TYPE
)
@Documented
@Retention
(
RetentionPolicy
.
RUNTIME
)
public
@interface
EnableRabbitMessaging
{
}
\ No newline at end of file
}
spring-boot-dependencies/pom.xml
View file @
44d708ef
...
...
@@ -43,7 +43,7 @@
<slf4j.version>
1.7.6
</slf4j.version>
<snakeyaml.version>
1.13
</snakeyaml.version>
<spock.version>
0.7-groovy-2.0
</spock.version>
<spring.version>
4.0.
2.RELEASE
</spring.version>
<spring.version>
4.0.
3.BUILD-SNAPSHOT
</spring.version>
<spring-integration.version>
3.0.1.RELEASE
</spring-integration.version>
<spring-batch.version>
2.2.5.RELEASE
</spring-batch.version>
<spring-data-jpa.version>
1.5.1.RELEASE
</spring-data-jpa.version>
...
...
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
44d708ef
...
...
@@ -569,8 +569,7 @@ Tomcat 8 for it to work. For example, using the starter poms in Maven:
</dependencies>
----
change the classpath to use Tomcat 8
for it to work.
change the classpath to use Tomcat 8 for it to work.
...
...
spring-boot-samples/spring-boot-sample-data-jpa/src/main/java/sample/data/jpa/SampleDataJpaApplication.java
View file @
44d708ef
...
...
@@ -29,4 +29,5 @@ public class SampleDataJpaApplication {
public
static
void
main
(
String
[]
args
)
throws
Exception
{
SpringApplication
.
run
(
SampleDataJpaApplication
.
class
,
args
);
}
}
spring-boot-samples/spring-boot-sample-secure/src/main/java/sample/secure/SampleSecureApplication.java
View file @
44d708ef
...
...
@@ -40,7 +40,7 @@ public class SampleSecureApplication implements CommandLineRunner {
new
UsernamePasswordAuthenticationToken
(
"user"
,
"N/A"
,
AuthorityUtils
.
commaSeparatedStringToAuthorityList
(
"ROLE_USER"
)));
try
{
System
.
out
.
println
(
service
.
secure
());
System
.
out
.
println
(
this
.
service
.
secure
());
}
finally
{
SecurityContextHolder
.
clearContext
();
...
...
spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java
View file @
44d708ef
...
...
@@ -510,8 +510,10 @@ public class TomcatEmbeddedServletContainerFactory extends
}
}
catch
(
ClassNotFoundException
ex
)
{
// Swallow and continue
}
catch
(
LinkageError
ex
)
{
// Swallow and continue
}
return
nativePage
;
}
...
...
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