- 21 Nov, 2013 2 commits
-
-
Dave Syer authored
So spring-security + a web app is secure by default (you don't need the actuator).
-
Dave Syer authored
The AutoConfigurationReportLoggingInitializer wasn't working in non-GenericApplicationContext becasue teh BeanFatcory wasn't available for registering its listener during initialization. Instead of relying on that rather fragile state I decided to give any ApplicationContextInitializer that was itself an ApplicationListener an explicit callback with a ContextRefreshedEvent, and move that interface up a level in the logging initializer. Works much better.
-
- 20 Nov, 2013 15 commits
-
-
Christian Dupuis authored
Polish and rework default authentication method if a Spring Security AuthenticationManager is available In case a Spring Security AuthenticationManager is found in the app context the auto configuration will change default shell authentication method to auth against Spring Security. In addition shell access will get protected by the specific role configured in SecurityProperties.Management. Certainly this can be overridden by providing shell.auth and shell.auth.spring.roles.
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
Using containsBean() involves looking in the parent bean factory if there is one, and that would mean that the same report woykd be used for multiple contexts, which wouldn't make sense.
-
Dave Syer authored
-
Dave Syer authored
VCAP environemt applied consistently, and more tests. [Fixes #60750138] [bs-351] Add API for application context id
-
Dave Syer authored
The autoconfiguration transformations (and loads of grabs of spring-boot snapshots) were making the grab command tests run really slowly. Snapshots are particularly bad. Fixed by adding a --autoconfigure=false option to the compiler configuration and using it in that test.
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
- 19 Nov, 2013 7 commits
-
-
Andy Wilkinson authored
Previously, run --local could be used to collect a script's dependencies in ./repository. However, with this mechanism it wasn't possible to collect the dependencies without running the application. This commit adds a new command, grab, that can be used to collect a script's dependencies in ./repository without having to run it. run is configured with ./repository as a location in which it can find its dependencies so that the previously collected dependencies can be used when subsequently running the app. As part of this work RunCommand and TestCommand have been refactored to use common code for their common options: --no-guess-imports --no-guess-dependencies --classpath Previously, the declaration and handling of the options was duplicated in the two classes. GrabCommand also has these three options and uses the same common code.
-
nitram509 authored
TomcatEmbeddedServletContainer now fails fast, if there are exceptions during protocol handler startup (re-throw exception)
-
Dave Syer authored
Fixes gh-122
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
- 18 Nov, 2013 10 commits
-
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Christian Dupuis authored
Fixed inconsistency in method naming after last polish. Method and class name should use 'crsh' instead of 'crash' to be aligned with CRaSH code base. Implemented facility to provide custom shell properties by adding beans of type CrshShellProperties to the ApplicationContext.
-
Christian Dupuis authored
-
Andy Wilkinson authored
Previously, the automatic addition of the group and version to a @Grab annotation based on the module name would only work on standard import statements. This commit adds support for this functionality on wildcard imports, static imports and wildcard static imports. All of the following are now supported: @Grab('spring-core') import org.springframework.util.Assert @Grab('spring-core') import org.springframework.util.* @Grab('spring-core') import static org.springframework.util.Assert.isTrue @Grab('spring-core') import static org.springframework.util.Assert.*
-
Dave Syer authored
-
Dave Syer authored
SpringApplicationBuilder has to be careful not to overwrite the default initializers if user calls its initializers() method. Fixes gh-120.
-
- 17 Nov, 2013 3 commits
- 16 Nov, 2013 3 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-