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
8a8b5d3a
Commit
8a8b5d3a
authored
Feb 23, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
df81b314
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
9 deletions
+15
-9
InMemoryAuditEventRepository.java
...work/boot/actuate/audit/InMemoryAuditEventRepository.java
+1
-1
InMemoryAuditEventRepositoryTests.java
...boot/actuate/audit/InMemoryAuditEventRepositoryTests.java
+1
-1
BootGlobalAuthenticationConfiguration.java
...igure/security/BootGlobalAuthenticationConfiguration.java
+9
-5
HelloWebSecurityApplication.java
...rld/src/main/java/sample/HelloWebSecurityApplication.java
+2
-1
HelloWebSecurityApplicationTests.java
...rc/test/java/sample/HelloWebSecurityApplicationTests.java
+1
-0
ConfigurableEmbeddedServletContainer.java
...ontext/embedded/ConfigurableEmbeddedServletContainer.java
+1
-1
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java
View file @
8a8b5d3a
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
5
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-actuator/src/test/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepositoryTests.java
View file @
8a8b5d3a
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
5
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-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/BootGlobalAuthenticationConfiguration.java
View file @
8a8b5d3a
...
...
@@ -29,17 +29,19 @@ import org.springframework.security.config.annotation.authentication.configurati
import
org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter
;
/**
* This works with the {@link AuthenticationConfiguration} to ensure that users are able
* to use:
* {@link GlobalAuthenticationConfigurerAdapter} to trigger early initialization of
* {@code @EnableAutoConfiguration} beans. This configuration is imported from
* {@link AuthenticationConfiguration} to ensure that users are able to configure the
* {@link AuthenticationManagerBuilder} from their {@code @EnableAutoConfiguration} or
* {@code @SpringBootApplication} configuration class:
*
* <pre>
* <pre class="code">
* @Autowired
* public void configureGlobal(AuthenticationManagerBuilder auth) {
* ...
* }
* </pre>
*
* within their classes annotated with {@link EnableAutoConfiguration}.
*
* @author Rob Winch
* @since 1.1.11
*/
...
...
@@ -73,5 +75,7 @@ public class BootGlobalAuthenticationConfiguration {
logger
.
debug
(
"Eagerly initializing "
+
beansWithAnnotation
);
}
}
}
}
spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/main/java/sample/HelloWebSecurityApplication.java
View file @
8a8b5d3a
...
...
@@ -36,4 +36,5 @@ public class HelloWebSecurityApplication {
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
HelloWebSecurityApplication
.
class
,
args
);
}
}
\ No newline at end of file
}
spring-boot-security-tests/spring-boot-security-tests-web-helloworld/src/test/java/sample/HelloWebSecurityApplicationTests.java
View file @
8a8b5d3a
...
...
@@ -74,4 +74,5 @@ public class HelloWebSecurityApplicationTests {
assertThat
(
this
.
response
.
getStatus
(),
equalTo
(
HttpServletResponse
.
SC_OK
));
}
}
spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java
View file @
8a8b5d3a
/*
* Copyright 2012-201
4
the original author or authors.
* Copyright 2012-201
5
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.
...
...
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