Merge branch '6.2.x' into 6.3.x

This commit is contained in:
Marcus Hert Da Coregio 2024-08-19 09:11:10 -03:00
commit 912062d307
8 changed files with 10 additions and 1 deletions

View File

@ -197,6 +197,7 @@ public final class Saml2LoginConfigurer<B extends HttpSecurityBuilder<B>>
* @return the {@link Saml2LoginConfigurer} for further configuration
* @since 6.0
*/
@Deprecated
public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) {
Assert.state(authenticationRequestUri.contains("{registrationId}"),
"authenticationRequestUri must contain {registrationId} path variable");

View File

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

View File

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

View File

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

View File

@ -97,6 +97,7 @@ public final class LdapUtils {
/**
* 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.
* @deprecated Use {@link #getFullDn(LdapName, Context)}
*/
public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException {
DistinguishedName baseDn = new DistinguishedName(baseCtx.getNameInNamespace());

View File

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

View File

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

View File

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