Fix checkstyle errors with @Deprecated
This commit is contained in:
parent
79fb0113c8
commit
b92ed92548
|
@ -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");
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue