Andy Wilkinson
9d28238598
Update formatting of spring-boot-samples
7 years ago
Andy Wilkinson
8f1be4cded
Upgrade to spring-javaformat 0.0.11
7 years ago
Phillip Webb
f12ab1ff90
Update copyright header of changed files
7 years ago
Andy Wilkinson
0e009ef047
Use HTTPS to link to the Apache license
7 years ago
Phillip Webb
adfb6dc128
Polish
8 years ago
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
8 years ago
Madhura Bhave
47ed096981
Make default username and password configurable
...
Closes gh-10963
8 years ago
Andy Wilkinson
66b55defa0
Adapt to password encoder changes in Spring Security
...
Closes gh-10762
8 years ago
Madhura Bhave
e08ddbf838
Rework security autoconfiguration
...
This commit combines security autoconfigurations for
management endpoints and the rest of the application. By default,
if Spring Security is on the classpath, it turns on @EnableWebSecurity .
In the presence of another WebSecurityConfigurerAdapter this backs off
completely. A default AuthenticationManager is also provided with a user
and generated password. This can be turned off by specifying a bean of
type AuthenticationManager, AuthenticationProvider or UserDetailsService.
Closes gh-7958
9 years ago
Phillip Webb
06558675bb
Polish
9 years ago
Madhura Bhave
c2e5fd031a
Replace usage of WebMvcConfigurerAdapter
...
Closes gh-8964
9 years ago
Andy Wilkinson
46e03529fb
Remove redundant bean declarations from some of the security samples
...
Closes gh-6740
10 years ago
Andy Wilkinson
3348ed5bb3
Make use of new GetMapping and PostMapping annotations
...
Closes gh-5277
10 years ago
Phillip Webb
95c4cdbedc
Fix packages and annotations used in sample
...
Update a few of the samples to correct the packages used in tests and
to make use of the `@SpringBootApplication` annotation.
10 years ago
Phillip Webb
aae38db9af
Fix compiler warnings only shown in Eclipse Mars
10 years ago
Rob Baily
3c50386970
Fix logout in sample secure web applications
...
Fixes gh-1536
11 years ago
Phillip Webb
61fc4f3f12
Polish copyright headers
11 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
11 years ago