Browse Source

Bump io-spring-javaformat from 0.0.42 to 0.0.43

Bumps `io-spring-javaformat` from 0.0.42 to 0.0.43.

Updates `io.spring.javaformat:spring-javaformat-checkstyle` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases)
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)

Updates `io.spring.javaformat:spring-javaformat-gradle-plugin` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases)
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)

---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.spring.javaformat:spring-javaformat-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

---
Manual updates:
- Adhere to rule where `@Deprecated` annotations and `@deprecated` javadoc comments MUST
  be used together

Signed-off-by: dependabot[bot] <support@github.com>
pull/15653/head
Daniel Garnier-Moiroux 1 year ago committed by Marcus Hert Da Coregio
parent
commit
2caf1fb6b4
  1. 1
      config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java
  2. 1
      core/src/main/java/org/springframework/security/access/method/MethodSecurityMetadataSource.java
  3. 1
      core/src/main/java/org/springframework/security/access/prepost/PrePostInvocationAttributeFactory.java
  4. 2
      gradle/libs.versions.toml
  5. 1
      ldap/src/main/java/org/springframework/security/ldap/LdapUtils.java
  6. 1
      ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java
  7. 2
      oauth2/oauth2-resource-server/src/test/java/org/springframework/security/oauth2/server/resource/authentication/JwtIssuerAuthenticationManagerResolverDeprecatedTests.java
  8. 2
      oauth2/oauth2-resource-server/src/test/java/org/springframework/security/oauth2/server/resource/authentication/JwtIssuerReactiveAuthenticationManagerResolverDeprecatedTests.java

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

@ -217,6 +217,7 @@ public final class Saml2LoginConfigurer<B extends HttpSecurityBuilder<B>>
* @since 6.0 * @since 6.0
* @deprecated Use {@link #authenticationRequestUriQuery} instead * @deprecated Use {@link #authenticationRequestUriQuery} instead
*/ */
@Deprecated
public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) { public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) {
return authenticationRequestUriQuery(authenticationRequestUri); return authenticationRequestUriQuery(authenticationRequestUri);
} }

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

@ -34,6 +34,7 @@ import org.springframework.security.authorization.AuthorizationManager;
* {@code <method-security>} and {@code <intercept-methods>} instead or use * {@code <method-security>} and {@code <intercept-methods>} instead or use
* annotation-based or {@link AuthorizationManager}-based authorization * annotation-based or {@link AuthorizationManager}-based authorization
*/ */
@Deprecated
public interface MethodSecurityMetadataSource extends SecurityMetadataSource { public interface MethodSecurityMetadataSource extends SecurityMetadataSource {
Collection<ConfigAttribute> getAttributes(Method method, Class<?> targetClass); Collection<ConfigAttribute> getAttributes(Method method, Class<?> targetClass);

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

@ -26,6 +26,7 @@ import org.springframework.security.authorization.AuthorizationManager;
* @see org.springframework.security.authorization.method.AuthorizationManagerAfterMethodInterceptor * @see org.springframework.security.authorization.method.AuthorizationManagerAfterMethodInterceptor
* @deprecated Use delegation with {@link AuthorizationManager} * @deprecated Use delegation with {@link AuthorizationManager}
*/ */
@Deprecated
public interface PrePostInvocationAttributeFactory extends AopInfrastructureBean { public interface PrePostInvocationAttributeFactory extends AopInfrastructureBean {
PreInvocationAttribute createPreInvocationAttribute(String preFilterAttribute, String filterObject, PreInvocationAttribute createPreInvocationAttribute(String preFilterAttribute, String filterObject,

2
gradle/libs.versions.toml

@ -1,7 +1,7 @@
[versions] [versions]
com-squareup-okhttp3 = "3.14.9" com-squareup-okhttp3 = "3.14.9"
io-rsocket = "1.1.4" io-rsocket = "1.1.4"
io-spring-javaformat = "0.0.42" io-spring-javaformat = "0.0.43"
io-spring-nohttp = "0.0.11" io-spring-nohttp = "0.0.11"
jakarta-websocket = "2.2.0" jakarta-websocket = "2.2.0"
org-apache-directory-server = "1.5.5" org-apache-directory-server = "1.5.5"

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

@ -101,6 +101,7 @@ public final class LdapUtils {
/** /**
* Gets the full dn of a name by prepending the name of the context it is relative to. * Gets the full dn of a name by prepending the name of the context it is relative to.
* If the name already contains the base name, it is returned unaltered. * If the name already contains the base name, it is returned unaltered.
* @deprecated Use {@link #getFullDn(LdapName, Context)}
*/ */
@Deprecated @Deprecated
public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException { public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException {

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

@ -287,6 +287,7 @@ public class LdapUserDetailsManager implements UserDetailsManager {
* Creates a DN from a group name. * Creates a DN from a group name.
* @param group the name of the group * @param group the name of the group
* @return the DN of the corresponding group, including the groupSearchBase * @return the DN of the corresponding group, including the groupSearchBase
* @deprecated
*/ */
@Deprecated @Deprecated
protected DistinguishedName buildGroupDn(String group) { protected DistinguishedName buildGroupDn(String group) {

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

@ -49,6 +49,8 @@ import static org.mockito.BDDMockito.verify;
/** /**
* Tests for {@link JwtIssuerAuthenticationManagerResolver} * Tests for {@link JwtIssuerAuthenticationManagerResolver}
*
* @deprecated Superseded by {@link JwtIssuerAuthenticationManagerResolverTests}
*/ */
@Deprecated @Deprecated
public class JwtIssuerAuthenticationManagerResolverDeprecatedTests { public class JwtIssuerAuthenticationManagerResolverDeprecatedTests {

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

@ -52,6 +52,8 @@ import static org.mockito.BDDMockito.verify;
/** /**
* Tests for {@link JwtIssuerReactiveAuthenticationManagerResolver} * Tests for {@link JwtIssuerReactiveAuthenticationManagerResolver}
*
* @deprecated Superseded by {@link JwtIssuerReactiveAuthenticationManagerResolverTests}
*/ */
@Deprecated @Deprecated
public class JwtIssuerReactiveAuthenticationManagerResolverDeprecatedTests { public class JwtIssuerReactiveAuthenticationManagerResolverDeprecatedTests {

Loading…
Cancel
Save