Skip to content

Commit b92ed92

Browse files
Kehrlannmarcusdacoregio
authored andcommitted
Fix checkstyle errors with @deprecated
1 parent 79fb011 commit b92ed92

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ public Saml2LoginConfigurer<B> authenticationRequestResolver(
197197
* @return the {@link Saml2LoginConfigurer} for further configuration
198198
* @since 6.0
199199
*/
200-
@Deprecated
201200
public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) {
202201
Assert.state(authenticationRequestUri.contains("{registrationId}"),
203202
"authenticationRequestUri must contain {registrationId} path variable");

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

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ 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)}
101100
*/
102101
public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException {
103102
DistinguishedName baseDn = new DistinguishedName(baseCtx.getNameInNamespace());

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

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ public boolean userExists(String username) {
286286
* @return the DN of the corresponding group, including the groupSearchBase
287287
* @deprecated
288288
*/
289+
@Deprecated
289290
protected DistinguishedName buildGroupDn(String group) {
290291
DistinguishedName dn = new DistinguishedName(this.groupSearchBase);
291292
dn.add(this.groupRoleAttributeName, group.toLowerCase());

0 commit comments

Comments
 (0)