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
|
* @return the {@link Saml2LoginConfigurer} for further configuration
|
||||||
* @since 6.0
|
* @since 6.0
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) {
|
public Saml2LoginConfigurer<B> authenticationRequestUri(String authenticationRequestUri) {
|
||||||
Assert.state(authenticationRequestUri.contains("{registrationId}"),
|
Assert.state(authenticationRequestUri.contains("{registrationId}"),
|
||||||
"authenticationRequestUri must contain {registrationId} path variable");
|
"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.
|
* 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)}
|
|
||||||
*/
|
*/
|
||||||
public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException {
|
public static DistinguishedName getFullDn(DistinguishedName dn, Context baseCtx) throws NamingException {
|
||||||
DistinguishedName baseDn = new DistinguishedName(baseCtx.getNameInNamespace());
|
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
|
* @return the DN of the corresponding group, including the groupSearchBase
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
protected DistinguishedName buildGroupDn(String group) {
|
protected DistinguishedName buildGroupDn(String group) {
|
||||||
DistinguishedName dn = new DistinguishedName(this.groupSearchBase);
|
DistinguishedName dn = new DistinguishedName(this.groupSearchBase);
|
||||||
dn.add(this.groupRoleAttributeName, group.toLowerCase());
|
dn.add(this.groupRoleAttributeName, group.toLowerCase());
|
||||||
|
|
Loading…
Reference in New Issue