|
|
|
|
@ -173,6 +173,8 @@ import org.springframework.security.oauth2.server.resource.introspection.OAuth2I
@@ -173,6 +173,8 @@ import org.springframework.security.oauth2.server.resource.introspection.OAuth2I
|
|
|
|
|
import org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionException; |
|
|
|
|
import org.springframework.security.saml2.Saml2Exception; |
|
|
|
|
import org.springframework.security.saml2.core.Saml2Error; |
|
|
|
|
import org.springframework.security.saml2.core.Saml2X509Credential; |
|
|
|
|
import org.springframework.security.saml2.credentials.TestSaml2X509Credentials; |
|
|
|
|
import org.springframework.security.saml2.provider.service.authentication.DefaultSaml2AuthenticatedPrincipal; |
|
|
|
|
import org.springframework.security.saml2.provider.service.authentication.Saml2Authentication; |
|
|
|
|
import org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException; |
|
|
|
|
@ -181,6 +183,9 @@ import org.springframework.security.saml2.provider.service.authentication.Saml2R
@@ -181,6 +183,9 @@ import org.springframework.security.saml2.provider.service.authentication.Saml2R
|
|
|
|
|
import org.springframework.security.saml2.provider.service.authentication.TestSaml2Authentications; |
|
|
|
|
import org.springframework.security.saml2.provider.service.authentication.TestSaml2PostAuthenticationRequests; |
|
|
|
|
import org.springframework.security.saml2.provider.service.authentication.TestSaml2RedirectAuthenticationRequests; |
|
|
|
|
import org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration; |
|
|
|
|
import org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails; |
|
|
|
|
import org.springframework.security.saml2.provider.service.registration.TestRelyingPartyRegistrations; |
|
|
|
|
import org.springframework.security.web.PortResolverImpl; |
|
|
|
|
import org.springframework.security.web.authentication.WebAuthenticationDetails; |
|
|
|
|
import org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken; |
|
|
|
|
@ -490,6 +495,11 @@ class SpringSecurityCoreVersionSerializableTests {
@@ -490,6 +495,11 @@ class SpringSecurityCoreVersionSerializableTests {
|
|
|
|
|
(r) -> TestSaml2PostAuthenticationRequests.create()); |
|
|
|
|
generatorByClassName.put(Saml2RedirectAuthenticationRequest.class, |
|
|
|
|
(r) -> TestSaml2RedirectAuthenticationRequests.create()); |
|
|
|
|
generatorByClassName.put(Saml2X509Credential.class, |
|
|
|
|
(r) -> TestSaml2X509Credentials.relyingPartyVerifyingCredential()); |
|
|
|
|
generatorByClassName.put(AssertingPartyDetails.class, |
|
|
|
|
(r) -> TestRelyingPartyRegistrations.full().build().getAssertingPartyMetadata()); |
|
|
|
|
generatorByClassName.put(RelyingPartyRegistration.class, (r) -> TestRelyingPartyRegistrations.full().build()); |
|
|
|
|
|
|
|
|
|
// web
|
|
|
|
|
generatorByClassName.put(AnonymousAuthenticationToken.class, (r) -> { |
|
|
|
|
|