Skip to content

Commit 912062d

Browse files
Merge branch '6.2.x' into 6.3.x
2 parents cb5cb5f + 79fb011 commit 912062d

File tree

8 files changed

+10
-1
lines changed

8 files changed

+10
-1
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ public Saml2LoginConfigurer<B> authenticationRequestResolver(
197197
* @return the {@link Saml2LoginConfigurer} for further configuration
198198
* @since 6.0
199199
*/
200+
@Deprecated
200201
public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) {
201202
Assert.state(authenticationRequestUri.contains("{registrationId}"),
202203
"authenticationRequestUri must contain {registrationId} path variable");

core/src/main/java/org/springframework/security/access/method/MethodSecurityMetadataSource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
* {@code <method-security>} and {@code <intercept-methods>} instead or use
3535
* annotation-based or {@link AuthorizationManager}-based authorization
3636
*/
37+
@Deprecated
3738
public interface MethodSecurityMetadataSource extends SecurityMetadataSource {
3839

3940
Collection<ConfigAttribute> getAttributes(Method method, Class<?> targetClass);

core/src/main/java/org/springframework/security/access/prepost/PrePostInvocationAttributeFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @see org.springframework.security.authorization.method.AuthorizationManagerAfterMethodInterceptor
2727
* @deprecated Use delegation with {@link AuthorizationManager}
2828
*/
29+
@Deprecated
2930
public interface PrePostInvocationAttributeFactory extends AopInfrastructureBean {
3031

3132
PreInvocationAttribute createPreInvocationAttribute(String preFilterAttribute, String filterObject,

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
com-squareup-okhttp3 = "3.14.9"
33
io-rsocket = "1.1.4"
4-
io-spring-javaformat = "0.0.42"
4+
io-spring-javaformat = "0.0.43"
55
io-spring-nohttp = "0.0.11"
66
jakarta-websocket = "2.1.1"
77
org-apache-directory-server = "1.5.5"

ldap/src/main/java/org/springframework/security/ldap/LdapUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public static String getRelativeName(String fullDn, Context baseCtx) throws Nami
9797
/**
9898
* Gets the full dn of a name by prepending the name of the context it is relative to.
9999
* If the name already contains the base name, it is returned unaltered.
100+
* @deprecated Use {@link #getFullDn(LdapName, Context)}
100101
*/
101102
public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException {
102103
DistinguishedName baseDn = new DistinguishedName(baseCtx.getNameInNamespace());

ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ public boolean userExists(String username) {
284284
* Creates a DN from a group name.
285285
* @param group the name of the group
286286
* @return the DN of the corresponding group, including the groupSearchBase
287+
* @deprecated
287288
*/
288289
protected DistinguishedName buildGroupDn(String group) {
289290
DistinguishedName dn = new DistinguishedName(this.groupSearchBase);

oauth2/oauth2-resource-server/src/test/java/org/springframework/security/oauth2/server/resource/authentication/JwtIssuerAuthenticationManagerResolverDeprecatedTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949

5050
/**
5151
* Tests for {@link JwtIssuerAuthenticationManagerResolver}
52+
*
53+
* @deprecated Superseded by {@link JwtIssuerAuthenticationManagerResolverTests}
5254
*/
5355
@Deprecated
5456
public class JwtIssuerAuthenticationManagerResolverDeprecatedTests {

oauth2/oauth2-resource-server/src/test/java/org/springframework/security/oauth2/server/resource/authentication/JwtIssuerReactiveAuthenticationManagerResolverDeprecatedTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252

5353
/**
5454
* Tests for {@link JwtIssuerReactiveAuthenticationManagerResolver}
55+
*
56+
* @deprecated Superseded by {@link JwtIssuerReactiveAuthenticationManagerResolverTests}
5557
*/
5658
@Deprecated
5759
public class JwtIssuerReactiveAuthenticationManagerResolverDeprecatedTests {

0 commit comments

Comments
 (0)