Rob Winch
10394c8f2a
OTT Tests use Mocks Instead of Comparing Expires
...
Previously, expires was compared to test if a custom implementations
were used. Now the tests verify this through mocks.
Closes gh-16515
1 year ago
Josh Cummings
4b5bacf71a
Make Saml2AuthenticationToken Serializable
...
Issue gh-16286
1 year ago
Tran Ngoc Nhan
e50415de85
Make RelyingPartyRegistration Serializable
...
Closes gh-16286
1 year ago
Josh Cummings
28615e7f64
Remove Stray Import
1 year ago
Rob Winch
a841737941
Use credPropsField.getType()
...
Using the type from a field retains generics information.
Issue gh-16432
1 year ago
Max Batischev
c7bc4c98db
Make PublicKeyCredentialRequestOptions Serializable
...
Closes gh-16432
Signed-off-by: Max Batischev <mblancer@mail.ru>
1 year ago
Josh Cummings
e1e5970a24
Support Serialization for LDAP Components
...
Issue gh-16276
1 year ago
Josh Cummings
36716d12ba
Serialization Support of Core Components
...
Issue gh-16276
1 year ago
Josh Cummings
d7921daa13
Support Serialization for SecurityConfig
...
Issue gh-16276
1 year ago
Josh Cummings
d043884e32
Support Serialization
...
Issue gh-16276
1 year ago
Tran Ngoc Nhan
e557c7227b
Implement Serializable for WebAuthnAuthentication
...
Closes gh-16273
Closes gh-16285
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 year ago
Rob Winch
751b5580a1
TestOneTimeTokenGenerationSuccessHandler.lastToken to non-static variable
...
Previously there were race conditions on the static member lastToken of
TestOneTimeTokenGenerationSuccessHandler. This is because the tests run in
parallel and one test may override the other tests lastToken and thus
make the assertion on it incorrect.
This commit changes lastToken to be a non-static variable to ensure that
each test has it's own lastToken for asserting the expected value.
Closes gh-16471
1 year ago
Max Batischev
474b5e151a
Add Support GenerateOneTimeTokenRequestResolver
...
Closes gh-16291
Signed-off-by: Max Batischev <mblancer@mail.ru>
1 year ago
Steve Riesenberg
211fa52649
Favor provided instances over shared objects
...
Prior to this commit, providing oauth2Login() and oauth2Client() with
clientRegistrationRepository() and authorizedClientRepository() caused
objects to be shared across both configurers.
These configurers will now prefer explicitly provided instances of
those objects when they are available.
Closes gh-16105
1 year ago
Rob Winch
68c8a5ad99
Remove debug test
...
Issue gh-16443
1 year ago
Daniel Garnier-Moiroux
028c212be4
fix flakey test in WebAuthnWebDriverTests
...
Closes gh-16463
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
1 year ago
Rob Winch
4ee9358900
Add serializeAndDeserializeAreEqual
...
Checks that serialization/deserialization can be performed.
Issue gh-16443
1 year ago
Tran Ngoc Nhan
e5ea75f7f4
Implement Serial
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 year ago
Rob Winch
a2abe3c33e
Add HttpMessageConverter WebAuthnDsl Support
...
Issue gh-16397
1 year ago
Rob Winch
4314e68329
Add WebAuthenticationDsl.creationOptionsRepository
...
Issue gh-16396
1 year ago
Rob Winch
bea232237f
Fix whitespace
1 year ago
DingHao
f4491f388e
Set PublicKeyCredentialCreationOptionsRepository by DSL or Bean
...
Closes gh-16369
Signed-off-by: DingHao <dh.hiekn@gmail.com>
1 year ago
Rob Winch
5462b4c358
webauthnWhenConfiguredMessageConverter uses mock
...
Issue gh-16397
1 year ago
Rob Winch
0d4f786484
Fix WebAuthnConfigurer Javadoc
...
Issue gh-16397
1 year ago
DingHao
8181cec06c
Set HttpMessageConverter by DSL
...
Closes gh-16369
Signed-off-by: DingHao <dh.hiekn@gmail.com>
1 year ago
Josh Cummings
bbe4f87641
Mark Serialization Support for Events
...
Issue gh-16276
1 year ago
Max Batischev
17fb4d1c0d
Fixed typo in WebAuthnDsl
...
Signed-off-by: Max Batischev <mblancer@mail.ru>
1 year ago
Josh Cummings
443af32314
Move Servlet Mocks to Web
...
Issue gh-13551
1 year ago
Josh Cummings
8827b2e564
Polish Using Request ServletContext
...
Issue gh-14418
1 year ago
Josh Cummings
75a35793dc
Polish requestMatchers Logic
...
Issue gh-13551
1 year ago
Josh Cummings
244fd2eb51
Support Serialization in Exceptions
...
Issue gh-16276
1 year ago
Josh Cummings
feea103050
Formatting
...
Issue gh-16276
1 year ago
Josh Cummings
6f379aa907
Add Serializable to Csrf Components
...
Issue gh-16276
1 year ago
Max Batischev
7fae738a9b
Add support fullyAuthenticated to Kotlin DSL
...
Closes gh-16162
1 year ago
Max Batischev
decf4def95
Add Support disableDefaultRegistrationPage to WebAuthnDsl
...
Closes gh-16395
Signed-off-by: Max Batischev <mblancer@mail.ru>
1 year ago
Max Batischev
882766e54f
Fix Kotlin webAuthn {}
...
Fixes the default configuration for WebAuthn Kotlin DSL
Closes gh-16338
Signed-off-by: Max Batischev <mblancer@mail.ru>
1 year ago
Max Batischev
bf9b95a481
Add Support OAuth2AuthorizationRequestResolver As Bean
...
Closes gh-16380
Signed-off-by: Max Batischev <mblancer@mail.ru>
1 year ago
Rob Winch
72a2831f76
CustomBeanPostProcessor -> CountHttpSecurityBeanPostProcessor
...
Issue gh-16370
Signed-off-by: Rob Winch <362503+rwinch@users.noreply.github.com>
1 year ago
DingHao
c631afcf5b
Avoid unnecessary instantiation of HttpSecurity when a SecurityFilterChain bean is provided
...
Signed-off-by: DingHao <dh.hiekn@gmail.com>
1 year ago
DingHao
6cfc372f70
Polish remove unused code
...
Signed-off-by: DingHao <dh.hiekn@gmail.com>
1 year ago
DingHao
5937ba9a06
Polish use getBeanProvider instead of getBeanNamesForType
1 year ago
Josh Cummings
9ae432f0d2
Add Filter Chain Validation Test
...
Issue gh-15982
1 year ago
Max Batischev
624a8fb252
Add Alerting About Deprecated Authorize Config
...
Closes gh-16213
1 year ago
Max Batischev
e257af8854
Add Support Same Request Matchers Checking
...
Closes gh-15982
1 year ago
Max Batischev
e9bdb5b96e
Polish SecurityFilterChain Validation
...
Issue gh-15982
1 year ago
Josh Cummings
643a3f1206
Test Setting logoutRequestRepository
...
Issue gh-16093
1 year ago
Steven Williams
7aafe2ed5a
Set Saml2RelyingPartyInitiatedLogoutSuccessHandler#logoutRequestRepository
...
Closes gh-16093
1 year ago
Josh Cummings
1104b45832
Polish SessionLimit
...
- Move to the web.authentication.session package since it is only needed
by web.authentication.session elements and does not access any other web
element itself.
- Add Kotlin support
- Add documentation
Issue gh-16206
1 year ago
Claudenir Machado
1864577e98
Address SessionLimitStrategy
...
Closes gh-16206
1 year ago
Josh Cummings
3eeb4317f6
Add setFavorRelativeUris
...
This places the new functionality behind a setting so that
we can remain passive until we can change the setting in
the next major release.
Issue gh-7273
1 year ago