Rob Winch
e68657216c
Fixes for SPR-16624
...
Fixes: gh-5165
8 years ago
Rob Winch
0458ca88e6
Relax assertions in HeaderSpecTests
...
Fixes: gh-5117
8 years ago
Rob Winch
a7a71d6cef
Fix @since on GlobalAuthenticationConfigurerAdapter
...
Fixes: gh-5109
8 years ago
Josh Cummings
1ed51033cc
Migrate config-debug groovy->java
...
All tests in `org.springframework.security.config.debug` are migrated.
Note that `SecurityDebugBeanFactoryPostProceessorTest` preserves the original structure-verifying strategy used in the Groovy test. Verifying debug behavior turns out to be fairly tricky since being behaviorally invisible is in its nature.
Issue: gh-4939
8 years ago
Josh Cummings
1b69c62d20
PortMapperConfigurerTests groovy->java
...
Issue: gh-4939
8 years ago
Josh Cummings
e08d4cc90c
AnonymousConfigurerTests groovy->java
...
This test now checks key and principal both, which differs from the original Groovy test
In order to keep from needing to execute logic internal to `AnonymousAuthenticationToken`, this test changed from the original Groovy test. In the Groovy test, `key` is tested; however in this new test, `principal` is tested instead.
A concern was raised that if `AnonymousAuthenticationProvider` were invoked in this test, then testing only `principal` would not confirm that `key` was correctly propagated to `AnonymousAuthenticationProvider`. So, the test now configures both `key` and `principal`. The former to confirm correct wiring of `AnonymousAuthenticationProvider` and the latter to confirm correct wiring of `AnonymousAuthenticationFilter`.
Issue: gh-4939
8 years ago
Josh Cummings
bb59733736
Sec2377Tests groovy->java
...
Issue: gh-4939
8 years ago
Joe Grandja
dc9248e73c
NamespaceHttpTests groovy->java
...
Issue: gh-4939
8 years ago
Joe Grandja
fded710e04
HttpConfigurationTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
210a510bba
Use HttpFirewall Bean
...
Fixes: gh-5022
8 years ago
Joe Grandja
52b5423b75
WebSecurityConfigurerAdapterTests groovy->java
...
Issue: gh-4939
8 years ago
Joe Grandja
7fc88a391f
SampleWebSecurityConfigurerAdapterTests groovy->java
...
Issue: gh-4939
8 years ago
Joe Grandja
c31c1a4616
AbstractConfiguredSecurityBuilderTests -> remove use of reflection
...
Issue gh-4939
8 years ago
Rob Winch
780c9dd455
Fix GlobalMethodSecurityConfigurationTests checkstyle
...
Issue: gh-4939
8 years ago
Rob Winch
8b6e77e5ab
Fix SpringTestContext checkstyle
...
Issue: gh-5015
8 years ago
Rob Winch
6af1ac08db
GlobalMethodSecurityConfigurationTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
6c52eb6ee1
MethodSecurityService add additional methods
...
Fixes: gh-5016
8 years ago
Rob Winch
ca5fb78ee1
Authz check(boolean result)
...
Issue: gh-5016
8 years ago
Rob Winch
1ad57adccc
SpringTestContext allow setting Context
...
Fixes: gh-5015
8 years ago
Rob Winch
49e5b15ce2
Extract MockEventListener
...
Fixes: gh-5014
8 years ago
Rob Winch
ce5fb51b20
Remove Mono.defer in ReactorContextWebFilter
...
Fixes: gh-5010
8 years ago
Rob Winch
964a14b224
Document Reactive Method security requires Publisher return types
...
Fixes: gh-4988
8 years ago
Rob Winch
ea3dd336aa
Cache headers only if no cache headers set
...
Fixes: gh-5004
8 years ago
Rob Winch
2165cc72ef
BaseAuthenticationConfig groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
2c519b7e74
NamespaceGlobalMethodSecurityTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
9587f3280e
MethodSecurityServiceImpl groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
751130ba04
MethodSecurityService groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
9e23d684e7
Polish Imports in SpringTestRule
...
Fixes: gh-5001
8 years ago
Rob Winch
73f5e89e4c
SpringTestRule clears SecurityContext
...
Fixes: gh-5001
8 years ago
Rob Winch
1efc7ef5d7
Issue50Tests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
d12d9ba538
SecurityConfig groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
9e3e7e9e29
ApplicationConfig groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
11c8d5ddfb
UserRepository groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
1217547ebd
User groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
12bd506ee7
AutowireBeanFactoryObjectPostProcessorTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
eb6d84eb36
MyAdvisedBean groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
3cb06ec581
AroundMethodInterceptor groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
9df708dbba
Add SpringTestRule.testConfigLocations
...
Fixes: gh-5000
8 years ago
Rob Winch
0d92adf1be
PasswordEncoderConfigurerTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
886bfa3daa
NamespacePasswordEncoderTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
70db508218
NamespaceJdbcUserServiceTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
a0918dd6d4
NamespaceAuthenticationProviderTests groovy->java
...
Issue: gh-4939
8 years ago
Rob Winch
959f689e4e
NamespaceAuthenticationManagerTests groovy->java
...
Issue: gh-4939
8 years ago
Joe Grandja
1cb581a0c6
AbstractConfiguredSecurityBuilderTests, AbstractRequestMatcherRegistryTests -> .java
...
Issue gh-4939
8 years ago
Rob Winch
87a216a6e6
AuthenticationManagerBuilderTests -> .java
...
Issue: gh-4939
8 years ago
Rob Winch
8d96e83767
Fix checkstyle
8 years ago
Rob Winch
e5d40c0599
AuthenticationConfigurationTests -> java
...
Issue: gh-4939
8 years ago
Rob Winch
0eef5b4b42
Add StrictHttpFirewall
8 years ago
Joe Grandja
900ab1df81
Add javadoc for the OAuth 2.0 Security Configurer's
...
Fixes gh-4972
8 years ago
Joe Grandja
84679a5d64
Polish #4904 Support GrantedAuthoritiesMapper @Bean for oauth2Login
8 years ago