Fix checkstyle errors with @Deprecated

This commit is contained in:
Daniel Garnier-Moiroux 2024-08-13 15:22:36 +02:00 committed by Marcus Hert Da Coregio
parent 79fb0113c8
commit b92ed92548
3 changed files with 1 additions and 2 deletions

View File

@ -197,7 +197,6 @@ 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

@ -97,7 +97,6 @@ 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

@ -286,6 +286,7 @@ public class LdapUserDetailsManager implements UserDetailsManager {
* @return the DN of the corresponding group, including the groupSearchBase
* @deprecated
*/
@Deprecated
protected DistinguishedName buildGroupDn(String group) {
DistinguishedName dn = new DistinguishedName(this.groupSearchBase);
dn.add(this.groupRoleAttributeName, group.toLowerCase());