Skip to content

Commit 620081e

Browse files
committed
Deprecate Saml2 AuthnRequest Classes
Issue gh-10355
1 parent d538423 commit 620081e

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestContext.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,11 @@
2828
* @since 5.3
2929
* @see Saml2AuthenticationRequestFactory#createPostAuthenticationRequest(Saml2AuthenticationRequestContext)
3030
* @see Saml2AuthenticationRequestFactory#createRedirectAuthenticationRequest(Saml2AuthenticationRequestContext)
31+
* @deprecated Use
32+
* {@link org.springframework.security.saml2.provider.service.web.authentication.Saml2AuthenticationRequestResolver}
33+
* instead
3134
*/
35+
@Deprecated
3236
public class Saml2AuthenticationRequestContext {
3337

3438
private final RelyingPartyRegistration relyingPartyRegistration;

saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/DefaultSaml2AuthenticationRequestContextResolver.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,7 +35,11 @@
3535
* @author Shazin Sadakath
3636
* @author Josh Cummings
3737
* @since 5.4
38+
* @deprecated Use
39+
* {@link org.springframework.security.saml2.provider.service.web.authentication.Saml2AuthenticationRequestResolver}
40+
* instead
3841
*/
42+
@Deprecated
3943
public final class DefaultSaml2AuthenticationRequestContextResolver
4044
implements Saml2AuthenticationRequestContextResolver {
4145

saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/Saml2AuthenticationRequestContextResolver.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,11 @@
2828
* @author Shazin Sadakath
2929
* @author Josh Cummings
3030
* @since 5.4
31+
* @deprecated Use
32+
* {@link org.springframework.security.saml2.provider.service.web.authentication.Saml2AuthenticationRequestResolver}
33+
* instead
3134
*/
35+
@Deprecated
3236
public interface Saml2AuthenticationRequestContextResolver {
3337

3438
/**

saml2/saml2-service-provider/src/opensaml4Main/java/org/springframework/security/saml2/provider/service/authentication/OpenSaml4AuthenticationRequestFactory.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -47,7 +47,11 @@
4747
*
4848
* @author Josh Cummings
4949
* @since 5.5
50+
* @deprecated Use
51+
* {@link org.springframework.security.saml2.provider.service.web.authentication.OpenSaml4AuthenticationRequestResolver}
52+
* instead
5053
*/
54+
@Deprecated
5155
public final class OpenSaml4AuthenticationRequestFactory implements Saml2AuthenticationRequestFactory {
5256

5357
static {

0 commit comments

Comments
 (0)